[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-workers] Re: A MH-inspired Maildir handler: coma
From: |
Christian Neukirchen |
Subject: |
[Nmh-workers] Re: A MH-inspired Maildir handler: coma |
Date: |
Mon, 14 Feb 2011 17:54:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Paul Vixie <address@hidden> 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 address@hidden -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:address@hidden "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 <address@hidden> http://chneukirchen.org