X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.muttrc.addons;h=fa439081b04ff400725415cc4802b5aca988eb4f;hp=dd7ef897cb35ce50d648e13a684abf5cdc29563c;hb=405c014d7c70df9006cf1c927af28c60b2b82924;hpb=b3d49f5f32e12fd3b030955b59faa8066eeb223f diff --git a/.muttrc.addons b/.muttrc.addons index dd7ef89..fa43908 100644 --- a/.muttrc.addons +++ b/.muttrc.addons @@ -1,15 +1,24 @@ # System-wide personalization for Mutt ###################################### -folder-hook "" set sort=threads -folder-hook "!" set sort=mailbox-order -folder-hook "=sent" set sort=mailbox-order +folder-hook "" set sort=threads +folder-hook "!" set sort=mailbox-order +folder-hook "=sent" set sort=mailbox-order +folder-hook "=spam" set sort=mailbox-order +folder-hook "=err" set sort=mailbox-order +folder-hook "=input$" set sort=mailbox-order +bind index next-new +bind pager next-new +bind index previous-new +bind pager previous-new bind index \` next-unread +bind pager \` next-unread bind index \` previous-unread +bind pager \` previous-unread unset strict_threads -set editor="vim -c 'set noai' -c 'set ts=8' -c 'set fileencoding=iso-8859-2' -c 'set fileencodings=iso-8859-2'" -set send_charset="us-ascii:iso-8859-2:utf-8" -set charset="iso-8859-2" +set editor="vim -c 'set noai' -c 'set ts=8'" +set send_charset="us-ascii:iso-2022-jp:utf-8" +set charset="utf-8" set autoedit set auto_tag set history=100 @@ -41,6 +50,7 @@ set date_format="!%a, %d %b %Y %H:%M:%S %z" # RFC 2822: 3.3. # FIXME: %D not needed: RFC 2822: 3.3: "converted" can IMO incl. timezone # but %d will place +0000 for %z and thus brokes the timestamp set attribution="On %D, %n wrote:" +unset markers # Mail command @@ -48,12 +58,18 @@ set attribution="On %D, %n wrote:" bind index \ca mail macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message" macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message" -macro index S ":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\nd" -macro editor \ew "^a [WAS: ^e]^a" +# quote 'macro' argument to prevent: macro: too many arguments +folder-hook "" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\"" +folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\"" +folder-hook "" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\"" +folder-hook "=spam" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\n\"" +folder-hook "" "macro index H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\nWN\ct~T\n\"" +folder-hook "" "macro pager H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\n\"" +macro editor \ew "^a [^e]^a" # GPG ##### -source /home/short/.muttrc-gpg.rc +source /home/lace/.muttrc-gpg.rc unset pgp_show_unusable set pgp_replyencrypt set pgp_replysignencrypted