From 84096630e3d2b55aa5cdfdba453c4962c236ea89 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Tue, 19 Aug 2008 13:14:51 -0700 Subject: [PATCH] Better documentation for how quote_regexp determines quote level. Closes #1463. --- ChangeLog | 9 +++++++++ init.h | 16 ++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c1234cd..9ff80753 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-08-19 09:39 +0200 Rocco Rutte (3e850c6e43fd) + + * handler.c, mutt.h: Make text/enriched handler multibyte aware. + Closes #3033. + +2008-08-18 13:08 -0700 Vincent Lefevre (95a11c7f677d) + + * po/fr.po: Updated French translation. + 2008-08-18 10:24 +0200 Rocco Rutte (51bd7a47d552) * pager.c: Ignore zero width characters U+200B/U+FEFF which may garble diff --git a/init.h b/init.h index a204f949..370655c0 100644 --- 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 }, /* -- 2.50.0