notmuch.el: Add 'N' binding to mark message read and go to next.

The magic space bar is nice, but sometimes there's a message with a
long attachment that I just want to skip, but still consider the
message marked as read.
This commit is contained in:
Carl Worth 2009-11-05 04:55:51 -08:00
parent 22adeeaab7
commit 2b576c62be
2 changed files with 5 additions and 0 deletions

4
TODO
View file

@ -1,5 +1,9 @@
Emacs interface (notmuch.el)
----------------------------
Make hidden components self documenting, such as:
[24-line citation, press 'c' to display.]
Add support to compose a reply to the current messaage.
notmuch command-line tool

View file

@ -33,6 +33,7 @@
(define-key map "c" 'notmuch-show-toggle-citations-visible)
(define-key map "h" 'notmuch-show-toggle-headers-visible)
(define-key map "n" 'notmuch-show-next-message)
(define-key map "N" 'notmuch-show-mark-read-then-next-open-message)
(define-key map "p" 'notmuch-show-previous-message)
(define-key map (kbd "C-n") 'notmuch-show-next-line)
(define-key map (kbd "C-p") 'notmuch-show-previous-line)