[mew-int 00687] Recurisve visit?

M. Warner Losh imp at example.com
Sat Jan 12 15:40:20 JST 2002


I use mh to sort my incoming mail into folders like so:

a/freebsd/announce   has  1 message   (1-1).
a/freebsd/mobile     has  1 message   (1-1).
a/freebsd/so         has  1 message   (1-1).
a/jp/linux-ce        has  1 message   (1-1).
a/linux/elks         has  1 message   (1-1).
a/netbsd/kern        has  1 message   (1-1).
a/rfc                has  1 message   (1-1).
a/sony/s505          has  1 message   (1-1).
a/spam               has  1 message   (1-1).
a/freebsd/hackers    has  2 messages  (1-2).
a/freebsd/security   has  2 messages  (1-2).
a/freebsd/small      has  2 messages  (1-2).
a/jp/98tester        has  2 messages  (1-2).
a/netbsd/arc         has  2 messages  (1-2).
a/netbsd/mips        has  2 messages  (1-2).
a/netbsd/pkgsrc      has  2 messages  (1-2).
a/openbsd/src        has  2 messages  (1-2).
a/root               has  2 messages  (1-2).
a/warm-fuzzy         has  2 messages  (1-2).
a/freebsd/perforce   has  3 messages  (1-3).
a/linux/mips         has  3 messages  (1-3).

Note that this is my kernel mail, which is only a subset of the 80 or
so lists that I'm on.

What I've been doing is g a/free<tab>/ann<tab> (reading mail) g
a/free<tab>/mo<tab> (reading mail), etc.  All this extra typing can
easily triple the time it takes for me to get through all the mail,
especially when I have a large number of folders like now where I have
only a few messages each.

What I'd like is for there to be a way to visit all these folders
recursively, pruning the ones that don't have messages in them, so I
can read them serially, with something like 'q' or c-Cc-Q or something
killing the current buffer so the next buffer in the stack is
visited.

It would also be nice if these folders were sorted by some criteria (I
usually go larges number of messages to smallest), but that's not a
huge deal.

Is this possible with mew version 2.1?  Or newer mews?  If not, are
there hooks or functions that would help me on my journey?

I use slocal right now to do the sorting.  Are there better (and
automatic) mew ways to do the sorting so that I can do the sorting at
pop time rather than at mail delivery time?  I don't even want to see
the mail when I pop until I go to that folder, so some of the
automaticly file stuff doesn't seem to be appropriate (or I don't
understand it well enough).

Thanks much for for hints and tips that you can provide me.

Warner



More information about the Mew-int mailing list