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

Re: send-hook my_hdr unknown variable



On 10/08/07 00:20, Javier Rojas wrote:
> > send-hook . 'unmy_hdr From:'
> > send-hook '~t ^xxxx@xxxxxxxxx' 'set signature=~/.mutt/signature-personal' 
> > 'my_hdr From: Joseph <xxxxx@xxxxxxxxxxxx>
> > 
> > The signature part is working but my_hdr gives me "unknown variable" 
> > when I try to compose a message.
> first of all, you are missing the ending ' on the second hook
> 
> second, the hook only accepts one string. If you need it to do all that,
> you should put both commands in one string (that's what I remember, or
> maybe you'll have to define 2 hooks)
> 
> Greets,
> 
> -- 
> Javier Rojas
> 
> GPG Key ID: 0xA1C57061

Ah, that ending was there '
What the problem is that I actually have three patterns on one line, and 
I tried putting them between single quotes; but it doesn't work.

send-hook '~t ^xxxx@xxxxxxxxx' 'set signature=~/.mutt/signature-personal 
my_hdr From: Joseph <xxxxx@xxxxxxxxxxxx> set record=~/.maildir/friends'

Is there something to joint the patterns?

Thanks.
-- 
#Joseph
GPG KeyID: ED0E1FB7