From 50ed5b3a2487b818a0741a7c4fe7f5ec52d52d7c Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 22 Sep 2006 16:45:50 +0000 Subject: Update to 0.4.8 from sourceforge. --- mmm/FAQ | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 17 deletions(-) (limited to 'mmm/FAQ') diff --git a/mmm/FAQ b/mmm/FAQ index 3b1c93dd..20cb8e01 100644 --- a/mmm/FAQ +++ b/mmm/FAQ @@ -10,14 +10,15 @@ emacs mode or function. He does think, however, that `Mmm' looks rather ugly, although that is how SourceForge insists on capitalizing the name of the mailing list. + * How do I get rid of that ugly gray background color? Put the following line in your Emacs initialization file: - (set-face-background 'mmm-default-submode-face nil) + (setq mmm-submode-decoration-level 0) You may want to try using MMM Mode for a while with the background -highlight, however, or merely changing it to different color. There +highlight, however, or merely changing it to a different color. There are two reasons it's there by default: 1. MMM Mode isn't as smart as you might hope it would be about @@ -26,7 +27,10 @@ are two reasons it's there by default: 2. Just like the rest of font-lock, it helps you mentally organize the code; you can see at a glance that THIS code is executed as Perl, - but THAT code is straight HTML (or whatever). + but THAT code is straight HTML (or whatever). You can get even + more help by setting the above variable to 2, in which case regions + will get a background color according to their function. + * I typed `<%' (or other delimiter) but I'm still in the wrong mode. @@ -41,6 +45,26 @@ the need to type the delimiters as well as the need to reparse the block: type `C-c % h' for a list of available insertion commands for current submode class(es). + +* Why is the first character of the end delimiter in the submode region? + +It isn't. When your cursor looks like it is over that character, it +is actually *before* that character and therefore inside the submode +region. You can check that the offending character does not have the +background highlight--that is, if you haven't set the decoration level +to 0. For example, in the following text (where -!- represents the +cursor position) + + print <, there is -a link to the sign-up page for the MMM Mode mailing list. When asking -a question on the list, be sure to give the versions of emacs and MMM -Mode you are using, and any other relevant information. +a link to the subscription page for the MMM Mode mailing list. When +asking a question on the list, be sure to give the versions of emacs +and MMM Mode you are using, and any other relevant information. -- cgit v1.2.3