++ 09/06/99 16:16 -0400 - Mike Broome:
>You can load your .muttrc with the command ":source .muttrc".  However,
>this will not actually reload your settings.  It will load the settings
>in .muttrc in top of any current settings.  For testing some changes
>(especially some hooks), I've found no other solution than to quit and
>restart mutt so as to get a clean .muttrc load from scratch.

If i add a send-hook for a something (say, to create From field that is
depended from what is in the Subject line), i always add a send-hook
which makes a default.

These are some of the send-hooks in my .muttrc:

send-hook .                                             'my_hdr From: Rejo 
<[EMAIL PROTECTED]>'
send-hook .                                             'my_hdr Reply-To: Rejo 
<[EMAIL PROTECTED]>'
send-hook .                                             'set signature=~/.signature'
send-hook '~t [EMAIL PROTECTED]'                      'my_hdr From: Rejo 
<[EMAIL PROTECTED]>'
[...]
send-hook '~s Live ~s Local'                            'my_hdr From: Live & Local 
<[EMAIL PROTECTED]>'
send-hook '~s Live ~s Local'                            'my_hdr Reply-To: Live & Local 
<[EMAIL PROTECTED]>'
send-hook '~t [EMAIL PROTECTED]'    'my_hdr Reply-To: Live & Local 
<[EMAIL PROTECTED]>'
send-hook '~t [EMAIL PROTECTED]'    'my_hdr From: Rejo 
<[EMAIL PROTECTED]>'
send-hook '~s "spam complaint"'                         'my_hdr From: Rejo 
<[EMAIL PROTECTED]>'

So, changed Reply-To or From lines are resetted to a default with the
first two send-hooks. Order is important here.

Not what we were talking about, but i have question about the two
send-hooks with the '~s Live ~s Local' in it. It should catch all
subjects with 'Live & Local', but if i add this ampersand in the
send-hook it gets messed up. I tried various ways of escaping, but
didn't found the correct one. Does anyone know which i should use?

    -Rejo.

-- 
= Rejo  [Sister Ray Crisiscentrum]                      [EMAIL PROTECTED]
= http://mediaport.org/~sister                PGP: RSA FAE40065, DSS/DH 2C8059B5
--------------------------------------------------------------------------------


Reply via email to