1 2004-06-16 Alan Shutko <ats@acm.org>
3 * version.texi: Release 0.4.8.
5 * mmm-vars.el: Release 0.4.8.
7 * mmm-mode.el: Release 0.4.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
15 * configure.in: Incr version for release.
17 2004-06-10 Alan Shutko <ats@acm.org>
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
23 2004-06-02 Alan Shutko <ats@acm.org>
25 * mmm-sample.el (html-js): Support JS version in language attribute.
27 2004-06-01 Alan Shutko <ats@acm.org>
29 * mmm-vars.el (mmm-save-local-variables): Updated cc-mode local
32 * Makefile.am (lisp_LISP): Removed mmm-php.el, since it doesn't
35 * missing: Updated for automake 1.7.9.
37 2003-10-18 Alan Shutko <ats@acm.org>
39 * mmm-vars.el (mmm-save-local-variables): Add semantic stuff and
42 2003-03-25 Michael A. Shulman <viritrilbia@users.sourceforge.net>
44 * mmm-mode.spec: Added file for building SRPMs, from bishop
46 * autogen.sh: Added file for building from CVS
48 2003-03-22 Michael A. Shulman <viritrilbia@users.sourceforge.net>
50 * mmm-sample.el (html-php): Added new submode class.
51 (eperl): Corrected, added comment detection.
53 * mmm-cmds.el (mmm-insert-by-key): Added undo collapsing.
55 2003-03-09 Michael A. Shulman <viritrilbia@users.sourceforge.net>
57 * mmm-vars.el (mmm-set-mode-line): Added support for "buffer mode"
60 * mmm-cmds.el (mmm-insert-by-key): Match and calculate names, and
61 store front and back positions for delimiter overlays.
63 * mmm-mason.el: Added match-name parameter.
65 * mmm-sample.el: Added delimiter-mode and match-name parameters.
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.
75 * mmm-class.el (mmm-ify, mmm-match-region): Added matching for
78 * mmm-vars.el (mmm-delimiter-mode, mmm-delimiter-face): Added.
80 2003-03-08 Michael A. Shulman <viritrilbia@users.sourceforge.net>
82 * mmm-region.el (mmm-clear-overlays): Fixed bug so turning mmm
83 mode off now restores primary mode correctly.
85 2003-03-03 Michael A. Shulman <viritrilbia@users.sourceforge.net>
87 * mmm-noweb.el (mmm-noweb-bind-keys): Implemented a "local to
88 submode class" keymap binding.
90 * mmm-vars.el (mmm-set-mode-line): Used correct name for variable.
92 2003-03-02 Michael A. Shulman <viritrilbia@users.sourceforge.net>
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.
98 * mmm-region.el (mmm-update-submode-region): Run hooks specified
99 by the region being entered, or the dominant if not.
101 * mmm-vars.el (mmm-primary-mode-entry-hook): Added variable.
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.
109 * mmm-region.el (mmm-valid-submode-region): Corrected algorithm,
110 improved documentation, renamed error.
112 2003-02-05 Joe Kelsey <joe@zircon.seattle.wa.us>
114 * mmm-vars.el (mmm-add-to-group): New function mmm-add-to-group
115 adds new private classes to an existing group.
117 * mmm.texinfo (Noweb): Add documentation about noweb mode.
119 * mmm-auto.el (mmm-autoloaded-classes): Add noweb to
122 * mmm-noweb.el: Modified chunk naming to give noweb-chunks
123 different names so that they will be indented independently.
125 * mmm-sample.el: Make html-js look for language= or type=
126 attributes because you may have other script types.
128 2003-01-30 Joe Kelsey <joe@zircon.seattle.wa.us>
130 * Makefile.am: Add mmm-cweb.el, mmm-php.el and mmm-noweb.el
132 * mmm-noweb.el: Add support for noweb.
134 * mmm-class.el (mmm-ify, mmm-make-region): Add support for setting
135 the NAME property on regions.
137 * mmm-cmds.el (mmm-insert-by-key): Add support for setting the
138 NAME property on inserts.
140 2002-11-11 Alan Shutko <ats@acm.org>
142 * .cvsignore: Add semantic.cache.
144 * mmm-vars.el (mmm-save-local-variables): Update C variables to
145 save, based on Emacs CVS.
147 * mmm-cweb.el (cweb): Tweaked indentation. Add cweb to the
149 2001-05-16 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
151 * mmm-mode.el (mmm-mode-on): Make style variables buffer-local.
152 Continue on all MMM errors.
154 * mmm-vars.el (mmm-save-local-variables): Added all c-modes
155 indentation style variables.
157 * mmm-auto.el, mmm-sample.el:
158 Added `sgml-dtd' submode class from Yann Dirson <ydirson@fr.alcove.com>.
160 2001-05-15 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
162 * mmm-auto.el: Added cweb to autoloaded classes.
164 2001-05-14 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
166 * mmm-region.el: Passed arguments to `signal'.
168 * mmm-vars.el: Defined new submode placement error conditions.
170 2001-05-14 Alan Shutko <ats@acm.org>
172 * mmm-cweb.el: New file.
174 * mmm-region.el (mmm-valid-submode-region): New function.
175 (mmm-make-region): Allow nested submodes and put the priority in
178 2001-02-23 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
180 * configure.in, mmm-mode.el, mmm-vars.el, version.texi: Released 0.4.7
182 2001-02-18 Alan Shutko <ats@acm.org>
184 * mmm-vars.el (mmm-classes-alist): Document new keywords.
186 * mmm.texinfo (Region Placement): Document the front-match,
187 back-match and end-not-begin keywords.
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.
194 2001-02-12 Alan Shutko <ats@acm.org>
196 * mmm-mason.el (mmm-mason-end-line,mmm-mason-start-line): Use bolp
199 2001-02-03 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
201 * mmm-mode.el, mmm-region.el, mmm-vars.el:
202 Added `mmm-primary-mode' variable so that `major-mode' can be saved.
204 2001-01-27 Alan Shutko <ats@acm.org>
206 * mmm.texinfo: Added direntry for automated info installation.
208 2001-01-26 Alan Shutko <ats@acm.org>
210 * configure.in: Use elisp macros from w3 to check for emacs and
213 * aclocal.m4: Pulled elisp-related checks from the W3 library, so
214 --with-emacs= will work.
216 2001-01-15 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
218 * mmm-cmds.el (mmm-insert-by-key):
219 Use match-face and major-mode-preferences.
221 * mmm-sample.el (mmm-here-doc-get-mode):
222 Try each word individually first.
224 * mmm-utils.el (mmm-format-matches):
225 Removed reference to `count' variable.
227 * mmm-sample.el, mmm-univ.el, mmm-utils.el:
228 Allowed language names for preference lookup as "mode names".
230 * mmm-vars.el (mmm-set-major-mode-preferences): Added function.
232 2001-01-14 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
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.
238 2001-01-13 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
240 * mmm-sample.el, mmm-vars.el: Modified CSS to use preferred mode.
242 * mmm-vars.el (mmm-save-local-variables):
243 Added syntax and indentation variables for
244 cc-mode and variants.
246 * mmm-vars.el (mmm-major-mode-preferences):
247 Added check for `jde-mode' for Java code.
249 2001-01-12 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
251 * mmm-auto.el: Added ePerl and JSP to autoload.
253 2001-01-11 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
255 * mmm-sample.el: Added ePerl submode class.
257 * mmm-mason.el, mmm-sample.el:
258 Modified classes to use preferred mode list.
260 * mmm-vars.el, mmm-region.el:
261 Added alist to keep track of user-preferred major modes.
263 * mmm-mason.el, mmm-rpm.el, mmm-sample.el:
264 Added flags telling which faces to use for which regions.
266 * mmm-class.el, mmm-region.el, mmm-vars.el:
267 Added multiple faces and optional levels of decoration.
269 2001-01-09 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
271 * mmm-vars.el (mmm-save-local-variables):
272 Added `parse-sexp-ignore-comments', which
273 seems to fix indentation in php-mode.
275 2001-01-08 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
277 * mmm-region.el (mmm-update-mode-info):
278 Hacked so `font-lock-keywords-alist' works.
280 2001-01-05 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
282 * mmm.texinfo: Added set-background example for XEmacs.
283 Added info-dir-entry.
285 2000-09-29 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
287 * mmm-class.el (mmm-apply-class):
288 Rearranged parameters so faces actually work.
290 2000-09-18 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
292 * configure.in, mmm-vars.el, version.texi: Released 0.4.6
294 2000-09-17 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
296 * FAQ: Added Q about name capitalization.
298 2000-09-16 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
300 * mmm-compat.el (mmm-keywords-used): Added `:private'.
302 2000-09-12 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
306 2000-09-12 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
308 * Checklist: Added comment about adding files to the distribution.
310 * README: Added comment about installing with multiple emacsen.
312 * Makefile.am: Added FAQ
314 * mmm-mode.el: Created Emacs Lisp Archive Entry
316 2000-09-05 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
318 * mmm.texinfo: Set MASON_VERSION.
320 * mmm-cmds.el (mmm-display-insertion-key):
321 Prevented (nthcdr -1 ...); breaks in XEmacs.
323 2000-08-29 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
325 * mmm-vars.el (mmm-save-local-variables): Added abbrev-mode variables.
327 * mmm-region.el (mmm-update-mode-info):
328 Tested against `mmm-set-file-name-for-modes'.
330 * mmm-vars.el (mmm-set-file-name-for-modes):
331 Changed to a list for finer control.
333 2000-08-24 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
335 * mmm-region.el (mmm-make-region):
336 Explicitly set keyword defaults in &rest parameter.
338 * mmm-class.el (mmm-ify):
339 Explicitly set defaults for keywords in &rest parameter.
341 2000-08-23 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
343 * mmm-region.el, mmm-vars.el (mmm-set-buffer-file-name-p):
344 Added to control file name setting.
346 * mmm-vars.el (mmm-save-local-variables):
347 Added `mode-popup-menu' for XEmacs.
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.
354 2000-08-21 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
357 Added comments on RPM Spec, File Variables, and Here-documents.
359 * mmm-auto.el: Autoloaded `rpm'.
361 * mmm-auto.el: Autoloaded `rpm-sh' submode class from mmm-rpm.el.
363 * mmm-rpm.el: Added file (contributed by Marcus Harnisch).
365 2000-08-17 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
367 * mmm-vars.el (mmm-never-modes): Added `forms-mode'.
369 2000-08-02 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
371 * configure.in, mmm-vars.el, version.texi: Released 0.4.5.
373 * mmm-compat.el (mmm-set-font-lock-defaults): Made into a macro.
375 * mmm-auto.el: Autoloaded `mmm-ensure-fboundp'.
377 * mmm-region.el (mmm-update-mode-info):
378 Used compatibility wrapper for font-lock defaults.
380 * mmm-compat.el (mmm-set-font-lock-defaults):
381 Added compatibility wrapper function.
383 2000-08-01 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
385 * README.Mason, mmm.texinfo:
386 Added comments about `sgml-parent-document'.
388 * mmm-utils.el (mmm-ensure-fboundp): Created function.
390 * mmm-sample.el (mmm-here-doc-get-mode):
391 Extended to recognize names like TEXT_EOF.
393 2000-07-29 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
395 * configure.in, mmm-vars.el, version.texi: Released 0.4.4.
397 * mmm-class.el (mmm-get-class-spec):
398 Implemented autoloaded submode classes.
400 * mmm-vars.el (mmm-add-group): Made subclasses of a group private.
402 * mmm-auto.el: Added autoloading of submode classes.
404 * mmm-cmds.el (mmm-ify-by-class):
405 Added completion on autoloaded classes. Excluded
406 private classes from completion.
408 * mmm-vars.el (mmm-classes-alist):
409 Updated docstring for new offset values and
412 * mmm-sample.el (here-doc): Updated to use new front-offset values.
414 * mmm-class.el (mmm-ify, mmm-match-region, mmm-match->point):
415 Added new values for front- and back-offset.
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.
421 2000-07-26 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
423 * configure.in: Changed output name from `mmm' to `mmm-mode'.
425 2000-07-24 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
427 * mmm-sample.el: Updated file-variables class to handle prefixes.
429 2000-07-23 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
431 * mmm-sample.el: Wrote File Variables submode class for the new syntax.
433 2000-07-21 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
435 * mmm-cmds.el (mmm-ify-by-class):
436 Added completion on all defined classes.
438 * mmm-sample.el (mmm-here-doc-get-mode):
439 Signaled non-fboundp here-document names.
441 * mmm-univ.el (mmm-univ-get-mode): Signaled error on non-fboundp modes.
443 * mmm-class.el (mmm-match-region, mmm-ify):
444 Caught errors from :match-submode.
446 * mmm-vars.el: Added `mmm-no-matching-submode' error signal.
449 Allowed here-documents in any mode with :match-submode.
450 Added insertion syntax to here-docs, javascript, and embperl.
452 2000-07-14 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
454 * mmm.texinfo, version.texi:
455 Added MASON_VERSION variable to keep track of that.
457 * mmm.texinfo: Wrote about changing key bindings and local variables.
458 Copied info from documentation of `mmm-classes-alist'.
460 2000-07-13 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
462 * mmm-vars.el (mmm-run-major-mode-hook):
463 Added `ignore-errors' around each call.
465 * mmm-vars.el (mmm-save-local-variables):
466 Changed `defcustom' to `defvar'.
469 Wrote about global classes, highlight, mode line, and hooks.
471 * mmm-univ.el: Limited matches to letter/dash strings that are fboundp.
473 2000-07-12 Michael Abraham Shulman <viritrilbia@users.sourceforge.net>
475 * README.Mason: Added comment about `mmm-global-mode'.
477 2000-07-12 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
479 * configure.in, mmm-vars.el: Released 0.4.3.
481 * mmm-univ.el: Changed %[...]% to [%...%] which looks much nicer.
483 * mmm.texinfo: Wrote more about Mason.
485 * mmm-mason.el: Moved commentary code to README.Mason.
487 * Makefile.am: Added README.Mason to EXTRA_DIST.
489 * README.Mason: Created file.
491 2000-07-11 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
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.
497 * mmm-mode.el (mmm-mode-off): Reset font-lock variables.
499 * mmm-compat.el (mmm-make-temp-buffer):
500 Added as workaround for make-indirect-buffer.
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.
506 * mmm-compat.el (mmm-font-lock-available-p): Added flag.
508 * mmm-region.el (mmm-update-mode-info):
509 Killed any lingering temporary buffers.
511 * mmm-cmds.el (mmm-insert-by-key):
512 Made inserted regions beg- and end-sticky.
514 * mmm-compat.el (mmm-keywords-used): Added :classes.
516 2000-06-30 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
518 * configure.in, mmm-vars.el: Released 0.4.2a.
520 * mmm-region.el: Reordered Inspection and Creation for byte compiler.
522 * mmm-mode.el: Moved mmm-mode variable to mmm-vars.el.
524 * mmm-auto.el: Added some autoloads.
526 * Makefile.am: Added mmm-univ.el.
528 * configure.in, mmm-vars.el: Released 0.4.2.
530 * mmm-auto.el (mmm-mode-on-maybe):
531 Conditioned font-lock updating on mmm-mode.
534 Removed use-local-map advice; no longer necessary (thank goodness!)
536 * mmm-region.el, mmm-auto.el: Fixed font-lock woes (hopefully).
538 * mmm-class.el: Allowed dynamically specified submodes.
540 * mmm-utils.el, mmm-mode.el, mmm-cmds.el:
541 Fixed font-lock woes (hopefully).
543 * mmm.texinfo: Added Embperl.
545 * mmm-vars.el (mmm-global-classes):
546 Added variable controlling global classes.
548 * mmm-univ.el: Created file defining `universal' submode.
550 * mmm-sample.el: Added Embperl.
552 * mmm-utils.el: Added def-edebug-specs.
554 2000-06-29 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
556 * mmm-region.el (mmm-fontify-region-list):
557 Saved local variables before moving.
559 * mmm-auto.el (mmm-check-changed-buffers): Checked for live buffer.
561 * mmm-utils.el (mmm-valid-buffer):
562 Checked against noninteractive and hidden buffers.
564 * mmm-auto.el (mmm-check-changed-buffers):
565 Added check against minibuffers.
567 * mmm-vars.el (mmm-never-modes): Added `eshell-mode'.
569 2000-06-28 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
571 * NEWS, configure.in, mmm-vars.el: Released 0.4.1.
573 * mmm-region.el (mmm-overlays-in): Added DELIM parameter.
574 (mmm-submode-changes-in): Added strict flags calling overlays-in.
576 2000-06-27 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
578 * configure.in, mmm-vars.el: Released 0.4.0.
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
585 Fixed bug saving variables when creating regions; need to set them first.
587 * mmm-region.el: Added creation-hook, fixed mode-name problem.
589 * mmm-class.el: Added mmm-[get,set]-class-parameters and creation-hook.
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.
595 2000-06-26 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
598 Rewrote local variable functions, added new ones, changed updating,
599 fontification, and region creation functions to handle this.
602 Added setting and clearing local variables with mode on and off.
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.
609 2000-06-23 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
611 * mmm-vars.el (mmm-save-local-variable):
612 Added comment-line-start-skip for Fortran.
614 2000-06-13 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
616 * mmm.texinfo: Added comment about (require 'mmm-mason).
618 2000-06-08 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
620 * configure.in, mmm-vars.el: Released 0.3.10
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.
626 * configure.in, mmm-vars.el: Released 0.3.9.
628 * mmm-region.el (use-local-map):
629 Conditioned advice definition on not XEmacs.
631 2000-05-28 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
634 Added info file and auxiliary compilation and texinfo files.
636 * .cvsignore: Added configure auxiliary files.
638 * .cvsignore: Ignored Makefile.in, Makefile, and configure.
640 * COPYING, INSTALL, install-sh, mdate-sh, missing, mkinstalldirs, texinfo.tex:
641 Added files required by automake.
643 * mmm.texinfo, elisp-comp, TODO, README, NEWS, ChangeLog, AUTHORS:
644 Added to CVS (formerly not under RCS).
646 2000-05-24 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
648 * mmm-auto.el: Pre-added major mode hook to text-mode-hook.
650 2000-05-19 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
652 * mmm-vars.el (mmm-version): changed to 0.3.8.
654 2000-05-18 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
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.
660 * mmm-mode.el, mmm-cmds.el, mmm-class.el:
661 Moved `require's back to top level for byte-compiling.
663 * mmm-auto.el: `require'd mmm-vars at top level for byte-compiling.
666 Added all the elisp files to EXTRA_DIST, since Automake doesn't see
667 them as sources for the distribution.
669 2000-05-10 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
671 * mmm-mason.el: Fixed bug: # is not allowed in symbols.
674 Changed insertion key of <%doc> to `d' and added insertion of %#
675 comment lines with insertion keys `#' and `3'.
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
684 Fixed "sub"-insertion specs like <%perl> under <%TAG> not to insert
685 the interactor string.
687 2000-05-03 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
689 * mmm-mason.el: Added dependencies on mmm-compat and mmm-vars.
691 2000-04-30 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
693 * configure.in, Makefile.am: New file.
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.
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.
703 * mmm-utils.el: Loaded CL at top level for byte-compile.
705 2000-04-29 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
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
713 2000-04-27 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
715 * All: Started using RCS.
717 2000-04-27 Michael Abraham Shulman <mas@kurukshetra.cjb.net>
719 * mmm-sample.el (mmm-javascript-mode): Created customization
720 variable to select mode to use for javascript regions.
722 2000-03-26 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
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.
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.
733 2000-03-24 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
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'.
739 * README: Created file giving information on inital installation.
741 * Makefile: Created makefile to compile elisp files and make info
742 file from texinfo file.
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.
749 * mmm-cmds.el: Renamed from `mmm-inter.el'.
750 (mmm-end-current-region): Added command, with key binding.
752 * mmm-vars.el (mmm-classes-alist): Documentation updated for
753 unified submode classes.
755 * mmm-class.el (mmm-ify): BEG and END arguments removed; just use
758 * mmm-utils.el (mmm-format-matches): Ignores non-string arguments.
760 * mmm-class.el (mmm-apply-class): Faces supplied for grouping
761 classes now override those on included classes. Parents will do
764 * mmm-inter.el: Bound `mmm-parse-block' to C-c % 5 as well.
765 (mmm-reparse-current-region): Added command, with key binding.
767 * mmm-insert.el: Deleted file, merging contents (insert by
768 keystrokes) into `mmm-inter.el'. Auto-detection insert will
769 probably go elsewhere.
771 * mmm-inter.el (mmm-clear-current-region): Uses `mmm-overlay-at'
772 with `all' inclusion type.
774 * mmm-region.el (mmm-overlays-at): Added `all' inclusion type.
776 * mmm-class.el (mmm-apply-class, etc.): Submode classes have been
777 unified--no more 'regexp, 'region, 'group, etc.
779 2000-03-23 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
781 * mmm-inter.el (mmm-parse-buffer, mmm-parse-region, mmm-parse-block):
782 Added "Operating...done" messages.
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.
788 * mmm-update.el (use-local-map): Advised to keep track of changed
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.
797 2000-03-22 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
799 * mmm-utils.el (mmm-valid-buffer): Renamed and added checking for
802 * mmm-vars.el (mmm-never-modes): Added, to prevent "temporary
803 shell-mode buffers" and other unnecessariness.
805 * mmm-region.el (mmm-overlays-in): Fixed strictness so it doesn't
806 try to match delimiters of non-mmm overlays.
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.
812 * mmm-sample.el: Created file, removing code from `mmm-mode.el'.
814 * mmm-auto.el: Created file, removing code from `mmm-mode.el'.
816 * mason.el: Created file, removing code from `mmm-mode.el'.
818 * mmm-insert.el: Created file, removing code from `mmm-mode.el'.
820 2000-03-20 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
822 * mmm-update.el: Created file, removing code from `mmm-mode.el'.
824 * mmm-inter.el: Created file, removing code from `mmm-mode.el'.
826 * mmm-class.el: Created file, removing code from `mmm-mode.el'.
828 * mmm-mode.el (mason): Removed highlight for %doc regions.
830 * mmm-region.el: Created file, removing code from `mmm-mode.el'.
832 * mmm-utils.el: Created file, removing code from `mmm-mode.el'.
834 * mmm-compat.el: Created file, removing code from `mmm-mode.el'.
836 * mmm-vars.el: Created file, removing code from `mmm-mode.el'.
838 * TODO: Created TODO file, removing comments from `mmm-mode.el'.
840 * ChangeLog: Created ChangeLog file and (more or less) ported
841 existing Change Log to official format.
843 2000-03-19 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
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'.
849 Added :insert class parameters. Classes can now define skeletons
850 to insert submode regions with delimiters based on a keypress.
852 Added `mmm-insert-modifiers' and `mmm-command-modifiers' to
853 configure which keys do what.
855 2000-03-18 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
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
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.
870 Changed a couple of `eval-and-compile's to `eval-when-compile'.
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.
878 2000-03-14 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
880 * Version 0.3.7a released.
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.
885 2000------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
887 * Version 0.3.7 released.
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
893 Renamed mode and submode hook variables to start with `mmm-'.
895 Added "class hooks" run whenever a class is first used in a
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.
904 Removed "Disclaimers" comment section; I think we have enough
905 testing that it should work on most systems.
907 Reversed order of Change Log so newer changes come first.
909 Changed the default submode highlight to a more neutral gray.
911 Renamed various "start" and "end" parameters to be more uniform.
913 (mmm-ify-by-region): now checks if the region is in bounds.
915 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
917 * Version 0.3.6c released.
919 * mmm-mode.el: Added comment about putting autohandlers and
920 dhandlers in html-mode.
922 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
924 * Version 0.3.6b released.
926 * mmm-mode.el: Added comment about `psgml-mode' thanks to Michael
929 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
931 * Version 0.3.6a released.
933 * mmm-mode.el: Loaded CL at compile-time to prevent execution of
936 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
938 * Version 0.3.6 released.
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.
946 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
948 * Version 0.3.5a released.
950 * mmm-mode.el (mmm-ify-by-all): no longer re-fontifies buffers
953 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
955 * Version 0.3.5 released.
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.
962 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
964 * Version 0.3.4 released.
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.
970 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
972 * Version 0.3.3 released.
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
982 1999------ Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
984 * Version 0.3.2 released.
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
990 1999-11-21 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
992 * Version 0.3.1 released.
994 * mmm-mode.el (mmm-ify-by-class) now adds to history rather than
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.
1002 1999-11-21 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
1004 * Version 0.3.0 released.
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
1012 Allowed submode lists to contain :class keyword, so one class can
1013 invoke another one, if they share submode methods.
1015 1999-11-19 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
1017 * Version 0.2.2a released.
1019 * mmm-mode.el: Fixed bug.
1021 1999-11-18 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
1023 * Version 0.2.2 released.
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.
1032 1999-11-16 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
1034 * Version 0.2.1 released.
1036 * mmm-mode.el: Fixed font-lock absence, with-temp-message absence,
1037 mmm-ifying temp buffer.
1039 1999-11-15 Michael Abraham Shulman <viritrilbia@kurukshetra.cjb.net>
1041 * Version 0.2.0 released to HTML::Mason mailing list.
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
1048 1999-01-12 Gongquan Chen <chen@posc.org>
1050 * Version 0.11 released.
1052 * mmm.el: Fixed doc-strings and style. Thanks to comments from
1053 Jari Aalto <jaalto@tre.tele.nokia.fi>
1055 1999-01-11 Gongquan Chen <chen@posc.org>
1057 * Version 0.10 released.
1059 * mmm.el: Initial release of mmm.el on comp.emacs.xemacs