Re: proposing "notmuch purge"

Subject: Re: proposing "notmuch purge"

Date: Tue, 14 Jan 2020 11:55:36 -0800

To: Daniel Kahn Gillmor, Teemu Likonen, Notmuch Mail

Cc: Antoine Beaupré

From: Jameson Graef Rollins


On Tue, Jan 14 2020, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
>> I think that the "SEARCH-TERMS" part should be configurable, not
>> hard-coded. A user could have setting like
>> "search.purge_tags=deleted;spam" and that would lead to search terms
>> "tag:deleted OR tag:spam" in the purge operation.
>
> I want the user to be able to run "notmuch purge", with no arguments, to
> "Do What I Mean"™
>
> I also want the "purge" subcommand to have its own configuration
> space -- it's *not* a specialized form of "search".

Honestly I don't see the point of any user configuration here.  Seems
likely to only add confusion and possibly improperly deleted messages,
which would be very bad.

Just use the "deleted" tag only.  It's already being used in multiple
place to mean that the message should be deleted.

jamie.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: