X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.muttrc;h=5b8293976c122c6ccdbfbd2c2c5778318440a64f;hp=1b15aba49d373a24812c772aafdd09997c0fc85c;hb=HEAD;hpb=6b1fdad9e3092f2c76f0377f20f5afb043c08e9f diff --git a/.muttrc b/.muttrc index 1b15aba..b347d4f 100644 --- a/.muttrc +++ b/.muttrc @@ -62,6 +62,7 @@ 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_locale=`echo $LC_TIME` # Locale to format dates 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 @@ -70,7 +71,6 @@ set forward_format="[Fwd: %s]" # Subject to use when forwarding messages set help # Show the help lines set ignore_list_reply_to # Ignore Reply-To headers pointing to mailing lists. set include=yes # Always include a copy when replying. -set locale=`echo $LC_TIME` # Locale to format dates set mail_check=30 # How often (in seconds) to poll for new mail set mark_old=no # Distinguish between seen (but unread) and new messages set mask="" # Show dot-files in the file browser @@ -117,6 +117,7 @@ alternative_order text/enriched text/plain text # Encryption: GnuPG # source /usr/share/doc/mutt/examples/gpg.rc +set crypt_use_gpgme=no set pgp_use_gpg_agent # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -166,7 +167,7 @@ my_hdr X-Operating-System: Debian GNU/Linux subscribe (python-(announce|dev|ideas)|.*-(list|sig))@python\.org \ core-workflow@python\.org .*@moderators\.isc\.org \ (durus|quixote)-users@mems-exchange\.org pysqlite@lists\.initd\.org \ - .*@vex.net .*@lists\.sourceforge\.net \ + .*@lists\.sourceforge\.net .*@vex\.net egenix-users@egenix\.com \ .*@googlegroups\.com mlug@unixcenter\.ru #lists @@ -184,7 +185,7 @@ folder-hook .* "\ set envelope_from_address="phd@phdru.name"; \ my_hdr From: Oleg Broytman ; \ my_hdr Reply-To: Oleg Broytman ; \ - my_hdr X-Url: http://phdru.name/; \ + my_hdr X-Url: https://phdru.name/; \ set record==sent-mail; \ set signature==signatures/phd@phdru.name" @@ -243,7 +244,7 @@ send-hook .* "\ set followup_to=yes; \ my_hdr From: Oleg Broytman ; \ my_hdr Reply-To: Oleg Broytman ; \ - my_hdr X-Url: http://phdru.name/; \ + my_hdr X-Url: https://phdru.name/; \ unmy_hdr Mail-Followup-To; \ unmy_hdr X-Skip-DKIM-Sig; \ set signature==signatures/phd@phdru.name" @@ -257,7 +258,7 @@ send-hook "~L '@(mail|list|inbox|bk|sweb|spaceweb|ulmart)\.ru'" "\ set envelope_from_address="phd@mail.ru"; \ my_hdr From: ïÌÅÇ âÒÏÊÔÍÁÎ ; \ my_hdr Reply-To: ïÌÅÇ âÒÏÊÔÍÁÎ ; \ - my_hdr X-Url: http://my.mail.ru/mail/phd; \ + my_hdr X-Url: https://my.mail.ru/mail/phd; \ set signature='iconv -f koi8-r ~/mail/signatures/phd@mail.ru|'" send-hook "~L '(@|\.)(((ya|yandex|narod)\.ru)|(yandex\.com)|yandex-team\.ru)$'" "\ @@ -277,9 +278,9 @@ send-hook "~L cheetahtemplate-announce@lists\.sourceforge\.net" "\ my_hdr Reply-To: Oleg Broytman ; \ my_hdr Mail-Followup-To: Oleg Broytman , CheetahTemplate discussion " -send-hook ~u \ +send-hook ~u "\ unmy_hdr Reply-To; \ - my_hdr X-Skip-DKIM-Sig: mailing list + my_hdr X-Skip-DKIM-Sig: mailing list" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # @@ -298,6 +299,25 @@ bind index,pager S decode-save # Macros # +# KP_Enter -> Enter +#macro generic,pager,editor +# KP_Home -> Home +macro generic,pager,editor +# KP_Up -> Up +macro generic,pager,editor \1074 +# KP_Next -> PageUp +macro generic,pager,editor +# KP_Left -> Left +macro generic,pager,editor \1075 +# KP_Right -> Right +macro generic,pager,editor \1076 +# KP_End -> End +macro generic,pager,editor +# KP_Down -> Down +macro generic,pager,editor \1077 +# KP_Prev -> PageDown +macro generic,pager,editor + macro index C \ \ "Go to the first folder with unread messages" @@ -309,10 +329,10 @@ macro index,pager S \ ! \ "Move current message to inbox" -macro index,pager h \ +macro index,pager,attach h \ ":auto_view text/html" \ "View HTML attachments" -macro index,pager H \ +macro index,pager,attach H \ ":unauto_view text/html" \ "Don't show HTML attachments" @@ -342,6 +362,14 @@ macro pager,attach M \ =sent-mail \ "Go to sent-mail" +macro index,pager \cV "" \ + "Show version" + +macro index,pager V "v/text/htmlV" \ + "View the 1st html attachment in a web browser" +macro attach V "~/tmp/_xxx.htmlnwebbrowser -n ~/tmp/_xxx.html; exec rm ~/tmp/_xxx.html" \ + "View html attachment in a web browser" + # Go to python mailbox macro index Y \ =lists/python \ @@ -350,23 +378,9 @@ macro pager,attach Y \ =lists/python \ "Go to python" -# Go to STCnet "Atlas"/STM mailboxes -macro index A \ - =stcnet \ - "Go to stcnet inbox" -macro pager,attach A \ - =stcnet \ - "Go to stcnet inbox" -macro index a \ - =sent-stcnet \ - "Go to sent-stcnet" -macro pager,attach 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" \ + m "mimedecode | less" \ "View MIME-decoded message" macro index,pager E \ ":set editor=mimedecode.sh:set editor=vim.sh" \