Dirk Ruediger <[EMAIL PROTECTED]> wrote on Mon, 19 Jun 2000:
> I want to define an implicite send-hook for all mailing lists I am
> subscribed to and define a special attribution, use special signatures
> and something like that.
>
> Is it possible to process the entries of "subscribe" or "lists" to use
> it for send-hook, e.g.:
>
> send-hook ($subsribe) 'set attribution="Hi all!,\n"'
Simple Patterns
Mutt understands the following simple patterns:
<...snip...>
~l message is addressed to a known mailing list
So what you want can be done with:
send-hook ~l 'set attribution="Hi all!,\n"'
(It's a bit unfortunate that nobody's fixed ~l yet after the distinction
between subscribed and unsubscribed lists was added, I think ~l
matches either all lists or subscribed lists, I forget which, and there's
no way to get the other kind of matching...)
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 /
1200 bps used to seem so fast