nmh-workers
[Top] [All Lists]

[Nmh-workers] Re: A MH-inspired Maildir handler: coma

2011-02-14 11:03:40
Paul Vixie <vixie(_at_)isc(_dot_)org> writes:

this sounds wonderful. as a die hard mh user, the thing i most need to be
able to do that you have not yet implemented is something like

rmm all +results
for x in inbox outbox todo; do
    pick -seq foo -from chneukirchen(_at_)gmail(_dot_)com -and -after '1 jan 
2011' +$x
    refile -link foo -src +inbox +results
done

I read this as "Gather all mail from me from this year in the folders
inbox, outbox, todo into the folder results".

I don't have refiling/moving/copying yet, but for your purposes, I think
a named sequence (not implemented either) would do it:

, seq results +inbox +outbox +todo from:chneukirchen(_at_)gmail(_dot_)com 
"date>2011-01-01"

Then you can read them with , read results
or show them all at once with , show results

(And if you need a physical directory, , copy results +folder
or directly , copy ... +folder)

I think global sequences are a good idea, since you can easily restrict
them to folders.

and the even simpler:

pick -seq foo -before '1 jan 2011' +outbox
refile foo -src +outbox +outbox-2011

, move +outbox "date<2011-01-01" +outbox-2011

I think I'll implement these commands soon.

if i could do these kinds of things in addition to what your tool already
does, using Maildir or some other format that was more reliable and faster
for the imap server, i could consider switching away from MH.

Whoa. :)  Please note it's all alpha software yet.
-- 
Christian Neukirchen  <chneukirchen(_at_)gmail(_dot_)com>  
http://chneukirchen.org


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>