On 10/08/07 15:08, shen xiaofei wrote:
> Hello,Joseph <[EMAIL PROTECTED]>!
> 
> * You wrote on Sun, Oct 07, 2007 at 11:15:29PM -0600:
> > Is there a limit how many variable I can assign to a hook?
> > I have below:
> > 
> > send-hook . 'unmy_hdr From:'
> > send-hook '~t [EMAIL PROTECTED]' 'set signature=~/.mutt/signature-personal' 
> > 'my_hdr From: Joseph <[EMAIL PROTECTED]>
> > 
> > The signature part is working but my_hdr gives me "unknown variable" 
> > when I try to compose a message.
> 
> This works for me:
> send-hook . 'my_hdr from:shen xiaofei<[EMAIL PROTECTED]>;set 
> signature="~/.mutt/signature"'
> send-hook '! ~t .*' 'my_hdr from:bugip <[EMAIL PROTECTED]>;set 
> signature='';set record='''
> send-hook ~l 'set signature='''

BINGO!
So it is a semicolon ";" that need to be between the pattersns. 

Thank you, golden information!
-- 
#Zbyszek
GPG KeyID: ED0E1FB7

Reply via email to