Re: Hooks order of precedence

2002-02-28 Thread Gary Johnson
On Thu, Feb 28, 2002 at 11:06:39AM -0500, Rob Reid wrote: Maybe it could be made folder specific by tying the send-hook to an alias, or even user+folder@domain, that is only used when emailing user from folder. You can have a folder-hook set a send-hook, like this: folder-hook .

Re: Hooks order of precedence

2002-02-28 Thread Erik Rothwell
On Thu, Feb 28, 2002 at 10:28:49AM -0800, Gary Johnson wrote: On Thu, Feb 28, 2002 at 11:06:39AM -0500, Rob Reid wrote: Maybe it could be made folder specific by tying the send-hook to an alias, or even user+folder@domain, that is only used when emailing user from folder You can have a

Re: Hooks order of precedence

2002-02-28 Thread Knute
On Thu, 28 Feb 2002, Erik Rothwell wrote: On Thu, Feb 28, 2002 at 10:28:49AM -0800, Gary Johnson wrote: On Thu, Feb 28, 2002 at 11:06:39AM -0500, Rob Reid wrote: Maybe it could be made folder specific by tying the send-hook to an alias, or even user+folder@domain, that is only used

Re: Hooks order of precedence

2002-02-27 Thread David T-G
Erik -- ...and then Erik Rothwell said... % % I've run into problem where I've got folder-hooks send-hooks, but, I % can't make them play nicely together. % % In my main muttrc, I've got: % % source ~/.mutt/default-hooks.muttrc % source ~/.mutt/folder-hooks.muttrc % source

Re: Hooks order of precedence

2002-02-27 Thread Marco Fioretti
Erik, I'm not sure I understood all your problem, but I have the feeling that you could find a solution in the concept of mutt profiles as explained here: http://www.acoustics.hut.fi/~mara/mutt/profiles.html Let us know. Ciao, Marco Fioretti RULE: Run Up2date

Re: Hooks order of precedence

2002-02-27 Thread David DeSimone
Erik Rothwell [EMAIL PROTECTED] wrote: However, the default-hooks.muttrc does not properly reset my signature (nor message headers) to the default... You seem to have a misunderstanding about when hooks are run. A folder-hook is only run when you change folders. Not every time you send a

Re: Hooks order of precedence

2002-02-27 Thread Rob Reid
At 4:55 PM EST on February 27 David DeSimone sent off: Erik Rothwell [EMAIL PROTECTED] wrote: However, the default-hooks.muttrc does not properly reset my signature (nor message headers) to the default... You seem to have a misunderstanding about when hooks are run. A folder-hook is

Re: Hooks order of precedence

2002-02-27 Thread David DeSimone
Rob Reid [EMAIL PROTECTED] wrote: I thought that was what . is for, matching any folder, as in: folder-hook . unset save_empty Maybe I should explain it a little clearer: Suppose you have a set of hooks like this: folder-hook . 'set variable=AAA' folder-hook

Hooks order of precedence

2002-02-26 Thread Erik Rothwell
I've run into problem where I've got folder-hooks send-hooks, but, I can't make them play nicely together. In my main muttrc, I've got: source ~/.mutt/default-hooks.muttrc source ~/.mutt/folder-hooks.muttrc source ~/.mutt/send-hooks.muttrc default-hooks.muttrc resets headers, From: line, and