42.org, resources, mutt-patches
Here is the place where I keep all these little patches for mutt which are so dangerous and big that they haven't gotten into mainstream mutt yet (and probably never will). But they make my day brighter and happier so i decided to keep & update them here. I'm currently running Mutt 1.4.2.2i so these patches here should cleanly apply to at least this version.
drwxr-xr-x  3 sec  sec   512 Jul 31  2004 contrib/
-rw-r--r--  1 sec  sec   810 Feb 15  2002 patch-1.3.25.as.mark-old.1
-rw-r--r--  1 sec  sec  4375 Feb 15  2002 patch-1.3.25.bj.status-time.1
-rw-r--r--  1 sec  sec   815 Feb 15  2002 patch-1.3.25.sec._A.1
-rw-r--r--  1 sec  sec  1628 Feb 15  2002 patch-1.3.25.sec.backlog.1
-rw-r--r--  1 sec  sec   418 Feb 15  2002 patch-1.3.25.sec.keypad.1
-rw-r--r--  1 sec  sec  3388 Feb 15  2002 patch-1.3.25.sec.pager_status_on_top.1
-rw-r--r--  1 sec  sec  2028 Feb 15  2002 patch-1.3.25.sec.reverse_reply.1
-rw-r--r--  1 sec  sec  4229 Feb 15  2002 patch-1.3.27.sec.mailcap-fix.3
-rw-r--r--  1 sec  sec  1816 Feb 24  2002 patch-1.3.27.sec.pgp_shorten.1
-rw-r--r--  1 sec  sec  3135 Feb 15  2002 patch-1.3.27.sec.previous_jump.1
-rw-r--r--  1 sec  sec  4153 Mar 31  2003 patch-1.4.1.bj.status-time.1

Due to popular demand short descripions of each patch follow:

patch-1.3.25.as.mark-old.1:
From: Aaron Schrab <aaron+mutt@schrab.com>

With this patch, mutt will distinguish between old and new messages as if mark_old were set, but it will only automatically change new messages to old if mask_old is set, otherwise they're only marked old manually (with set-flag).

patch-1.3.25.bj.status-time.1:
From: Byrial Jensen <byrial@image.dk>
You can show the current time in your preferred format in the status line with this patch.

patch-1.3.25.sec._A.1:
From: Stefan `Sec` Zehl <sec@42.org>
adds %A to possible pager_format expandos. It lists number of new Mails.
I find it useful in my pager_format:
set pager_format="[%Z] %A-%C/%m %.34f%>%[%d.%b %y, %H:%M]"

patch-1.3.25.sec.backlog.1:
From: Stefan `Sec` Zehl <sec@42.org>
This patch adds a header "X-Current-Backlog:" (controlled by an option) which contains the number of undeleted messages in your folder. This really is bloatism but i've been bored a bit, and it can't be done reasonably outside of mutt. Please do not distribute this patch without my permission.

patch-1.3.25.sec.keypad.1:
From: Stefan `Sec` Zehl <sec@42.org>
This re-enables the normal cursor keys on exit. It is needed on my FreeBSD-2.2.7-STABLE system with ncurses.

patch-1.3.25.sec.pager_status_on_top.1:
This patch adds "set pager_status_on_top" which basically allows you to control the status line in the pager independently of the normal "status_on_top". It also adds a new color object pager_status, which allows you to control the color of the pager_status independently.

patch-1.3.25.sec.reverse_reply.1:
extends reverse_alias to also fix the Realnames in outgoing Mail.

patch-1.3.27.sec.mailcap-fix.3:
From: Stefan `Sec` Zehl <sec@42.org>
This patch fixes the mailcap handling for mails which only contain an non displayable attachment. It also brings back the 'M' Status character to display this kind of mail.

patch-1.3.27.sec.pgp_shorten.1:
This patch shortens mutts unneccesary verbosity when dealing with pgp signed messages. So you get to see more of the original message on the first screen.

patch-1.3.27.sec.previous_jump.1:
This adds a new function "previous_jump" by default bound to 'ESC-b' in the main menu and pager. It lets you jump to the message you last jumped from. I.e. while moving through your mailbox with TAB, you can go one step back with ESC-b.
this one needs some more work, but i didn't find the time to do it 'right' yet.

patch-1.4.1.bj.status-time.1:
From: Byrial Jensen <byrial@image.dk>
You can show the current time in your preferred format in the status line with this patch.


For more information about mutt, visit mutt's homepage Other people also keep patches around, which might be of interest, visit the PatchList fir more info. If you are so inclined you could also view the script I use to generate this page or my personal .muttrc. Your are also welcome to send your comments to sec@42.org.
Stefan `Sec` Zehl 10-May-1997, 3.Oct.2006