diff options
author | jao <jao@gnu.org> | 2021-04-23 01:23:38 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-04-23 01:23:38 +0100 |
commit | 149ad6fedf199dcb20fdd388d19fad5b3f848989 (patch) | |
tree | 9b448830883ff9dde2e630bf7473c194366b0756 | |
parent | f46b70ad06e1575409a6bf18efcf8165e61cc2ba (diff) | |
download | elibs-149ad6fedf199dcb20fdd388d19fad5b3f848989.tar.gz elibs-149ad6fedf199dcb20fdd388d19fad5b3f848989.tar.bz2 |
notmuch: homogeneous scrolling over everything with SPC
-rw-r--r-- | email.org | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -503,7 +503,8 @@ :bind (:map notmuch-hello-mode-map (("g" . jao-notmuch-refresh-hello) ("S" . consut-notmuch) - ("k" . nil)))) + ("k" . nil) + ("SPC" . widget-button-press)))) #+end_src *** show @@ -571,8 +572,10 @@ (defun jao-notmuch-tree-scroll-or-next () "Scroll or next message in forest or exit if none." (interactive) - (when (notmuch-tree-scroll-message-window) - (notmuch-tree-next-matching-message t))) + (if (notmuch-tree-scroll-message-window) + (notmuch-tree-next-matching-message t) + (when (not (window-live-p notmuch-tree-message-window)) + (notmuch-tree-show-message nil)))) (defun jao-notmuch--format-field (fun field &rest args) (let ((rs (apply fun field args))) |