X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.muttrc.addons;h=7382b635c24134b34322044a63a087c379ebbcbc;hp=550366f726c624b01fe8772aa7b2e65f8cf4d1d5;hb=4a31f292e1976bb7c16820293dc59609cd2e8a12;hpb=81b26b1ad8bba2594e6605ee291e0d641cebdab9 diff --git a/.muttrc.addons b/.muttrc.addons index 550366f..7382b63 100644 --- a/.muttrc.addons +++ b/.muttrc.addons @@ -1,18 +1,27 @@ # System-wide personalization for Mutt ###################################### -set sort=threads +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-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:utf-8" +set charset="utf-8" set autoedit set auto_tag set history=100 set include=yes unset metoo set mime_fwd -set forward_format="fwd [%a]: %s" +set forward_format="Fwd: [%a] %s" set move=no set pager_context=1 set pager_stop @@ -44,12 +53,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