X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=.muttrc;h=fad17a91daef8f095222b552d718764b8702fa29;hb=99c475febdff0e8411fcfc83c82c5fa86dfe51f5;hp=8ff8a6af1d7ae076b53a569921754b9811195b3a;hpb=03bd29c514bacb54284c11c347129aaaa373a452;p=dotfiles.git diff --git a/.muttrc b/.muttrc index 8ff8a6a..fad17a9 100644 --- a/.muttrc +++ b/.muttrc @@ -163,6 +163,7 @@ my_hdr X-Operating-System: Debian GNU/Linux # lists [ ... ] subscribe (python-(announce|dev|ideas)|.*-(list|sig))@python\.org \ + core-workflow@python\.org \ .*@moderators\.isc\.org .*@lists\.sourceforge\.net \ (durus|quixote)-users@mems-exchange\.org pysqlite@lists\.initd\.org \ .*@googlegroups\.com mlug@unixcenter\.ru @@ -282,36 +283,83 @@ bind index,pager S decode-save # Macros # -# Go to the first folder with unread messages -macro index C c\n -macro pager C qc\n - -# Move current message to inbox -macro index,pager S s!\n - -macro index,pager h ":auto_view text/html\n" -macro index,pager H ":unauto_view text/html\n" - -# Pipe spam -#macro index,pager z |"sa-learn --no-sync --ham\n" -#macro index,pager Z |"sa-learn --no-sync --spam\n" -macro index,pager s "q"|"spamassassin -d | ~/mail/bin/spamcop.py\nj" -macro index,pager z "q:set editor='vim -s ~/mail/misc/spamcop.vim'\nr:set editor=vim.sh\nqn" - -# Go to main mailbox -macro index H c!\n -macro pager H qc!\n +macro index C \ + \ + "Go to the first folder with unread messages" +macro pager C \ + \ + "Go to the first folder with unread messages" + +macro index,pager S \ + ! \ + "Move current message to inbox" + +macro index,pager h \ + ":auto_view text/html" \ + "View HTML attachments" +macro index,pager H \ + ":unauto_view text/html" \ + "Don't show HTML attachments" + +macro index s \ + "spamassassin -d | ~/mail/bin/spamcop.py" \ + "Send spam to SpamCop" +macro pager s \ + "spamassassin -d | ~/mail/bin/spamcop.py" \ + "Send spam to SpamCop" +macro index z \ + ":set editor='vim -s ~/mail/misc/spamcop.vim':set editor=vim.shn" \ + "Process message from SpamCop" +macro pager z \ + ":set editor='vim -s ~/mail/misc/spamcop.vim':set editor=vim.shn" \ + "Process message from SpamCop" + +macro index H \ + ! \ + "Go to inbox" +macro pager H \ + ! \ + "Go to inbox" +macro index M \ + =sent-mail \ + "Go to sent-mail" +macro pager M \ + =sent-mail \ + "Go to sent-mail" # Go to python mailbox -macro index Y c=lists/python\n -macro pager Y qc=lists/python\n +macro index Y \ + =lists/python \ + "Go to python" +macro pager Y \ + =lists/python \ + "Go to python" + +# Go to STCnet "Atlas"/STM mailboxes +macro index A \ + =stcnet \ + "Go to stcnet inbox" +macro pager A \ + =stcnet \ + "Go to stcnet inbox" +macro index a \ + =sent-stcnet \ + "Go to sent-stcnet" +macro pager a \ + =sent-stcnet \ + "Go to sent-stcnet" # Recode base64 to 8bit, html to plain text, mustdie-1251 to koi8-r, etc. -macro index,pager M "|mimedecode.py | less\n" -macro index,pager E ":set editor=mimedecode.sh\ne:set editor=vim.sh\n" - -# Convert X-Face header to an image and display it -macro index,pager f |"~/mail/bin/view-x-face\n" +macro index,pager \ + m "mimedecode.py | less" \ + "View MIME-decoded message" +macro index,pager E \ + ":set editor=mimedecode.sh:set editor=vim.sh" \ + "MIME-decode and save" + +macro index,pager f \ + ~/mail/bin/view-x-face \ + "Convert X-Face header to an image and display it" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #