From: martin f. krafft Date: Fri, 17 Aug 2007 14:47:01 +0000 (+0200) Subject: deal with git mailing list cc policy X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/01acf349991cb6f7f836765f6a6aac8fdbdbad0d deal with git mailing list cc policy --- diff --git a/hooks b/hooks index e710d5e..5ffaf65 100644 --- a/hooks +++ b/hooks @@ -7,4 +7,14 @@ send-hook '~C @packages\.qa\.debian\.org' 'my_hdr X-PTS-Approved: please' fcc-hook -request@ '' send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign' +# do not set M-F-T on mails to the git mailing list +send-hook . 'set followup_to' +send-hook '~C git@vger\.kernel\.org' 'unset followup_to' + +# do a for L when sending to the git mailing list +# http://marc.info/?l=mutt-users&m=118734866910357&w=2 +message-hook . 'bind pager L list-reply' +message-hook '~C git@vger\.kernel\.org' 'bind pager L group-reply' +macro index L 'L' + # vim:ft=muttrc diff --git a/muttrc b/muttrc index 5201494..4d6c23f 100644 --- a/muttrc +++ b/muttrc @@ -4435,8 +4435,8 @@ source $my_confdir/colours source $my_confdir/headers source $my_confdir/alternates source $my_confdir/keybindings -source $my_confdir/hooks source $my_confdir/lists +source $my_confdir/hooks set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` source $my_mailboxes