X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.muttrc;h=4fd02db110070c7c698092a84e096c21bc9a234a;hb=a470cfc141cd65f515606361793da356bd92b628;hp=58bd569ca870dc3028a449cfaea33ecea8e8d588;hpb=9537426cf753f92c3543995aa7c741608b2b6603;p=mail.git diff --git a/.muttrc b/.muttrc index 58bd569..4fd02db 100644 --- a/.muttrc +++ b/.muttrc @@ -8,7 +8,7 @@ set autoedit unset beep set bounce=yes unset bounce_delivered -unset collapse_unread +set collapse_unread unset confirmappend unset confirmcreate set delete=yes @@ -26,15 +26,17 @@ set implicit_autoview set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %?H?[%H] ?%s" set mailcap_path ="/etc/mailcap" unset maildir_trash +unset mark_old set narrow_tree set pager_context = 2 +set pager_stop = yes set postpone set quit = ask-yes set record="~/Mail/outbox" set reverse_alias = yes set save_history = 5 unset sig_dashes - +unset mark_old set sort_re # set: only put a child in a thread, if starts with Re: unset status_on_top # status line at the top or button? @@ -129,7 +131,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="~/bin/sane_editor +\`awk '/^$/ {print NR+1; exit}' %s\` %s" +set editor="~/bin/sane_editor" 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) @@ -554,13 +556,13 @@ 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 "\\b" "c=buildd_don\r" macro index I "c!\n" "Go to Inbox" 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=buildd_don\r" macro pager I "c!\n" "Go to Inbox" # =========================== @@ -701,33 +703,28 @@ hdr_order Date: From: To: Cc: X-Newsreader: X-Mailer: Organization: Organisation ## addresses to you in the folder index as "personal" using the flag '+'. #set alternates=((tom|gilbertt)@snowman.net|.*@linuxbrit.*|.*@offended.*|giblet@lunixbrat.com) -# Set the defaults for folders: -folder-hook . set timeout=30 -folder-hook . set sort=threads -folder-hook . set sort_aux=date-received -# When I'm in the main index, check more often :) -#folder-hook "!" set timeout=5 -# Mail in my inbox is more date than thread sensitive... -folder-hook "!" set sort=date-received -folder-hook "sent" set sort=date-received - -#folder-hook . set signature=~/.signature - -#folder-hook . unmy_hdr * folder-hook . my_hdr "From: Don Armstrong " -folder-hook . set signature="~/.signature" folder-hook . unmy_hdr "Reply-To:" folder-hook . unmy_hdr "Cc:" +folder-hook . set sort=threads +folder-hook INBOX set sort=date-received + # bug hooks -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 |~C \d+@bugs.debian.org)" my_hdr "X-Debbugs-No-Ack: yes no ack" + +set signature='~/lib/signature_stuff/pick_a_quote.pl|' + +send-hook '~t build ~s success' "set signature='' pgp_autosign=yes indent_string='' edit_headers=no editor='~/bin/buildd_script' fast_reply=yes pgp_create_traditional=yes include=yes pgp_sign_as=0x9D05D0BE" +send-hook '!(~t build ~s success)' "set pgp_autosign=yes indent_string='> ' editor='~/bin/sane_editor' edit_headers=yes fast_reply=no pgp_create_traditional=no include=yes signature='~/lib/signature_stuff/pick_a_quote.pl|' pgp_sign_as=0xD98C0FBA" + + # Fix the Mail-Followup-To for sdondley -reply-hook . unmy_hdr "Mail-Followup-To"; -reply-hook "(~f sdondley@gmail.com|~f s@gmail.com|~f s@dondley.com)" my_hdr "Mail-Followup-To: Don Armstrong "; +send-hook . unmy_hdr "Mail-Followup-To"; +send-hook "(~f sdondley@gmail.com|~f s@gmail.com|~f s@dondley.com)" my_hdr "Mail-Followup-To: Don Armstrong "; # Debian folder hooks folder-hook debian my_hdr "From: Don Armstrong " @@ -744,9 +741,6 @@ folder-hook 0_ldo_role my_hdr "Cc: listmaster@lists.debian.org" macro generic ,ad my_hdr "From: Don Armstrong " macro generic ,an my_hdr "From: Don Armstrong " -send-hook ~A '`/home/don/lib/signature_stuff/pick_a_quote.pl` set-signature "~/.signature"' - - open-hook \\.gz$ "gzip -cd %f > %t" close-hook \\.gz$ "gzip -c %t > %f" append-hook \\.gz$ "gzip -c %t >> %f" @@ -772,11 +766,9 @@ subscribe `cd ~/Mail/bugs && echo *` mailboxes +INBOX mailboxes +TODO mailboxes +bdo_role +mailboxes +buildd_don mailboxes +0_ldo_role mailboxes +oftc -#mailboxes +lists ! -#mailboxes +bugs ! -#mailboxes +sms +SPAM +work mailboxes `for file in ~/Mail/lists/*; do echo -n "+lists/$(basename $file) "; done` mailboxes `for file in ~/Mail/bugs/*; do echo -n "+bugs/$(basename $file) "; done`