erik colson <eco@ecocode.net> writes: > Coming from mu4e I am missing a feature to mark several messages in a > search before applying a tag them. I know I can apply a tag to a region > of messages but in this case I would like to select messages while > skipping some messages. > Is this possible in notmuch/emacs ? As a prototype try the following. This does assume that tagging operations are fast enough not to be annoying interactively. - customize notmuch-tagging-keys, add a key "m" to add tag "marked" - customize notmuch-saved-searches, add a search "marked", for "tag:marked", with key "m". - k m to mark messages - C-c j m to bring up the list of marked messages - at this point you can unmark some by "k k m" - finally * to apply "-marked +whatever" The unpleasant part (IMHO) is having to specify "-marked" manually, but that could be fixed by defining something like (defun notmuch-tag-marked (tag-changes) "Add/remove tags from all messages currently tagged `marked'." (interactive (list (notmuch-read-tag-changes nil "Tag marked" "-marked "))) (notmuch-tag "tag:marked" (cons "-marked" tag-changes)) (notmuch-refresh-all-buffers)) then define a key like (define-key global-map "\C-cm" #'notmuch-tag-marked) I guess if people find this useful, we could add an appropriately polished version. The main issue will me collisions with already existing keybindings. _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org