X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.muttrc.addons;h=8ab616e6114d1b5ccb6c01d85221ccc25e72d4b6;hp=91f145b74882b6135d4d45441ab72b779dda38a5;hb=932ed3e52b2766c7ccc06a9c04b2d36055494e9b;hpb=2fcce54aa35b864e481c73047ba8e7844a98267f diff --git a/.muttrc.addons b/.muttrc.addons index 91f145b..8ab616e 100644 --- a/.muttrc.addons +++ b/.muttrc.addons @@ -1,9 +1,18 @@ # 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'" +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 autoedit @@ -12,7 +21,7 @@ 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 @@ -33,6 +42,10 @@ unset confirmcreate set reply_to=ask-yes set thorough_search set abort_unmodified=no +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:" # Mail command @@ -40,7 +53,9 @@ set abort_unmodified=no 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" +# quote 'macro' argument to prevent: macro: too many arguments +folder-hook "" "macro index S \":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\ns=spamo-mutt\n\"" +folder-hook "=spam" "macro index S \":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\nWN\ct~T\n\"" macro editor \ew "^a [WAS: ^e]^a" # GPG