diff options
author | jao <jao@gnu.org> | 2021-04-26 04:07:36 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-04-26 04:07:36 +0100 |
commit | c0883440c983e9beec88b000843fe91b82fded63 (patch) | |
tree | ed0e69c33283df8319b9b90ddef6860b84585a52 /email.org | |
parent | 705ad2cb9c452de23b146be8c6bfc445b0a06aa1 (diff) | |
download | elibs-c0883440c983e9beec88b000843fe91b82fded63.tar.gz elibs-c0883440c983e9beec88b000843fe91b82fded63.tar.bz2 |
notmuch: k to mark as deleted current thread
Diffstat (limited to 'email.org')
-rw-r--r-- | email.org | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -590,6 +590,17 @@ (scroll-other-window 1) (notmuch-tree-show-message nil))) + (defun jao-notmuch-tree-delete-next (thread) + "Mark as deleted current message (or thread, with prefix) and move to next." + (interactive "P") + (jao-notmuch-tree--tag-next '("+deleted" "-unread" "-new") nil thread)) + + + (defun jao-notmuch-tree-read-thread-next () + "Mark the current thread as read and move to next one." + (interactive) + (jao-notmuch-tree--tag-next '("-unread" "-new") nil t)) + (dolist (f '(notmuch-tree-match-tree-face notmuch-tree-no-match-tree-face)) (set-face-attribute f nil @@ -608,7 +619,8 @@ (("." . jao-notmuch-toggle-mime-parts) ("i" . jao-notmuch-toggle-images) ("h" . jao-notmuch-goto-message-buffer) - ("k" . jao-notmuch-tag-jump) + ("K" . jao-notmuch-tag-jump) + ("k" . jao-notmuch-tree-read-thread-next) ("n" . jao-notmuch-tree-next) ("RET" . jao-notmuch-tree-show-or-scroll) ("SPC" . jao-notmuch-tree-scroll-or-next)))) @@ -639,7 +651,7 @@ notmuch-tagging-keys '(("a" notmuch-archive-tags "Archive") ("d" notmuch-show-mark-read-tags "Mark read") - ("u" ("+new" "+unread") "Mark unred read") + ("u" ("+new" "+unread") "Mark unread") ("f" ("+flagged") "Flag") ("x" ("+deleted" "-new" "-flagged" "-unread") "Deleted"))) |