Re: proposing "notmuch purge"

Subject: Re: proposing "notmuch purge"

Date: Tue, 14 Jan 2020 17:25:20 -0500

To: Antoine Beaupré, Jameson Graef Rollins, Teemu Likonen, Notmuch Mail

Cc:

From: Daniel Kahn Gillmor


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
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: