On Tue, Sep 01, 2015 at 12:13:04PM +1000, Cameron Simpson wrote: > In case anyone wants this... > > I just had someone highlight some text I'd missed in a quote, *thus*. Now > I'm using this script "mutt-highlight" in my default display_filter: > > https://bitbucket.org/cameron_simpson/css/src/tip/bin/mutt-highlight > > Share and enjoy. Use the "Raw" link to fetch. The script contains literal > ESC characters. > > Cheers, > Cameron Simpson <c...@zip.com.au>
Thanks. I didn't know you could do that. It seems that it requires 'allow_ansi' to be set to 'yes' though. To my understanding, this allows ANSI sequences in the original message to be interpreted, which, as suggested by mutt's manual, does pose somewhat of a security risk. It would be nice to have a way to have an option like 'allow_display_ansi' which would permit ANSI sequences to be added by the display filter while still filtering out ANSI sequences present in the original message. Oh well, ... maybe I'll see about writing a patch. -- mwnx GPG: AEC9 554B 07BD F60D 75A3 AF6A 44E8 E4D4 0312 C726