unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Jon Fineman <jon@fineman.me>, notmuch@notmuchmail.org
Cc: Jon Fineman <jon@fineman.me>
Subject: Re: tagging threads
Date: Fri, 15 Sep 2023 20:29:34 -0300	[thread overview]
Message-ID: <87jzsrow0x.fsf@tethera.net> (raw)
In-Reply-To: <87v8cgmzkl.fsf@ryzen.jonjfineman.com>

Jon Fineman <jon@fineman.me> writes:

> I have followed this guide to tag a message/thread for deletion that a
> shell script will then delete.
> <https://notmuchmail.org/emacstips/#index4h2>

Just for the record, "k d" will add the "deleted" tag by default in
search, tree and show mode

>
> However an unwanted byproduct of tagging the thread is if I have
> tagged (moved) an individual message to another folder, the thread
> tagging will go through all messages and tag those too for deletion.

I don't understand this part. What is the relationship between a thread
and a folder for you?

> Any thoughts on how I might prevent an individual message from being
> tagged by a tag thread action?

You can make some other query that doesn't match the whole thread, then
use * to tag all the messages match that query (perhaps using unthreaded
view).

I don't know a nice UI to do that with a few keystrokes.  I suppose I'd
probably give the message in question a tag:tmp and the search for
tag:tmp and tag:deleted in order to "undelete" it. All of that with the
disclaimer that I don't really understand the problem description.

      reply	other threads:[~2023-09-15 23:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-11 16:42 tagging threads Jon Fineman
2023-09-15 23:29 ` David Bremner [this message]

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=87jzsrow0x.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=jon@fineman.me \
    --cc=notmuch@notmuchmail.org \
    /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).