]> granicus.if.org Git - mutt/commitdiff
Better documentation for how quote_regexp determines quote level.
authorBrendan Cully <brendan@kublai.com>
Tue, 19 Aug 2008 20:14:51 +0000 (13:14 -0700)
committerBrendan Cully <brendan@kublai.com>
Tue, 19 Aug 2008 20:14:51 +0000 (13:14 -0700)
Closes #1463.

ChangeLog
init.h

index 2c1234cde15b5dd2a8e27cbf9f27300bae5d6de9..9ff80753ec1becdadadd00d8c9c5a47ea3314a0f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-08-19 09:39 +0200  Rocco Rutte  <pdmef@gmx.net>  (3e850c6e43fd)
+
+       * handler.c, mutt.h: Make text/enriched handler multibyte aware.
+       Closes #3033.
+
+2008-08-18 13:08 -0700  Vincent Lefevre  <vincent@vinc17.org>  (95a11c7f677d)
+
+       * po/fr.po: Updated French translation.
+
 2008-08-18 10:24 +0200  Rocco Rutte  <pdmef@gmx.net>  (51bd7a47d552)
 
        * pager.c: Ignore zero width characters U+200B/U+FEFF which may garble
diff --git a/init.h b/init.h
index a204f9497fab015872d31ae592a533babdb44aa7..370655c00baf8c495025d8d686ee03d85b9d99bf 100644 (file)
--- a/init.h
+++ b/init.h
@@ -2315,13 +2315,17 @@ struct option_t MuttVars[] = {
   { "quote_regexp",    DT_RX,   R_PAGER, UL &QuoteRegexp, UL "^([ \t]*[|>:}#])+" },
   /*
   ** .pp
-  ** A regular expression used in the internal-pager to determine quoted
-  ** sections of text in the body of a message.
+  ** A regular expression used in the internal pager to determine quoted
+  ** sections of text in the body of a message. Quoted text may be filtered
+  ** out using the ``toggle-quoted'' command, or colored according to the
+  ** ``color quoted'' family of directives.
   ** .pp
-  ** \fBNote:\fP In order to use the \fIquoted\fP\fBx\fP patterns in the
-  ** internal pager, you need to set this to a regular expression that
-  ** matches \fIexactly\fP the quote characters at the beginning of quoted
-  ** lines.
+  ** Higher levels of quoting may be colored differently (``color quoted1'',
+  ** ``color quoted2'', etc.). The quoting level is determined by removing
+  ** the last character from the matched text and recursively reapplying
+  ** the regular expression until it fails to produce a match.
+  ** .pp
+  ** Match detection may be overridden by the ``$smileys'' regular expression.
   */
   { "read_inc",                DT_NUM,  R_NONE, UL &ReadInc, 10 },
   /*