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

Re: send-hook my_hdr unknown variable



On Sun, Oct 07, 2007 at 11:15:29PM -0600, Joseph wrote:
> Is there a limit how many variable I can assign to a hook?
> I have below:
> 
> 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

Attachment: pgpDTJqr1LJni.pgp
Description: PGP signature