Mikko Hänninen <[EMAIL PROTECTED]> wrote:
>
> I've asked this before. Since nobody has answered, I think it means
> it can't be done. Once you've established a default save hook, you
> can't get rid of it, you can only change it (?).
I think that's right.
> The proper solution would probably be to have a pattern-matching
> operator which could be used to match folders. Then there would be
> even no need to set save-hooks from from folder-hooks.
I feel the need to take issue with this. The reason that Mutt doesn't
work this way is that the Mutt designers didn't expect that you would
need to be able to do this. And in thinking about it, I can't determine
why you need to do this, either.
For instance, perhaps I am reading mail in my mutt-users folder. Then
something jogs my memory, and I realize I need to send mail to my friend
Joe. Are you saying that, just because I am viewing mail in my
mutt-users folder, that my letter to Joe should be saved there instead
of my usual Fcc? Why? The letter has nothing to do with Mutt. I just
happened to be looking at that folder when I sent the message.
You see, it shouldn't matter what folder you're in. You should be able
to construct a send-hook that triggers on real information, such as whom
the letter is two, or from, or Cc'd to. That should determine what its
disposition should be. If you're in your mutt-users folder, and the
mail that you now send is related to that mailing list, then that
address probably appears in the headers, and so you should be able to
construct an fcc-hook or save-hook that does what you want.
Anyway, that's how I see it.
--
David DeSimone | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED] | that there is no man really clever who has not
Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer | PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44