]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: modify the default show-mode key bindings for archiving
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 25 Jan 2012 00:06:22 +0000 (16:06 -0800)
committerDavid Bremner <bremner@debian.org>
Tue, 31 Jan 2012 03:24:36 +0000 (23:24 -0400)
This changes the default key bindings for the 'a' key in notmuch-show
mode.  Instead of archiving the entire thread, it now just archives
the current message, and then advance to the next open message
(archive-message-then-next).  'A' is now bound to the previous
archive-thread-then-next function.

emacs/notmuch-show.el

index 9a40b0e2c3a16a1a6252088c448dc8c55553381e..6d410574d497f6a8e58eabceec580dab350bc54a 100644 (file)
@@ -1076,7 +1076,8 @@ thread id.  If a prefix is given, crypto processing is toggled."
        (define-key map "-" 'notmuch-show-remove-tag)
        (define-key map "+" 'notmuch-show-add-tag)
        (define-key map "x" 'notmuch-show-archive-thread-then-exit)
-       (define-key map "a" 'notmuch-show-archive-thread-then-next)
+       (define-key map "a" 'notmuch-show-archive-message-then-next)
+       (define-key map "A" 'notmuch-show-archive-thread-then-next)
        (define-key map "N" 'notmuch-show-next-message)
        (define-key map "P" 'notmuch-show-previous-message)
        (define-key map "n" 'notmuch-show-next-open-message)