From: "inwit" <inwit@sindominio.net>
To: <notmuch@notmuchmail.org>
Subject: Tagging in tree mode
Date: Mon, 08 Feb 2021 18:53:28 +0100 [thread overview]
Message-ID: <C94CAR8IJGFF.2U3X8MF4FLD8E@bisio> (raw)
Hi!
In order to dive a bit deeper in how notmuch for emacs works, I'm trying
to figure out why while I can press "d" and get a nice "deleted" tag
added to my messages in show mode, when I do the same thing in tree mode
I get "Nothing to tag!" instead of the expected behaviour.
After reading the list [0], I've tried to add the following snippet to
my config file, to no avail:
(define-key notmuch-tree-mode-map "d"
(lambda ()
"toggle deleted tag for message"
(interactive)
(notmuch-tree-tag
(if (member "deleted" (notmuch-tree-get-tags))
(list "-deleted")
(list "+deleted")))))
Any hint? How come the "d" shortcut is enabled by default in show mode
but not in tree mode?
Regards,
[0] https://notmuchmail.org/pipermail/notmuch/2014/018125.html
next reply other threads:[~2021-02-08 18:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 17:53 inwit [this message]
2021-02-08 18:45 ` Tagging in tree mode David Bremner
2021-02-08 18:55 ` inwit
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=C94CAR8IJGFF.2U3X8MF4FLD8E@bisio \
--to=inwit@sindominio.net \
--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).