Re: my_hdr, realname, signature ???
* Michael D Schleif <mds@xxxxxxxxxxx> [2004-09-29 14:59 -0500]:
> * Mads Laursen <dossen+mutt@xxxxxxxxxxx> [2004:09:29:21:23:59+0200] scribed:
> > If you want to set the same options with both folder- and send-hooks
> > you need to use the folder-hooks to change the send-hooks, since they
> > will otherwise override the folder-hooks.
> > folder-hook . 'send-hook . xyz'
> > folder-hook =list 'send-hook . zyx'
> > That way the setting is always made by a send-hook, but the send-hook
> > depends on the folder.
> <snip />
> If I understand your suggestion, I must use folder-hook to call *ALL* of
> my send-hook's?
Yes, but that shouldn't be that hard, you just have to add
'folder-hook . ' in front of most of them.
> If so, then I must change my other behaviour, because my send-hook's
> will no longer work, unless I am in the proper holder. Right?
No, you can add all of your normal send-hooks in any folder, so new
mails to other mailing lists shouldn't be a problem. The only problem
would be mails with your default identity.
> I find it reasonable to require presence in a specific folder when
> replying to a message, regardless ON or OFF list. However, I am not
> comfortable with requiring presence in a specific folder, just to fire
> off any original message.
> Is there no other way to achieve my goals?
I haven't used them, but there are reply-hooks, too. But I don't know
wether they can help.
Perhaps you can bind 'r'eply to an macro depending on the folder.
> What do you think?
Can't think now, I'm too tired.