Adding text to subject when calling group
dvalin at internode.on.net
dvalin at internode.on.net
Wed Jun 9 11:17:05 UTC 2021
On 09.06.21 12:15, steve wrote:
> Hello,
>
> Nobody for this one?
>
> I found that I could modify the subject with a folder-hook but
that's
> only half of the solution since it doesn't take care of the group
alias
> part.
>
> Any help would be highly appreciated.
I'd try a message-hook with pattern:
%C GROUP │messages either to: or cc: to any member of GROUP
Have a look at "Table 4.4. Pattern modifiers" under the heading
"3.1. Pattern Modifier" in the manual. (On key F1 in mutt.)
I'd need a quick read of section "6. Using Hooks", for the header
edit, asit's a while since I last wrote one. IIRC, send-hooks &
message-hooks are
triggered prior to composing a message, so if you have "set
edit_headers=yes",
then your modified header ought to show in the edit session. (Not
tried.)
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20210609/19d8b5ba/attachment.html>
More information about the Mutt-users
mailing list