emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master d94c8be 240/433: * FAQ: Added question about end delimiter


From: Dmitry Gutov
Subject: [elpa] master d94c8be 240/433: * FAQ: Added question about end delimiter.
Date: Thu, 15 Mar 2018 19:44:12 -0400 (EDT)

branch: master
commit d94c8beded672e7ba66e75d9820dad7c28f33a3b
Author: viritrilbia <viritrilbia>
Commit: viritrilbia <viritrilbia>

    * FAQ: Added question about end delimiter.
---
 FAQ | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/FAQ b/FAQ
index 10ab769..0fab300 100644
--- a/FAQ
+++ b/FAQ
@@ -10,6 +10,7 @@ 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:
@@ -30,6 +31,7 @@ are two reasons it's there by default:
    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.
 
 MMM Mode isn't that smart yet.  You have to tell it explicitly to
@@ -43,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 <<END_TEXT;
+  here is some text
+  -!-END_TEXT
+
+The 'E' at the beginning of the END_TEXT line is not actually part of
+the submode region.  But with the cursor as indicated (that is, the
+box is blinking over the `E' which follows the actual cursor
+position), Emacs is in text-mode.
+
+
 * Why won't MMM Mode work with `foo-mode'?
 
 Foo-mode probably has extra variables or states that need to be set
@@ -54,6 +76,7 @@ Either way, please contact the maintainer or the mailing list 
when
 (if) you find something that works, so that in the future, folks can
 use MMM Mode and foo-mode together more easily.
 
+
 * I'm getting an emacs error, what did I do wrong?
 
 Most likely nothing.  MMM Mode is still more or less alpha software
@@ -78,6 +101,7 @@ point out errors, but only with your init code and a 
backtrace.
     while loading emacs, invoke emacs with the `--debug-init' (Emacs)
     or `-debug-init' (XEmacs) switch.
 
+
 * Will MMM Mode work with (Emacs 19 / XEmacs 20 / XEmacs 21 / etc...)?
 
 MMM Mode is designed for FSF Emacs 20 and works best there, but it can
@@ -95,6 +119,7 @@ list, but success is not guaranteed.
 MMM Mode will support Emacs 21 as soon as possible.  It appears to
 work relatively well already, but extensive testing has not been done.
 
+
 * XEmacs says `Symbol's function definition is void: make-indirect-buffer'.
 
 You probably used FSF Emacs to compile MMM as it is the one used by
@@ -112,6 +137,7 @@ compiled MMM Mode for the wrong emacs, but can never hurt.  
The exact
 error message this problem produces may change with newer versions of
 MMM Mode; always be sure you have compiled for the correct emacsen.
 
+
 * You haven't answered my question; how can I get more help?
 
 At the MMM Mode web site, <http://mmm-mode.sourceforge.net>, there is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]