<<< Date Index >>>     <<< Thread Index >>>

Re: Display Filters



* On Fri, Jun 30, 2006 Jerry VB (jevb+mutt@xxxxxxxxxxxx) muttered:
> On Thu, Jun 29, 2006 at 06:58:50PM -0700, Gary Johnson wrote:
> Here's my script:
> 
> sed -e "/^\[-- Attachment .* --].*$/d"
> 
> Okay, I'll admit it, I can't figure out how to use this script.
> message-hook . "source ~/.mutt/scripts/strip"

Wrong, you cannot source a sed script. Point $display_filter to it.

set display_filter=~/.mutt/scripts/strip

No need for a message-hook in this case.

HTH,

Michael
-- 
Stinginess with privileges is kindness in disguise.
                -- Guide to VAX/VMS Security, Sep. 1984

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de