Re: Create tags from folders

Subject: Re: Create tags from folders

Date: Tue, 9 Aug 2022 00:10:38 +0200

To: Tomi Ollila

Cc: Notmuch mailinglist, notmuch@notmuchmail.org

From: Reto


On Mon, Aug 08, 2022 at 05:30:29PM +0300, Tomi Ollila wrote:
> On Sun, Aug 07 2022, Notmuch mailinglist wrote:
> 
> It is kinda duplicate information to have mail tagged with same name
> as the folder it is located in... but there may be reasons one would
> like to do such a thing -- and at least I am interested (at least a bit)
> why.

Well, for starters folders may change (say archiving those on the
imap side), the semantic tags do not.

Second, I let notmuch index multiple email addresses in the same store,
meaning my folder queries are then nested rather deep.

So my lovely tag:python query amounts to `notmuch search 'folder:reto@labrat.space/INBOX.lists.python-list'`

Which... is a mouthful.

Regexes aren't a solution, just makes it now two problems as I have
multiple python lists that could match ;)

Cheers,
Reto

PS: not op, but also re-tagging even though I have emails filtered to
dedicated folders via sieve.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: