unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Reto <reto@labrat.space>
To: Tomi Ollila <tomi.ollila@iki.fi>
Cc: Notmuch mailinglist <notmuch.pbn7u@8shield.net>, notmuch@notmuchmail.org
Subject: Re: Create tags from folders
Date: Tue, 9 Aug 2022 00:10:38 +0200	[thread overview]
Message-ID: <20220808221038.oebuhqqvgxgkqpa5@feather> (raw)
In-Reply-To: <y3dsi8f.goegoe-too@iki.fi>

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.

  reply	other threads:[~2022-08-08 22:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 19:18 Create tags from folders Notmuch mailinglist
2022-08-07 19:49 ` Reto
2022-08-08 14:30 ` Tomi Ollila
2022-08-08 22:10   ` Reto [this message]
2022-08-09  1:39     ` David Bremner
2022-08-09  5:58       ` Reto
2022-08-09 11:28         ` David Bremner
2022-08-08 18:50 ` Thomas Schneider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220808221038.oebuhqqvgxgkqpa5@feather \
    --to=reto@labrat.space \
    --cc=notmuch.pbn7u@8shield.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).