X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.muttrc;h=9ddb4ae580446c7c607ac622c16cb6e94a881e79;hb=2a2bd43d48de22b05aab243101a151175466603c;hp=e11931545c155ed5b41849c46c6e63239eb44c41;hpb=24c5768d6d0cf52f3a550e4cca93097b3d7ce607;p=dotfiles.git diff --git a/.muttrc b/.muttrc index e119315..9ddb4ae 100644 --- a/.muttrc +++ b/.muttrc @@ -52,7 +52,7 @@ set sort_alias=unsorted set sort_browser=alpha set history=1000 # Number of lines of history in memory -set history_file==tmp/.mutt-history +set history_file==tmp/.mutt_history set save_history=1000 # Number of lines of history in file set read_inc=10 # Progress indicator when reading folders. @@ -61,7 +61,7 @@ set write_inc=10 # Progress indicator when writing folders. set allow_8bit # Never do Q-P encoding on legal 8-bit chars set abort_unmodified=no # Let me send empty messages set alias_file==tmp/aliases # Where to store aliases -set attribution="`case "$LC_TIME" in ru_RU*) echo '÷ %{%a, %d %b %Y × %I:%M:%S%p %Z} %f ÎÁÐÉÓÁÌ(Á):' ;; *) echo 'On %d, %f wrote:' ;; esac`" +set attribution="`case "$LC_TIME" in ru_RU*) echo '÷ %{%a, %d %b %Y × %I:%M:%S%p %Z} %f ÎÁÐÉÓÁÌ(Á):' ;; *) echo 'On %d, %f wrote:' ;; esac`" # ` set beep=no # Never beep on errors set collapse_unread=no # Do not collapse thread with unread messages set confirmappend=no # Don't ask me if i want to append to mailboxes @@ -79,7 +79,7 @@ set move=no # Do not move read messages to ~/mbox set pager_context=1 # No. of lines of context to give when scrolling set pager_index_lines=6 # How many index lines to show in the pager set pager_stop # Don't move to the next message on next-page -set postponed==tmp/.mutt-postponed +set postponed==tmp/.mutt_postponed set print=ask-no # Don't waste paper set recall=no # When I say "compose", ask me whether I want to continue composing a postponed message. set reply_regexp="^((re([\\[0-9\\]+])*|aw|ÎÁ):[ \t]*)+[ \t]*" # A regular expression to detect replies @@ -152,7 +152,7 @@ my_hdr X-Attribution: phd my_hdr X-Face: \"4chVP^f8\;3Bi>x\"ic0%DuP(ZLyn:\;kzQ1njs]5,GRZG<{<\\~\`|Shxi7|)d|8uO~HFRfyym\n\ {[xs@OYG]2Q]0\#}0sjJp\`1^1+B6]A2+{9fW=SS decode-save # Macros # -macro index,pager C \ - \ +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 \ @@ -298,31 +301,52 @@ macro index,pager H \ ":unauto_view text/html" \ "Don't show HTML attachments" -macro index,pager s \ - "spamassassin -d | ~/mail/bin/spamcop.py" \ +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,pager z \ - ":set editor='vim -s ~/mail/misc/spamcop.vim':set editor=vim.shn" \ +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,pager H \ - ! \ +macro index H \ + ! \ + "Go to inbox" +macro pager H \ + ! \ "Go to inbox" -macro index,pager M \ - =sent-mail \ +macro index M \ + =sent-mail \ + "Go to sent-mail" +macro pager M \ + =sent-mail \ "Go to sent-mail" # Go to python mailbox -macro index,pager Y \ - =lists/python \ +macro index Y \ + =lists/python \ + "Go to python" +macro pager Y \ + =lists/python \ "Go to python" # Go to STCnet "Atlas"/STM mailboxes -macro index,pager A \ - =stcnet \ +macro index A \ + =stcnet \ "Go to stcnet inbox" -macro index,pager a \ - =sent-stcnet \ +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.