Re: striping attachment lines in the pager
On 2003-12-13, "Denis V. Lozko" <talmuth@xxxxxxxxxxxxx> wrote:
> Hi, mutters!
> is there the way to strip attachment lines in the pager view?
> I mean lines:
>
> [-- Attachment #1 --]
> [-- Type: text/plain, Encoding: 7bit, Size: 0.3K --]
>
> I've try :
>
> :color attachment black default
>
> but this way left blank spaces, and will heve no effect if i'll use
> terminal with a transparant background (like Eterm or kterm)
>
> any ideas?
Yes, use a 'display_filter', e.g.,
set display_filter="sed '/^.*\\[-- .* --]$/d'"
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA