]> git.donarmstrong.com Git - mail.git/blobdiff - .muttrc
fix a few hooks
[mail.git] / .muttrc
diff --git a/.muttrc b/.muttrc
index 655b261ce1b306bca09d871ab3598bc5ec8c0b39..ecdaf19f890ba469d047803855ea8123cc30505c 100644 (file)
--- a/.muttrc
+++ b/.muttrc
@@ -173,10 +173,7 @@ set sort_alias=alias
 
 #reset dotlock_program # where to find mutt_dotlock (reset uses default)
 set display_filter=""  # pipe message through this filter before displaying
-set editor="exec gnuclient +\`awk '/^$/ {print NR+1; exit}' %s\` %s"
-                       # start 1 line after first empty line
-#set editor="emacsclient +8 %s"        # start editor in line 8
-#set editor="jed %s -tmp -f mail_mode"
+set editor="~/bin/sane_editor +\`awk '/^$/ {print NR+1; exit}' %s\` %s"
 set folder=~/Mail      # where are the mailboxes (+ and = are shortcuts)
 #set folder="{luv}Mail"        # where are the mailboxes (+ and = are shortcuts)
 set from=""            # From: address (see send-hook my_hdr From)
@@ -585,8 +582,10 @@ bind pager   A     create-alias
 #macro pager  X     |"spamassassin -r \n"
 macro index  S     "s=spam/MANUALSPAM\r"
 macro pager  S     "s=spam/MANUALSPAM\r"
-macro index  X     "s=spam/HAM\ru"
-macro pager  X     "s=spam/HAM\ru"
+macro index  X     "<copy-message>=spam/HAM\r"
+macro pager  X     "<copy-message>=spam/HAM\r"
+macro index  "\\T"   "<copy-message>=TODO\r"
+macro pager  "\\T"   "<copy-message>=TODO\r"
 
 ## ==============================================
 ## Bindings for editing and reloading the .muttrc
@@ -618,11 +617,14 @@ macro index  ,n         "l~N\n"
 # ======================================
 macro index  "\\d"  "c=lists/debian-devel\r"
 macro index  "\\o"  "c=outbox\r"
+macro index  "\\t"  "c=TODO\r";
 macro index  "\\b"  "c=lists/debian_bugs\r"
 macro index  I      "c!\n" "Go to Inbox"
-macro pager  "\\d"  "c=lists/e-develop\r"
+
+macro pager  "\\d"  "c=lists/debian-devel\r"
+macro pager  "\\t"  "c=TODO\r";
 macro pager  "\\o"  "c=outbox\r"
-macro pager  "\\b"  "c=lists/debian_bugs\r"
+macro pager  "\\b"  "c=lists/debian-bugs\r"
 macro pager  I      "c!\n" "Go to Inbox"
 
 # ===========================
@@ -780,8 +782,11 @@ folder-hook .    set signature="~/.signature"
 reply-hook ~A unmy_hdr "X-Debbugs-No-Ack";
 #reply-hook "~h X-Debian-PR" my_hdr "X-Debbugs-No-Ack: yes no ack";
 send-hook ~A unmy_hdr "X-Debbugs-No-Ack";
-send-hook "~C submit@bugs.debian.org | ~C control@bugs.debian.org" my_hdr "X-Debbugs-No-Ack: yes no ack"
+send-hook "(~C submit@bugs.debian.org |~C control@bugs.debian.org |~C \d+@bugs.debian.org)" my_hdr "X-Debbugs-No-Ack: yes no ack"
 
+# Fix the Mail-Followup-To for sdondley
+reply-hook . unmy_hdr "Mail-Followup-To";
+reply-hook "(~f sdondley@gmail.com|~f s@gmail.com)" my_hdr "Mail-Followup-To: Don Armstrong <don@donarmstrong.com>";
 
 # Debian folder hooks
 folder-hook debian my_hdr "From: Don Armstrong <don@debian.org>"
@@ -817,6 +822,7 @@ subscribe `cd ~/Mail/bugs && echo *`
 ## Mutt both can show the number of mailboxes with new mail in the index and
 ## you can cycle through these after giving the "change-folder" command.  :-)
 mailboxes +INBOX
+mailboxes +TODO
 mailboxes +bdo_role
 mailboxes +oftc
 #mailboxes +lists !