From: Richard Russon Date: Wed, 8 Nov 2017 16:47:29 +0000 (+0000) Subject: doc: display_filter escape sequence X-Git-Tag: neomutt-20171208~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=289266a9f2b524fa7f88b0e59a18c961ff0ae88e;p=neomutt doc: display_filter escape sequence Issue #897 --- diff --git a/init.h b/init.h index 1f14d4d6c..650241ae2 100644 --- a/init.h +++ b/init.h @@ -723,6 +723,17 @@ struct Option MuttVars[] = { ** When set, specifies a command used to filter messages. When a message ** is viewed it is passed as standard input to $$display_filter, and the ** filtered message is read from the standard output. + ** .pp + ** When preparing the message, NeoMutt inserts some escape sequences into the + ** text. They are of the form: \fC]9;XXX\fP where "XXX" is a random + ** 64-bit number. + ** .pp + ** If these escape sequences interfere with your filter, they can be removed + ** using a tool like \fCansifilter\fP or \fCsed 's/^\x1b]9;[0-9]\+\x7//'\fP + ** .pp + ** If they are removed, then PGP and MIME headers will no longer be coloured. + ** This can be fixed by adding this to your config: + ** \fCcolor body magenta default '^\[-- .* --\]$$'\fP. */ { "dsn_notify", DT_STRING, R_NONE, UL &DsnNotify, UL "" }, /*