unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Reto <reto@labrat.space>, Tomi Ollila <tomi.ollila@iki.fi>
Cc: Notmuch mailinglist <notmuch.pbn7u@8shield.net>, notmuch@notmuchmail.org
Subject: Re: Create tags from folders
Date: Mon, 08 Aug 2022 22:39:36 -0300	[thread overview]
Message-ID: <8735e6jiuf.fsf@tethera.net> (raw)
In-Reply-To: <20220808221038.oebuhqqvgxgkqpa5@feather>

Reto <reto@labrat.space> writes:

>
> 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 ;)

Just in case you didn't know, another option is define (with notmuch
config) e.g. query:python as
'folder:reto@labrat.space/INBOX.lists.python-list'

This has the advantage that you don't have to retag when new files are
added, which is often the desired behaviour.

d

  reply	other threads:[~2022-08-09  1:39 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
2022-08-09  1:39     ` David Bremner [this message]
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=8735e6jiuf.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch.pbn7u@8shield.net \
    --cc=notmuch@notmuchmail.org \
    --cc=reto@labrat.space \
    --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).