On 2014-02-02, glphvgacs wrote: > when starting the Mail composition in mutt, is there a way skip the 'To:' > header by filling it up based on a given pattern? > i don't think a folder-hook would do this since i don't think there is such > a thing as 'set to = ' in configuration file (correct me if i'm wrong > please). so perhaps a macro?
Yes. Here is what I do. I have a separate folder for each list to which I'm subscribed and a folder-hook for each of those lists. I also use aliases to expand the list name to the full address of the list. Here are the hook and alias I use for mutt-users: folder-hook +Incoming/mutt-users \ 'macro index M "<mail>mutt-users^M^M" "mail to list"' alias mutt-users mutt-users@mutt.org Note that the "^M" is an ASCII carat followed by an ASCII upper-case M. With that, I type M to send a new message to the list and the first prompt I see is for the Subject. Regards, Gary