On Tue, Jan 08, 2002 at 11:42:26AM +0100, Vincent Lefevre wrote:
> On Mon, Jan 07, 2002 at 21:44:05 -0800, Gary Johnson wrote:
> > There is no built-in way to hide the "[-- ... --]" stuff, but I got
> > tired of looking at it, especially surrounding the frequent HTML
> > messages I receive and around people's PGP signatures, so I added this
> > to my folder-hooks for mailing lists:
> > 
> >     folder-hook +Incoming/. 'set display_filter="sed '\''/^\\[-- .* --]$/d'\''"'
> 
> But this will remove too much.

As I said, for other mailboxes I use a script that is more selective:

    sed '
            /^\[-- Autoview using .* --]$/d
            /^\[-- Attachment .* --]$/d
            /^\[-- Type: .* --]$/d
    '

> And using sed would probably slow down the display.

I suppose it depends on your machine.  I don't notice any difference on
my HP 9000/785 workstation.  I wouldn't expect any noticable effect on a
newer PC running Linux, either.

Gary

-- 
Gary Johnson                               | Agilent Technologies
[EMAIL PROTECTED]                   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |

Reply via email to