Uh, yeah, I did it :)
I patched my mutt-patched :)
You may ask why I did it, and what I did, so here we go:
I use mutt(-patched) on my Etch box to read and write mail when I'm not in front of my regular box, where I use sylpheed.
My mail is stored on an IMAP server (courier, actually it's the same box you retrieve this website from), so I use mutt's imap support (don't tell me about offlineimap and stuff, I know them).
Having multiple folders on the IMAP server, you really want to use the sidebar patch for mutt, or you'll get crazy.
But here start my problems. The sidebar patch does not understand, that IMAP often uses a dot (.) instead of a slash (/) as a delimiter between the folders.
Thus the sidebar will look like this:
Looks quite bad, especially when you have deep hierarchies. So I wrote the first patch, sidebar-dotted
, which makes the sidebar look like this:
Better, huh? Oh, if you want to see this, you'll need to set sidebar_shortpath ;)
But this is still not as good as I want it, because I get something like this:
Wonder why? I have imap_check_subscribed enabled, so I don't have to list all the folders via mailboxes, but the server returns the subscribed folders unsorted and you see the result :(
Here I came up with the second patch, sidebar-sorted, enable it with set sidebar-sort and you get a nice folder listing as you (I) wanted.
You want the patches? Get them in the original version or better, the updated by the Debian community one.
Have fun with them, and forgive me, if mutt's fleas will eat up your mail :)