Matthew Dharm <[EMAIL PROTECTED]> wrote on Fri, 19 May 2000:
> > Nope, sorry.  There's been talk of ways to solve this, and I think even
> > the best way has been figured out (creating a pseudo-operator which tells
> > that the next pattern operator should match against the headers of the
> > replied-to message, not the current message, which could then be used in
> > send-hooks).  It's just that nobody's done it yet.
> 
> Interesting.  I guess people view 'reply' as just a special case of
> 'send'... I actually view them as very different things, but oh well.

Well, if you don't, then you run into all sorts of issues like which do
you process first, reply-hooks or send-hooks?  Or you could set things
so that when doing a reply, only reply-hooks get executed, and
send-hooks only become active when doing a new mail -- but that would be
duplicating a lot of stuff a lot of the time, then.

The last time it was discussed (and I was the one proposing reply-hooks
then) I at least became convinced that what I described was the best way
to implement it.  Whatever the solution is, you at least make sure the
user can ensure a send-hook can undo actions from a "reply-hook" (or
comparable), and vice versa.

> Well, if nobody is working on this, can someone give me a couple of
> pointers of good places to start?  After the linux kernel, this can't be
> too hard (famous last words).

Actually, I'm not that familiar with Mutt code. :-)  Even if I've
created one patch for Mutt -- which was soon regarded as superfluous and
I came to use a different solution myself, too. :-)

You may want to ask this on the mutt-dev list...

> The problem is that reverse_name doesn't change my address because the mail
> I'm replying to was addressed to a mailing list, not to any of my
> alternates.  So my from is my default from.

Right.  Unless you determine that this address means it's a reply to a
list email, but then it could also be a completely new email just as
well.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
If you don't care where you're going, you're never lost.

Reply via email to