[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ef3eb61 070/433: # Did stuff, updated comments.
From: |
Dmitry Gutov |
Subject: |
[elpa] master ef3eb61 070/433: # Did stuff, updated comments. |
Date: |
Thu, 15 Mar 2018 19:43:36 -0400 (EDT) |
branch: master
commit ef3eb612d9ac2588eb4a94adbdd5c3fcee49928e
Author: mas <mas>
Commit: mas <mas>
# Did stuff, updated comments.
---
TODO | 36 +++++++++++++-----------------------
1 file changed, 13 insertions(+), 23 deletions(-)
diff --git a/TODO b/TODO
index 93c09df..0563b9d 100644
--- a/TODO
+++ b/TODO
@@ -3,25 +3,15 @@ Hey Emacs, this is a -*-text-*- file!
To Do List for MMM Mode
=======================
-Add a flag to specify with more detail where submode regions start and
-stop with respect to the matches. Perhaps a flag that takes a
-function as argument, with several supplied functions to choose from.
-`next-newline' and `previous-newline' are possible ones, as are
-beginning, end, and current default. They should be passed the
-submode class and inspect the match data. Maybe they return info in
-the match data as well.
-
-Add `mmm-global-classes' variable, specifying submode classes that
-apply to all buffers in which MMM Mode is on. Not buffer-local by
-default, but can be turned off file locally. Supply a class which
-lets you delimit regions and specify the mode, e.g. %[cperl]%
-... %[/cperl]%. For this, need a class parameter which specifies the
-submode dynamically rather than statically, say :find-submode?
-If mmm-global-mode is 'maybe, it would be nice to detect whether a
-buffer contains such strings to conditionally turn MMM on.
+Let :[front,back]-offset take a function as argument, with several
+supplied functions to choose from, such as `next-newline' and
+`previous-newline' are possible ones, as are beginning, end, and
+current default. They should be passed the submode class and inspect
+the match data. Maybe they return info in the match data as well.
Improve font-locking somehow. Maybe narrow the region before
fontifying, maybe trap or advise `parse-partial-sexp' (and friends?).
+This may no longer be necessary; waiting advised.
The local-variables improvements can probably be used to set minor
modes locally to submode regions. This could replace tmmofl,
@@ -34,7 +24,7 @@ doesn't work as it should.
Trap paragraph motion commands to stop at submode boundaries?
-Add JDE-mode, JavaSQL (see +mmm), Embperl, Eperl, ASP, etc.
+Add JDE-mode, JavaSQL (see +mmm), Eperl, ASP, etc.
How about this? Whenever text is inserted anywhere in the buffer:
1. If in or after a region (with hanging back?), scan for its back.
@@ -58,12 +48,12 @@ maybe do it in that class hook. But other classes might
have similar
single-line regions. Add a new submode class argument, such as KEYMAP,
or even ONE-LINE?
-How about allowing nested submode regions? A submode class could
-specify its "parent" submode class. This could also be used to
-implement htp.p, by first scanning for the function calls as a
-major-mode submode region, then requiring that parent type for the
-HTML mode class. Similarly, eval-elisp could have one class to find
-the Local Variables list, then another within it.
+Allowing nested submode regions. A submode class can specify its
+"parent" submode class. This could also be used to implement htp.p,
+by first scanning for the function calls as a major-mode submode
+region, then requiring that parent type for the HTML mode class.
+Similarly, eval-elisp could have one class to find the Local Variables
+list, then another within it.
Ought %text in Mason to be a non-submode, since any Mason tags inside
it will probably be /edited/ as Perl (being, say, code examples)? Only
- [elpa] master f3c157e 072/433: # Updated for 0.4.2., (continued)
- [elpa] master f3c157e 072/433: # Updated for 0.4.2., Dmitry Gutov, 2018/03/15
- [elpa] master 26aea58 055/433: (mmm-never-modes): Added `eshell-mode'., Dmitry Gutov, 2018/03/15
- [elpa] master bda9c32 056/433: (mmm-check-changed-buffers): Added check against minibuffers., Dmitry Gutov, 2018/03/15
- [elpa] master f290ed6 058/433: (mmm-check-changed-buffers): Checked for live buffer., Dmitry Gutov, 2018/03/15
- [elpa] master e41d6a5 067/433: Allowed dynamically specified submodes., Dmitry Gutov, 2018/03/15
- [elpa] master b47953f 078/433: (mmm-keywords-used): Added :classes., Dmitry Gutov, 2018/03/15
- [elpa] master 4d6f499 087/433: # Created file to aid developer(s)., Dmitry Gutov, 2018/03/15
- [elpa] master b5ba692 076/433: Reordered Inspection and Creation for byte compiler., Dmitry Gutov, 2018/03/15
- [elpa] master c0edb53 077/433: Released 0.4.2a., Dmitry Gutov, 2018/03/15
- [elpa] master 57ea76d 052/433: (mmm-overlays-in): Added DELIM parameter., Dmitry Gutov, 2018/03/15
- [elpa] master ef3eb61 070/433: # Did stuff, updated comments.,
Dmitry Gutov <=
- [elpa] master 877b10b 065/433: Added Embperl., Dmitry Gutov, 2018/03/15
- [elpa] master f1bfef8 048/433: Changed mmm-global-mode to use post-command-hook method rather than, Dmitry Gutov, 2018/03/15
- [elpa] master 6c74ab7 075/433: Moved mmm-mode variable to mmm-vars.el., Dmitry Gutov, 2018/03/15
- [elpa] master c608d3a 079/433: (mmm-insert-by-key): Made inserted regions beg- and end-sticky., Dmitry Gutov, 2018/03/15
- [elpa] master e8be7cb 081/433: # Removed (require 'font-lock)., Dmitry Gutov, 2018/03/15
- [elpa] master db933b6 084/433: (mmm-make-temp-buffer): Added as workaround for make-indirect-buffer., Dmitry Gutov, 2018/03/15
- [elpa] master 7971c49 080/433: (mmm-update-mode-info): Killed any lingering temporary buffers., Dmitry Gutov, 2018/03/15
- [elpa] master 5837c90 066/433: Fixed font-lock woes (hopefully)., Dmitry Gutov, 2018/03/15
- [elpa] master 9d39887 088/433: # Updated stuff., Dmitry Gutov, 2018/03/15
- [elpa] master 64abad9 089/433: Created file., Dmitry Gutov, 2018/03/15