Initial Commit
[packages] / xemacs-packages / mmm-mode / ChangeLog-upstream
1 2004-06-16  Alan Shutko  <ats@acm.org>
2
3         * version.texi: Release 0.4.8.
4
5         * mmm-vars.el: Release 0.4.8.
6
7         * mmm-mode.el: Release 0.4.8.
8
9         * mmm-noweb.el (mmm-syntax-region-list)
10         (mmm-syntax-other-regions, mmm-word-other-regions)
11         (mmm-space-other-regions, mmm-undo-syntax-other-regions): Added
12         from Joe's email.  They're here right now, until a better place
13         can be found.
14
15         * configure.in: Incr version for release.
16
17 2004-06-10  Alan Shutko  <ats@acm.org>
18
19         * mmm-class.el (mmm-ify): Change defaults for front-delim and
20         back-delim to nil.  0 was breaking the no-delimiter case in
21         mmm-match-region.
22
23 2004-06-02  Alan Shutko  <ats@acm.org>
24
25         * mmm-sample.el (html-js): Support JS version in language attribute.
26
27 2004-06-01  Alan Shutko  <ats@acm.org>
28
29         * mmm-vars.el (mmm-save-local-variables): Updated cc-mode local
30         variables.
31         
32         * Makefile.am (lisp_LISP): Removed mmm-php.el, since it doesn't
33         appear to be in CVS.
34
35         * missing: Updated for automake 1.7.9.
36
37 2003-10-18  Alan Shutko  <ats@acm.org>
38
39         * mmm-vars.el (mmm-save-local-variables): Add semantic stuff and
40         c-syntactic-eol.
41
42 2003-03-25  Michael A. Shulman  <viritrilbia@users.sourceforge.net>
43
44         * mmm-mode.spec: Added file for building SRPMs, from bishop
45
46         * autogen.sh: Added file for building from CVS
47
48 2003-03-22  Michael A. Shulman  <viritrilbia@users.sourceforge.net>
49
50         * mmm-sample.el (html-php): Added new submode class.
51         (eperl): Corrected, added comment detection.
52
53         * mmm-cmds.el (mmm-insert-by-key): Added undo collapsing.
54
55 2003-03-09  Michael A. Shulman  <viritrilbia@users.sourceforge.net>
56
57         * mmm-vars.el (mmm-set-mode-line): Added support for "buffer mode"
58         display name.
59
60         * mmm-cmds.el (mmm-insert-by-key): Match and calculate names, and
61         store front and back positions for delimiter overlays.
62
63         * mmm-mason.el: Added match-name parameter.
64
65         * mmm-sample.el: Added delimiter-mode and match-name parameters.
66
67         * mmm-region.el: Restructured current-overlay functions.
68         (mmm-make-region, mmm-make-overlay, mmm-get-face): Create
69         delimiter overlays with modes and faces, add display-name and name
70         parameters, and handle evaporation intelligently.
71         (mmm-front-start, mmm-back-end, etc.): Use delimiter overlays.
72         (mmm-update-current-submode): Delete overlays whose front
73         delimiter has evaporated.
74
75         * mmm-class.el (mmm-ify, mmm-match-region): Added matching for
76         region names.
77
78         * mmm-vars.el (mmm-delimiter-mode, mmm-delimiter-face): Added.
79
80 2003-03-08  Michael A. Shulman  <viritrilbia@users.sourceforge.net>
81
82         * mmm-region.el (mmm-clear-overlays): Fixed bug so turning mmm
83         mode off now restores primary mode correctly.
84
85 2003-03-03  Michael A. Shulman  <viritrilbia@users.sourceforge.net>
86
87         * mmm-noweb.el (mmm-noweb-bind-keys): Implemented a "local to
88         submode class" keymap binding.
89
90         * mmm-vars.el (mmm-set-mode-line): Used correct name for variable.
91
92 2003-03-02  Michael A. Shulman  <viritrilbia@users.sourceforge.net>
93
94         * mmm-mode.el (mmm-mode): Removed ancient docstring, which had
95         references to long-deprecated and removed functions.  The info
96         file is now the official user reference.
97
98         * mmm-region.el (mmm-update-submode-region): Run hooks specified
99         by the region being entered, or the dominant if not.
100
101         * mmm-vars.el (mmm-primary-mode-entry-hook): Added variable.
102
103         * mmm-vars.el (mmm-subregion-invalid-placement): Renamed from
104         mmm-subregion-crosses-parents.
105         (mmm-primary-mode-display-name): Added variable.
106         (mmm-set-mode-line): Added function to allow display of specified
107         names outside regions.
108
109         * mmm-region.el (mmm-valid-submode-region): Corrected algorithm,
110         improved documentation, renamed error.
111
112 2003-02-05  Joe Kelsey  <joe@zircon.seattle.wa.us>
113         
114         * mmm-vars.el (mmm-add-to-group): New function mmm-add-to-group
115         adds new private classes to an existing group.
116
117         * mmm.texinfo (Noweb): Add documentation about noweb mode.
118
119         * mmm-auto.el (mmm-autoloaded-classes): Add noweb to
120         autoloaded classes.
121
122         * mmm-noweb.el: Modified chunk naming to give noweb-chunks
123         different names so that they will be indented independently.
124
125         * mmm-sample.el: Make html-js look for language= or type=
126         attributes because you may have other script types.
127         
128 2003-01-30  Joe Kelsey  <joe@zircon.seattle.wa.us>
129
130         * Makefile.am: Add mmm-cweb.el, mmm-php.el and mmm-noweb.el
131
132         * mmm-noweb.el: Add support for noweb.
133
134         * mmm-class.el (mmm-ify, mmm-make-region): Add support for setting
135         the NAME property on regions.
136
137         * mmm-cmds.el (mmm-insert-by-key): Add support for setting the
138         NAME property on inserts.
139
140 2002-11-11  Alan Shutko  <ats@acm.org>
141
142         * .cvsignore: Add semantic.cache.
143
144         * mmm-vars.el (mmm-save-local-variables): Update C variables to
145         save, based on Emacs CVS.
146
147         * mmm-cweb.el (cweb): Tweaked indentation.  Add cweb to the 
148
149 2001-05-16  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
150
151         * mmm-mode.el (mmm-mode-on): Make style variables buffer-local.
152           Continue on all MMM errors.
153
154         * mmm-vars.el (mmm-save-local-variables): Added all c-modes
155           indentation style variables.
156
157         * mmm-auto.el, mmm-sample.el:
158         Added `sgml-dtd' submode class from Yann Dirson <ydirson@fr.alcove.com>.
159
160 2001-05-15  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
161
162         * mmm-auto.el: Added cweb to autoloaded classes.
163
164 2001-05-14  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
165
166         * mmm-region.el: Passed arguments to `signal'.
167
168         * mmm-vars.el: Defined new submode placement error conditions.
169
170 2001-05-14  Alan Shutko  <ats@acm.org>
171
172         * mmm-cweb.el: New file.
173
174         * mmm-region.el (mmm-valid-submode-region): New function.
175         (mmm-make-region): Allow nested submodes and put the priority in
176         the overlay.
177
178 2001-02-23  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
179
180         * configure.in, mmm-mode.el, mmm-vars.el, version.texi: Released 0.4.7
181
182 2001-02-18  Alan Shutko  <ats@acm.org>
183
184         * mmm-vars.el (mmm-classes-alist): Document new keywords.
185
186         * mmm.texinfo (Region Placement): Document the front-match,
187         back-match and end-not-begin keywords.
188
189         * mmm-class.el (mmm-match-region, mmm-ify): Add front-match &
190         back-match keywords to specify which submatch to treat as the
191         delimiter.  Add end-not-begin key.
192         (mmm-match->point): Add front-match and back-match args.
193
194 2001-02-12  Alan Shutko  <ats@acm.org>
195
196         * mmm-mason.el (mmm-mason-end-line,mmm-mason-start-line): Use bolp
197         and eolp.
198
199 2001-02-03  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
200
201         * mmm-mode.el, mmm-region.el, mmm-vars.el:
202         Added `mmm-primary-mode' variable so that `major-mode' can be saved.
203
204 2001-01-27  Alan Shutko  <ats@acm.org>
205
206         * mmm.texinfo: Added direntry for automated info installation.
207
208 2001-01-26  Alan Shutko  <ats@acm.org>
209
210         * configure.in: Use elisp macros from w3 to check for emacs and
211         lisp dir.
212
213         * aclocal.m4: Pulled elisp-related checks from the W3 library, so
214         --with-emacs= will work. 
215
216 2001-01-15  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
217
218         * mmm-cmds.el (mmm-insert-by-key):
219         Use match-face and major-mode-preferences.
220
221         * mmm-sample.el (mmm-here-doc-get-mode):
222         Try each word individually first.
223
224         * mmm-utils.el (mmm-format-matches):
225         Removed reference to `count' variable.
226
227         * mmm-sample.el, mmm-univ.el, mmm-utils.el:
228         Allowed language names for preference lookup as "mode names".
229
230         * mmm-vars.el (mmm-set-major-mode-preferences): Added function.
231
232 2001-01-14  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
233
234         * mmm-class.el, mmm-utils.el (mmm-format-matches):
235         Changed to allow accessing any subexp, not
236         limited by a numerical value of save-matches.
237
238 2001-01-13  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
239
240         * mmm-sample.el, mmm-vars.el: Modified CSS to use preferred mode.
241
242         * mmm-vars.el (mmm-save-local-variables):
243         Added syntax and indentation variables for
244         cc-mode and variants.
245
246         * mmm-vars.el (mmm-major-mode-preferences):
247         Added check for `jde-mode' for Java code.
248
249 2001-01-12  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
250
251         * mmm-auto.el: Added ePerl and JSP to autoload.
252
253 2001-01-11  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
254
255         * mmm-sample.el: Added ePerl submode class.
256
257         * mmm-mason.el, mmm-sample.el:
258         Modified classes to use preferred mode list.
259
260         * mmm-vars.el, mmm-region.el:
261         Added alist to keep track of user-preferred major modes.
262
263         * mmm-mason.el, mmm-rpm.el, mmm-sample.el:
264         Added flags telling which faces to use for which regions.
265
266         * mmm-class.el, mmm-region.el, mmm-vars.el:
267         Added multiple faces and optional levels of decoration.
268
269 2001-01-09  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
270
271         * mmm-vars.el (mmm-save-local-variables):
272         Added `parse-sexp-ignore-comments', which
273         seems to fix indentation in php-mode.
274
275 2001-01-08  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
276
277         * mmm-region.el (mmm-update-mode-info):
278         Hacked so `font-lock-keywords-alist' works.
279
280 2001-01-05  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
281
282         * mmm.texinfo: Added set-background example for XEmacs.
283         Added info-dir-entry.
284
285 2000-09-29  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
286
287         * mmm-class.el (mmm-apply-class):
288         Rearranged parameters so faces actually work.
289
290 2000-09-18  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
291
292         * configure.in, mmm-vars.el, version.texi: Released 0.4.6
293
294 2000-09-17  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
295
296         * FAQ: Added Q about name capitalization.
297
298 2000-09-16  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
299
300         * mmm-compat.el (mmm-keywords-used): Added `:private'.
301
302 2000-09-12  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
303
304         * FAQ: Added file
305
306 2000-09-12  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
307
308         * Checklist: Added comment about adding files to the distribution.
309
310         * README: Added comment about installing with multiple emacsen.
311
312         * Makefile.am: Added FAQ
313
314         * mmm-mode.el: Created Emacs Lisp Archive Entry
315
316 2000-09-05  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
317
318         * mmm.texinfo: Set MASON_VERSION.
319
320         * mmm-cmds.el (mmm-display-insertion-key):
321         Prevented (nthcdr -1 ...); breaks in XEmacs.
322
323 2000-08-29  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
324
325         * mmm-vars.el (mmm-save-local-variables): Added abbrev-mode variables.
326
327         * mmm-region.el (mmm-update-mode-info):
328         Tested against `mmm-set-file-name-for-modes'.
329
330         * mmm-vars.el (mmm-set-file-name-for-modes):
331         Changed to a list for finer control.
332
333 2000-08-24  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
334
335         * mmm-region.el (mmm-make-region):
336         Explicitly set keyword defaults in &rest parameter.
337
338         * mmm-class.el (mmm-ify):
339         Explicitly set defaults for keywords in &rest parameter.
340
341 2000-08-23  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
342
343         * mmm-region.el, mmm-vars.el (mmm-set-buffer-file-name-p):
344         Added to control file name setting.
345
346         * mmm-vars.el (mmm-save-local-variables):
347         Added `mode-popup-menu' for XEmacs.
348
349         * mmm-region.el (mmm-update-mode-info):
350         Added some tests for XEmacs 20 to prevent
351         errors and unwanted prompts.
352         Cleared modified flag before killing leftover temporary buffers.
353
354 2000-08-21  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
355
356         * mmm.texinfo:
357         Added comments on RPM Spec, File Variables, and Here-documents.
358
359         * mmm-auto.el: Autoloaded `rpm'.
360
361         * mmm-auto.el: Autoloaded `rpm-sh' submode class from mmm-rpm.el.
362
363         * mmm-rpm.el: Added file (contributed by Marcus Harnisch).
364
365 2000-08-17  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
366
367         * mmm-vars.el (mmm-never-modes): Added `forms-mode'.
368         
369 2000-08-02  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
370
371         * configure.in, mmm-vars.el, version.texi: Released 0.4.5.
372
373         * mmm-compat.el (mmm-set-font-lock-defaults): Made into a macro.
374
375         * mmm-auto.el: Autoloaded `mmm-ensure-fboundp'.
376
377         * mmm-region.el (mmm-update-mode-info):
378         Used compatibility wrapper for font-lock defaults.
379
380         * mmm-compat.el (mmm-set-font-lock-defaults):
381         Added compatibility wrapper function.
382
383 2000-08-01  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
384
385         * README.Mason, mmm.texinfo:
386         Added comments about `sgml-parent-document'.
387
388         * mmm-utils.el (mmm-ensure-fboundp): Created function.
389
390         * mmm-sample.el (mmm-here-doc-get-mode):
391         Extended to recognize names like TEXT_EOF.
392
393 2000-07-29  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
394
395         * configure.in, mmm-vars.el, version.texi: Released 0.4.4.
396
397         * mmm-class.el (mmm-get-class-spec):
398         Implemented autoloaded submode classes.
399
400         * mmm-vars.el (mmm-add-group): Made subclasses of a group private.
401
402         * mmm-auto.el: Added autoloading of submode classes.
403
404         * mmm-cmds.el (mmm-ify-by-class):
405         Added completion on autoloaded classes.  Excluded
406         private classes from completion.
407
408         * mmm-vars.el (mmm-classes-alist):
409         Updated docstring for new offset values and
410         include- flags.
411
412         * mmm-sample.el (here-doc): Updated to use new front-offset values.
413
414         * mmm-class.el (mmm-ify, mmm-match-region, mmm-match->point):
415         Added new values for front- and back-offset.
416
417         * mmm-region.el (mmm-make-region):
418         Made sure overlays get the delimiter and sticky
419         properties even if they aren't passed explicitly.
420
421 2000-07-26  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
422
423         * configure.in: Changed output name from `mmm' to `mmm-mode'.
424
425 2000-07-24  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
426
427         * mmm-sample.el: Updated file-variables class to handle prefixes.
428
429 2000-07-23  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
430
431         * mmm-sample.el: Wrote File Variables submode class for the new syntax.
432
433 2000-07-21  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
434
435         * mmm-cmds.el (mmm-ify-by-class):
436         Added completion on all defined classes.
437
438         * mmm-sample.el (mmm-here-doc-get-mode):
439         Signaled non-fboundp here-document names.
440
441         * mmm-univ.el (mmm-univ-get-mode): Signaled error on non-fboundp modes.
442
443         * mmm-class.el (mmm-match-region, mmm-ify):
444         Caught errors from :match-submode.
445
446         * mmm-vars.el: Added `mmm-no-matching-submode' error signal.
447
448         * mmm-sample.el:
449         Allowed here-documents in any mode with :match-submode.
450         Added insertion syntax to here-docs, javascript, and embperl.
451
452 2000-07-14  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
453
454         * mmm.texinfo, version.texi:
455         Added MASON_VERSION variable to keep track of that.
456
457         * mmm.texinfo: Wrote about changing key bindings and local variables.
458         Copied info from documentation of `mmm-classes-alist'.
459
460 2000-07-13  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
461
462         * mmm-vars.el (mmm-run-major-mode-hook):
463         Added `ignore-errors' around each call.
464
465         * mmm-vars.el (mmm-save-local-variables):
466         Changed `defcustom' to `defvar'.
467
468         * mmm.texinfo:
469         Wrote about global classes, highlight, mode line, and hooks.
470
471         * mmm-univ.el: Limited matches to letter/dash strings that are fboundp.
472
473 2000-07-12  Michael Abraham Shulman  <viritrilbia@users.sourceforge.net>
474
475         * README.Mason: Added comment about `mmm-global-mode'.
476
477 2000-07-12  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
478
479         * configure.in, mmm-vars.el: Released 0.4.3.
480
481         * mmm-univ.el: Changed %[...]% to [%...%] which looks much nicer.
482
483         * mmm.texinfo: Wrote more about Mason.
484
485         * mmm-mason.el: Moved commentary code to README.Mason.
486
487         * Makefile.am: Added README.Mason to EXTRA_DIST.
488
489         * README.Mason: Created file.
490
491 2000-07-11  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
492
493         * mmm-region.el (mmm-update-mode-info):
494         Used `mmm-make-temp-buffer'.  Put font-lock
495         property directly rather than setting the variable first.
496
497         * mmm-mode.el (mmm-mode-off): Reset font-lock variables.
498
499         * mmm-compat.el (mmm-make-temp-buffer):
500         Added as workaround for make-indirect-buffer.
501
502         * mmm-region.el:
503         (mmm-enable-font-lock, mmm-update-font-lock-buffer, mmm-update-mode-info):
504         Conditioned font-lock usage on mmm-font-lock-available-p.
505
506         * mmm-compat.el (mmm-font-lock-available-p): Added flag.
507
508         * mmm-region.el (mmm-update-mode-info):
509         Killed any lingering temporary buffers.
510
511         * mmm-cmds.el (mmm-insert-by-key):
512         Made inserted regions beg- and end-sticky.
513
514         * mmm-compat.el (mmm-keywords-used): Added :classes.
515
516 2000-06-30  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
517
518         * configure.in, mmm-vars.el: Released 0.4.2a.
519
520         * mmm-region.el: Reordered Inspection and Creation for byte compiler.
521
522         * mmm-mode.el: Moved mmm-mode variable to mmm-vars.el.
523
524         * mmm-auto.el: Added some autoloads.
525
526         * Makefile.am: Added mmm-univ.el.
527
528         * configure.in, mmm-vars.el: Released 0.4.2.
529
530         * mmm-auto.el (mmm-mode-on-maybe):
531         Conditioned font-lock updating on mmm-mode.
532
533         * mmm-region.el:
534         Removed use-local-map advice; no longer necessary (thank goodness!)
535
536         * mmm-region.el, mmm-auto.el: Fixed font-lock woes (hopefully).
537
538         * mmm-class.el: Allowed dynamically specified submodes.
539
540         * mmm-utils.el, mmm-mode.el, mmm-cmds.el:
541         Fixed font-lock woes (hopefully).
542
543         * mmm.texinfo: Added Embperl.
544
545         * mmm-vars.el (mmm-global-classes):
546         Added variable controlling global classes.
547
548         * mmm-univ.el: Created file defining `universal' submode.
549
550         * mmm-sample.el: Added Embperl.
551
552         * mmm-utils.el: Added def-edebug-specs.
553
554 2000-06-29  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
555
556         * mmm-region.el (mmm-fontify-region-list):
557         Saved local variables before moving.
558
559         * mmm-auto.el (mmm-check-changed-buffers): Checked for live buffer.
560
561         * mmm-utils.el (mmm-valid-buffer):
562         Checked against noninteractive and hidden buffers.
563
564         * mmm-auto.el (mmm-check-changed-buffers):
565         Added check against minibuffers.
566
567         * mmm-vars.el (mmm-never-modes): Added `eshell-mode'.
568
569 2000-06-28  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
570
571         * NEWS, configure.in, mmm-vars.el: Released 0.4.1.
572
573         * mmm-region.el (mmm-overlays-in): Added DELIM parameter.
574         (mmm-submode-changes-in): Added strict flags calling overlays-in.
575
576 2000-06-27  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
577
578         * configure.in, mmm-vars.el: Released 0.4.0.
579
580         * NEWS, TODO, mmm-auto.el, mmm-region.el, mmm-vars.el, mmm.texinfo:
581         Changed mmm-global-mode to use post-command-hook method rather than
582         stack-walk method.
583
584         * mmm-region.el:
585         Fixed bug saving variables when creating regions; need to set them first.
586
587         * mmm-region.el: Added creation-hook, fixed mode-name problem.
588
589         * mmm-class.el: Added mmm-[get,set]-class-parameters and creation-hook.
590
591         * mmm-auto.el, mmm-region.el, mmm-vars.el:
592         Fixed bug where font-lock-mode was set to `t' globally, causing
593         global-font-lock-mode to turn it off.
594
595 2000-06-26  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
596
597         * mmm-region.el:
598         Rewrote local variable functions, added new ones, changed updating,
599         fontification, and region creation functions to handle this.
600
601         * mmm-mode.el:
602         Added setting and clearing local variables with mode on and off.
603
604         * mmm-vars.el (mmm-save-local-variables):
605         Added extra parameters for saving type and modes, and updated documentation.
606         Created several variables to save buffer- and region- locals.
607         (mmm-temp-buffer-name): Created variable and changed references.
608
609 2000-06-23  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
610
611         * mmm-vars.el (mmm-save-local-variable):
612         Added comment-line-start-skip for Fortran.
613
614 2000-06-13  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
615
616         * mmm.texinfo: Added comment about (require 'mmm-mason).
617
618 2000-06-08  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
619
620         * configure.in, mmm-vars.el: Released 0.3.10
621
622         * mmm-region.el (mmm-overlays-in):
623         Added checks for point-min and point-max for XEmacs.
624         (use-local-map): Added the advice back in.
625
626         * configure.in, mmm-vars.el: Released 0.3.9.
627
628         * mmm-region.el (use-local-map):
629         Conditioned advice definition on not XEmacs.
630
631 2000-05-28  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
632
633         * .cvsignore:
634         Added info file and auxiliary compilation and texinfo files.
635
636         * .cvsignore: Added configure auxiliary files.
637
638         * .cvsignore: Ignored Makefile.in, Makefile, and configure.
639
640         * COPYING, INSTALL, install-sh, mdate-sh, missing, mkinstalldirs, texinfo.tex:
641         Added files required by automake.
642
643         * mmm.texinfo, elisp-comp, TODO, README, NEWS, ChangeLog, AUTHORS:
644         Added to CVS (formerly not under RCS).
645
646 2000-05-24  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
647
648         * mmm-auto.el: Pre-added major mode hook to text-mode-hook.
649
650 2000-05-19  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
651
652         * mmm-vars.el (mmm-version): changed to 0.3.8.
653
654 2000-05-18  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
655
656         * mmm-region.el:
657         Moved `require's back to top level for byte-compiling.  Added dummy
658         definition of `mmm-real-use-local-map' to shut up byte compiler.
659
660         * mmm-mode.el, mmm-cmds.el, mmm-class.el:
661         Moved `require's back to top level for byte-compiling.
662
663         * mmm-auto.el: `require'd mmm-vars at top level for byte-compiling.
664
665         * Makefile.am:
666         Added all the elisp files to EXTRA_DIST, since Automake doesn't see
667         them as sources for the distribution.
668
669 2000-05-10  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
670
671         * mmm-mason.el: Fixed bug: # is not allowed in symbols.
672
673         * mmm-mason.el:
674         Changed insertion key of <%doc> to `d' and added insertion of %#
675         comment lines with insertion keys `#' and `3'.
676
677         * mmm-mason.el:
678         Distinguished between Perl sections and pseudo-Perl sections.  The one
679         inserts ; at the beginning for indentation hack, the other doesn't
680         because the Mason syntax doesn't allow it and indentation is generally
681         unnecessary anyway.
682
683         * mmm-cmds.el:
684         Fixed "sub"-insertion specs like <%perl> under <%TAG> not to insert
685         the interactor string.
686
687 2000-05-03  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
688
689         * mmm-mason.el: Added dependencies on mmm-compat and mmm-vars.
690
691 2000-04-30  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
692
693         * configure.in, Makefile.am: New file.
694
695         * mmm-sample.el, mmm-mode.el, mmm-region.el, mmm-auto.el, mmm-class.el, mmm-cmds.el, mmm-mason.el:
696         Changed (progn (require ...)) to (when t (require ...)) because the
697         first is still "top level" for the byte compiler.
698
699         * mmm-region.el:
700         Required font-lock and mmm-auto at top level for byte compilation.
701         Moved local maps to come before updating hooks for byte compilation.
702
703         * mmm-utils.el: Loaded CL at top level for byte-compile.
704
705 2000-04-29  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
706
707         * mmm-mode.el, mmm-region.el, mmm-sample.el, mmm-auto.el, mmm-class.el, mmm-cmds.el, mmm-mason.el:
708         Put all `require's not needed at compile-time into `progn's so the
709         byte-compiler doesn't load them (not at top level).  Only `mmm-compat'
710         and `mmm-utils' need to be loaded at compile-time, since they define
711         macros.
712
713 2000-04-27  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
714
715         * All: Started using RCS.
716
717 2000-04-27  Michael Abraham Shulman  <mas@kurukshetra.cjb.net>
718
719         * mmm-sample.el (mmm-javascript-mode): Created customization
720         variable to select mode to use for javascript regions.
721
722 2000-03-26  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
723
724         * mmm-cmds.el (mmm-get-insertion-spec): Insertion keys now have
725         symbolic names, although they have no definition.
726         (mmm-insertion-help): Command added to give help on insertion
727         keys, the way C-h does for command keys.
728
729         * mmm-vars.el (mmm-get-all-classes): Reversed order, so
730         interactive classes take precedence (for insertion, mainly) over
731         `mmm-classes' which overrides mode/ext classes.
732
733 2000-03-24  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
734
735         * mmm-vars.el (mmm-command-modifiers, mmm-insert-modifiers):
736         Switched defaults to be the way I think it should be. Users can
737         switch back with `mmm-use-old-command-keys'.
738
739         * README: Created file giving information on inital installation.
740
741         * Makefile: Created makefile to compile elisp files and make info
742         file from texinfo file.
743
744         * mmm-region.el: Gave up on conditional stickiness, since it
745         doesn't work in XEmacs and even FSF Emacs has been being flaky
746         with overlay after-change functions. Detecting ends in global
747         `after-change-functions' will work better anyway.
748
749         * mmm-cmds.el: Renamed from `mmm-inter.el'.
750         (mmm-end-current-region): Added command, with key binding.
751
752         * mmm-vars.el (mmm-classes-alist): Documentation updated for
753         unified submode classes.
754
755         * mmm-class.el (mmm-ify): BEG and END arguments removed; just use
756         FRONT and BACK.
757
758         * mmm-utils.el (mmm-format-matches): Ignores non-string arguments.
759
760         * mmm-class.el (mmm-apply-class): Faces supplied for grouping
761         classes now override those on included classes. Parents will do
762         the same thing.
763
764         * mmm-inter.el: Bound `mmm-parse-block' to C-c % 5 as well.
765         (mmm-reparse-current-region): Added command, with key binding.
766
767         * mmm-insert.el: Deleted file, merging contents (insert by
768         keystrokes) into `mmm-inter.el'. Auto-detection insert will
769         probably go elsewhere.
770
771         * mmm-inter.el (mmm-clear-current-region): Uses `mmm-overlay-at'
772         with `all' inclusion type.
773
774         * mmm-region.el (mmm-overlays-at): Added `all' inclusion type.
775
776         * mmm-class.el (mmm-apply-class, etc.): Submode classes have been
777         unified--no more 'regexp, 'region, 'group, etc.
778
779 2000-03-23  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
780
781         * mmm-inter.el (mmm-parse-buffer, mmm-parse-region, mmm-parse-block):
782         Added "Operating...done" messages.
783
784         * mmm-region.el (mmm-make-region): Allowed caller to add extra
785         keyword arguments to be stored as overlay properties, anticipating
786         new future submode classes.
787
788         * mmm-update.el (use-local-map): Advised to keep track of changed
789         local maps.
790
791         * mmm-region.el (mmm-overlays-at): Added inclusion of boundary
792         points based on endpoint stickiness.
793         (mmm-match-front, mmm-match-back): Front and back overlay
794         properties can now be functions rather than regexps, in
795         anticipation of new future submode classes.
796
797 2000-03-22  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
798
799         * mmm-utils.el (mmm-valid-buffer): Renamed and added checking for
800         "never" modes.
801
802         * mmm-vars.el (mmm-never-modes): Added, to prevent "temporary
803         shell-mode buffers" and other unnecessariness.
804
805         * mmm-region.el (mmm-overlays-in): Fixed strictness so it doesn't
806         try to match delimiters of non-mmm overlays.
807
808         * mmm-update.el (mmm-local-maps-alist): Keep track of changed
809         local maps by buffer and major mode.
810         (mmm-update-submode-region): Update mode info for major mode.
811
812         * mmm-sample.el: Created file, removing code from `mmm-mode.el'.
813
814         * mmm-auto.el: Created file, removing code from `mmm-mode.el'.
815
816         * mason.el: Created file, removing code from `mmm-mode.el'.
817
818         * mmm-insert.el: Created file, removing code from `mmm-mode.el'.
819
820 2000-03-20  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
821
822         * mmm-update.el: Created file, removing code from `mmm-mode.el'.
823
824         * mmm-inter.el: Created file, removing code from `mmm-mode.el'.
825
826         * mmm-class.el: Created file, removing code from `mmm-mode.el'.
827
828         * mmm-mode.el (mason): Removed highlight for %doc regions.
829
830         * mmm-region.el: Created file, removing code from `mmm-mode.el'.
831
832         * mmm-utils.el: Created file, removing code from `mmm-mode.el'.
833
834         * mmm-compat.el: Created file, removing code from `mmm-mode.el'.
835
836         * mmm-vars.el: Created file, removing code from `mmm-mode.el'.
837
838         * TODO: Created TODO file, removing comments from `mmm-mode.el'.
839
840         * ChangeLog: Created ChangeLog file and (more or less) ported
841         existing Change Log to official format.
842
843 2000-03-19  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
844                 
845         * mmm-mode.el (mmm-global-mode): usurps and extends the role of
846         `mmm-add-find-file-hook'. Other modes can piggyback on our hack by
847         using `mmm-major-mode-hook'.
848         
849         Added :insert class parameters. Classes can now define skeletons
850         to insert submode regions with delimiters based on a keypress.
851
852         Added `mmm-insert-modifiers' and `mmm-command-modifiers' to
853         configure which keys do what.
854
855 2000-03-18  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
856         
857         * mmm-mode.el: Did a bunch of reorganizing. MMM-ification methods
858         are now submode classes, and what used to be called submode
859         classes are now just a type called :group. User interface is
860         mostly unchanged however. Replaced some gratuitous keywords with
861         normal symbols.
862
863         Added bells and whistles to :regexp class type, allowing custom
864         "plugin" functions to verify matches and get the delimiter forms,
865         the latter of which aren't used yet, but will be soon. Mason
866         class(es) are now all regexps with a plugin or two. Function class
867         type is not (yet?) ported to the new interface, holding back
868         eval-elisp and htp.p with it.
869         
870         Changed a couple of `eval-and-compile's to `eval-when-compile'.
871         
872         Added special "non-submode" regions, where the major mode holds
873         sway, but no submodes allowed (until parents are implemented).
874         Added %doc in text-mode and %text as a non-submode to Mason, and
875         added %flags, %attr, %method, and %shared tags for Mason classes.
876         These will be new in Mason version 0.82.
877         
878 2000-03-14  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
879
880         * Version 0.3.7a released.
881
882         * mmm-mode.el: Put `turn-on-font-lock-if-enabled' back in for FSF
883           Emacs. Don't know why I thought I could take it out.
884         
885 2000------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
886
887         * Version 0.3.7 released.
888         
889         * mmm-mode.el: Set insertion types of markers added to history to
890         coincide with sticky ends of overlays. It's not perfect, but it's
891         better.
892
893         Renamed mode and submode hook variables to start with `mmm-'.
894
895         Added "class hooks" run whenever a class is first used in a
896         buffer.
897
898         Changes for XEmacs compatibility:
899           - Loaded XEmacs overlay emulation package.
900           - Renamed some overlay properties when in XEmacs
901           - Removed `global-font-lock-mode' dependencies.
902           - Added extra parameter to `regexp-opt' in Mason class.
903         
904         Removed "Disclaimers" comment section; I think we have enough
905         testing that it should work on most systems.
906         
907         Reversed order of Change Log so newer changes come first.
908         
909         Changed the default submode highlight to a more neutral gray.
910         
911         Renamed various "start" and "end" parameters to be more uniform.
912         
913         (mmm-ify-by-region): now checks if the region is in bounds.
914         
915 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
916         
917         * Version 0.3.6c released.
918         
919         * mmm-mode.el: Added comment about putting autohandlers and
920         dhandlers in html-mode.
921
922 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
923         
924         * Version 0.3.6b released.
925         
926         * mmm-mode.el: Added comment about `psgml-mode' thanks to Michael
927         Alan Dorman.
928
929 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
930         
931         * Version 0.3.6a released.
932
933         * mmm-mode.el: Loaded CL at compile-time to prevent execution of
934         macro arguments.
935
936 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
937         
938         * Version 0.3.6 released.
939         
940         * mmm-mode.el: Changes for Emacs 19 compatibility.
941           - Set keyword variables to themselves.
942           - Added hacks for absence of custom.el and regexp-opt.
943           - Added user variable to control use of Perl mode vs CPerl mode.
944         Thanks to Eric A. Zarko for suggestions and testing.
945
946 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
947         
948         * Version 0.3.5a released.
949
950         * mmm-mode.el (mmm-ify-by-all): no longer re-fontifies buffers
951         with no submodes.
952
953 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
954         
955         * Version 0.3.5 released.
956
957         * mmm-mode.el (mmm-fontify-region): now locally binds
958         `font-lock-beginning-of-syntax-function' to
959         `mmm-beginning-of-syntax' since `font-lock-fontify-block' binds it
960         to nil for some reason.
961
962 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
963         
964         * Version 0.3.4 released.
965
966         * mmm-mode.el (mmm-ify-by-class): now fontifies the buffer
967         afterward, like the other interactive MMM-ification functions.
968         Updated a couple doc-strings and prompts.
969         
970 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
971         
972         * Version 0.3.3 released.
973
974         * mmm-mode.el (mmm-regexp-to-regions, mmm-mason-inline): Changed
975         recursion to iteration, since for long files the recursion runs
976         afoul of `max-lisp-eval-depth'.
977         (mason): Commented on workaround for Mason CPerl mess-ups.
978         Submode overlays now evaporate if they have zero width.
979         (mmm-parse-region): now has a key binding and doesn't refontify
980         the entire buffer.
981         
982 1999------  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
983         
984         * Version 0.3.2 released.
985         
986         * mmm-mode.el (mmm-mode-on, mmm-mode-off): are now interactive.
987         Fixed bug in Mason class: %def, %text, and %doc are now ignored as
988         they should be.
989
990 1999-11-21  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
991         
992         * Version 0.3.1 released.
993
994         * mmm-mode.el (mmm-ify-by-class) now adds to history rather than
995         `mmm-classes'.
996         Fixed :class keyword so it works correctly.
997         (mmm-add-mode-ext-class): Classes associated with major modes or
998         filenames now do The Right Thing when the major mode is changed.
999         However, `mmm-mode-ext-classes-alist' cannot be directly modified.
1000         (mmm-mode): Updated documentation to cover 0.3.x changes.
1001         
1002 1999-11-21  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
1003         
1004         * Version 0.3.0 released.
1005         
1006         * mmm-mode.el (mmm-ify-by-class): Added interactive prompt.
1007         (mmm-version): Function added to display version interactively.
1008         Fixed and updated customization definitions.
1009         (mmm-mode-ext-classes-alist): added, allowing the automatic
1010         association of certain major-modes and/or file extensions with
1011         submode classes.
1012         Allowed submode lists to contain :class keyword, so one class can
1013         invoke another one, if they share submode methods.
1014
1015 1999-11-19  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
1016
1017         * Version 0.2.2a released.
1018         
1019         * mmm-mode.el: Fixed bug.
1020
1021 1999-11-18  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
1022         
1023         * Version 0.2.2 released.
1024
1025         * mmm-mode.el (mmm-mason-inline): Replaces the regexps "<% " and
1026         "%>" for HTML::Mason submode class. Inline perl regions don't have
1027         to begin with a space, but the regexp "<%" matches "<%perl>" as
1028         well, which it shouldn't.
1029         Added `save-match-data' calls in all searching functions.
1030         Removed unnecessary auxiliary functions.
1031
1032 1999-11-16  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
1033         
1034         * Version 0.2.1 released.
1035         
1036         * mmm-mode.el: Fixed font-lock absence, with-temp-message absence,
1037         mmm-ifying temp buffer.
1038
1039 1999-11-15  Michael Abraham Shulman  <viritrilbia@kurukshetra.cjb.net>
1040         
1041         * Version 0.2.0 released to HTML::Mason mailing list.
1042
1043         * Comment: Although nearly 100% of the code for mmm-mode was
1044         written by me, the original inspiration came from mmm.el for
1045         XEmacs by Gongquan Chen <chen@posc.org>, so I have continued his
1046         version-numbering.
1047         
1048 1999-01-12  Gongquan Chen <chen@posc.org>
1049         
1050         * Version 0.11 released.
1051
1052         * mmm.el: Fixed doc-strings and style. Thanks to comments from
1053         Jari Aalto <jaalto@tre.tele.nokia.fi>
1054
1055 1999-01-11  Gongquan Chen <chen@posc.org>
1056         
1057         * Version 0.10 released.
1058
1059         * mmm.el: Initial release of mmm.el on comp.emacs.xemacs