Re: Multiple commands in a single hook

2000-11-26 Thread Gary Johnson

On Sun, Nov 26, 2000 at 02:39:42PM +1100, Tom Nott wrote:
 I'm trying to create a send hook that both sets $signature and does a
 my_hdr in the one go.

 So, is there any way of executing multiple commands with *one* send-hook
 apart from putting them into a separate file and sourcing them? I've
 tried separating with ';', enclosing in ''' and separating with a
 newline, but to no avail.

You had the right ideas and were probably close.  Here's an example from
my muttrc.

send-hook . 'my_hdr From: [EMAIL PROTECTED]; set 
signature=$HOME/.mutt/signature.external'

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: Multiple commands in a single hook

2000-11-26 Thread Michael Tatge

Tom Nott muttered:
 I'm trying to create a send hook that both sets $signature and does a
 my_hdr in the one go.
 
send-hook 'regex' 'set signature=~/.signature; my_hdr X-Hello: Hi I'm Mutt!'

HTH,

Michael
-- 
VMS version 2.0 ==

PGP-Key: http://www.stud.ims.uni-stuttgart.de/~tatgeml/public.key