Re: [Mutt] #3211: [-- Autoview using %s --] should have a format string
On 2009-03-31, Mutt <fleas@xxxxxxxx> wrote:
> Some of my mailcap entries are quite long. They show up in the mutt pager
> like this:
>
> [-- Autoview using w3m -cols 70 -o frame=1 -o graphic_char=1 -o
> ignore_null_img_alt=1 -o color=0 -o follow_locale=1 -dump
> file://'/tmp/mutt.html' --]
>
> I'd really like to tell mutt to show me only:
>
> [-- Autoview using w3m --]
>
> That would be my personal preference, but I can imagine other preferences.
> Can we make a format string for this?
You can use a display_filter to modify these or get rid of them
entirely, e.g.,
set display_filter="sed '/^\[-- .* --]$/d'"
HTH,
Gary