(Neat feature: tagged reply)

On Mon, Dec 31, 2001 at 01:36:03PM +0100, Andre Majorel wrote:
> On 2001-12-28 18:22 +0100, Roman Neuhauser wrote:
> 
> > > I thought that 
> > > 
> > >   message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
> > > 
> > > would do the trick but Mutt says "pipe-message: unknown command".
> > 
> > It's <pipe-message> (incl. the angle brackets) isn't it?
> 
> I've tried that too and Mutt doesn't like it either.

If you're trying to call a function you need to push or exec it onto the
keyboard buffer ie.

message-hook "~f joe@blow\.com" "push '<pipe-message>/usr/local/bin/unmangle<Return>'" 
(untested)
or
message-hook "~f joe@blow\.com" "exec pipe-message /usr/local/bin/unmangle" (untested)

Although the method I use is in the next message as works 100%:

On Mon, Dec 31, 2001 at 01:37:39PM +0100, Andre Majorel wrote:
> On 2001-12-28 17:15 +0100, Nicolas Rachinsky wrote:
> > On Fri, Dec 28, 2001 at 05:09:05PM +0100, Andre Majorel <[EMAIL PROTECTED]>
> > wrote:
> > > I thought that 
> > > 
> > >   message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
> > > 
> > > would do the trick but Mutt says "pipe-message: unknown command".
> > 
> > I would try
> > message-hook . "unset display_filter"
> > message-hook "~f joe@blow\.com" "set display_filter=/usr/local/bin/unmangle"
> > 
> > but this is untested.
> 
> Thanks, this works fine, at least for the viewing part of the
> deal. I guess we need a reply_filter variable.


-- 
Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>

Attachment: msg22068/pgp00000.pgp
Description: PGP signature

Reply via email to