proposing "notmuch purge"
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Jan 14 14:25:20 PST 2020
On Tue 2020-01-14 15:03:29 -0500, Antoine Beaupré wrote:
> Agreed. If you want to delete messages matching an another tag, you just
> run:
>
> notmuch tag +deleted tag:another
> notmuch purge
>
> Composability wins over configurability in this case. :)
I like this outcome, though i'm not sure i like the *argument* for
composability necessarily. If we're talking about end-user workflow,
most folks don't want to be able to compose.
At any rate, though i'd be happy with a simpler subcommand, with no
configurability initially.
The man page is shorter too :) And, there's less of a need to think
about providing the user with a warning if they ask to do something
really crazy like "notmuch purge '*'"
What do folks think about exposing a "purge" interface in the C and
Python APIs as well? Should that also be similarly un-parameterized?
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20200114/72c810bf/attachment-0001.sig>
More information about the notmuch
mailing list