Maybe implemented PGP-5.x+ compatibility.
[nethome.git] / .muttrc.addons
index 7382b63..dc5aec8 100644 (file)
@@ -1,19 +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 "=spam"   set sort=mailbox-order
-folder-hook "=err"    set sort=mailbox-order
-folder-hook "=input$" set sort=mailbox-order
+# '!' an '=' are expand only as the very first characters.
+# regexes are processed.
+# '$' must follow alpha or '{' to get interpreted as a variable.
+folder-hook ""                   set sort=threads
+folder-hook "!$"                 set sort=mailbox-order;push "*<Tab>"
+folder-hook "=(=|err)"           set sort=mailbox-order;push "*<Tab>"
+folder-hook "=(sent|spam|input)" set sort=mailbox-order;push "*"
+bind index <Tab> next-new
+bind pager <Tab> next-new
+bind index <Esc><Tab> previous-new
+bind pager <Esc><Tab> previous-new
 bind index \` next-unread
 bind pager \` next-unread
 bind index <Esc>\` previous-unread
 bind pager <Esc>\` previous-unread
 unset strict_threads
 set editor="vim -c 'set noai' -c 'set ts=8'"
-set send_charset="us-ascii:utf-8"
+set send_charset="us-ascii:iso-2022-jp:utf-8"
 set charset="utf-8"
 set autoedit
 set auto_tag
@@ -46,6 +51,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