NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I think mutt can do most of that (Score:1)
Dunno if this will do for you, but I have the following contraption in my
.muttrc:mailboxes =Inbox =correspondence =geekery =postponed =spam =work
macro pager c '<change-folder>?<toggle-mailboxes>'macro index c '<change-folder>?<toggle-mailboxes>'
This registers each of my folders, and then patches the change-folder shortcut so that it will immediately toggle to show the list of registered mailboxes instead of the directory browser. (You can always toggle these two views using the Tab key.)
OK, I lied. What I actually have is this:
source 'cd ~/Mail ; for box in * ; do echo mailboxes =/$box ; done |'So the
mailboxeslist is actually autogenerated on launch. Note that theechoincludes mutt’s=shortcut for$folder, so this particular line assumesset folder=~/Mail/, but all that’s actually needed is that$folderand thecdthere are kept in synch. Oh, and make sure$folderis set ahead of time.You can do that using
color index fg bg patternin.muttrc, where the pattern syntax allows you to match the kinds of things you mentioned.Reply to This