On Fri, May 11, 2001 at 05:12:34PM +0200, Kai Weber wrote:

> I am searching for a way defining a default TO: address depending on the
> actual folder. Let's say I am in the mutt's Mailinglist folder. If I
> press "m" I want a default address [EMAIL PROTECTED] there.
> 
> I think it is an folder-hook thing, but I have no idea how to implement
> this. Any suggestions & tips?

I use a set of folder-hooks like this, one for each mailing list folder.

    folder-hook +Incoming/mutt-users        \
            'macro index M ":push m^[EMAIL PROTECTED]^M^M" "mail to list"'

Gary

-- 
Gary Johnson                               | Agilent Technologies
[EMAIL PROTECTED]                   | RF Communications PGU
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA

Reply via email to