* [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up
@ 2016-09-25 7:18 Mark Walters
2016-09-25 7:52 ` Tomi Ollila
2016-09-26 16:15 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: Mark Walters @ 2016-09-25 7:18 UTC (permalink / raw)
To: notmuch
This tweaks the keybindings in tree-mode. It make b do bounce/resend
matching show-mode. Since b was already bound to scroll message pane
back, we now use backspace for that.
This means space/backspace scroll the message pane forwards/backwards,
and page-up/page-down scrolls the tree pane forwards/backwards.
---
emacs/notmuch-tree.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 6e5797e..658c4f9 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -251,6 +251,7 @@ FUNC."
(define-key map "w" 'notmuch-show-save-attachments)
(define-key map "v" 'notmuch-show-view-all-mime-parts)
(define-key map "c" 'notmuch-show-stash-map)
+ (define-key map "b" 'notmuch-show-resend-message)
;; these apply to the message pane
(define-key map (kbd "M-TAB") (notmuch-tree-to-message-pane #'notmuch-show-previous-button))
@@ -282,7 +283,7 @@ FUNC."
(define-key map "+" 'notmuch-tree-add-tag)
(define-key map "*" 'notmuch-tree-tag-thread)
(define-key map " " 'notmuch-tree-scroll-or-next)
- (define-key map "b" 'notmuch-tree-scroll-message-window-back)
+ (define-key map (kbd "DEL") 'notmuch-tree-scroll-message-window-back)
map))
(fset 'notmuch-tree-mode-map notmuch-tree-mode-map)
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up
2016-09-25 7:18 [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up Mark Walters
@ 2016-09-25 7:52 ` Tomi Ollila
2016-09-26 16:15 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2016-09-25 7:52 UTC (permalink / raw)
To: Mark Walters, notmuch
On Sun, Sep 25 2016, Mark Walters <markwalters1009@gmail.com> wrote:
> This tweaks the keybindings in tree-mode. It make b do bounce/resend
> matching show-mode. Since b was already bound to scroll message pane
> back, we now use backspace for that.
>
> This means space/backspace scroll the message pane forwards/backwards,
> and page-up/page-down scrolls the tree pane forwards/backwards.
> ---
Fine by me. I have to think how to modify (if any) my already stale
NEWS change.
Tomi
> emacs/notmuch-tree.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
> index 6e5797e..658c4f9 100644
> --- a/emacs/notmuch-tree.el
> +++ b/emacs/notmuch-tree.el
> @@ -251,6 +251,7 @@ FUNC."
> (define-key map "w" 'notmuch-show-save-attachments)
> (define-key map "v" 'notmuch-show-view-all-mime-parts)
> (define-key map "c" 'notmuch-show-stash-map)
> + (define-key map "b" 'notmuch-show-resend-message)
>
> ;; these apply to the message pane
> (define-key map (kbd "M-TAB") (notmuch-tree-to-message-pane #'notmuch-show-previous-button))
> @@ -282,7 +283,7 @@ FUNC."
> (define-key map "+" 'notmuch-tree-add-tag)
> (define-key map "*" 'notmuch-tree-tag-thread)
> (define-key map " " 'notmuch-tree-scroll-or-next)
> - (define-key map "b" 'notmuch-tree-scroll-message-window-back)
> + (define-key map (kbd "DEL") 'notmuch-tree-scroll-message-window-back)
> map))
> (fset 'notmuch-tree-mode-map notmuch-tree-mode-map)
>
> --
> 2.1.4
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up
2016-09-25 7:18 [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up Mark Walters
2016-09-25 7:52 ` Tomi Ollila
@ 2016-09-26 16:15 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2016-09-26 16:15 UTC (permalink / raw)
To: Mark Walters, notmuch
Mark Walters <markwalters1009@gmail.com> writes:
> This tweaks the keybindings in tree-mode. It make b do bounce/resend
> matching show-mode. Since b was already bound to scroll message pane
> back, we now use backspace for that.
>
> This means space/backspace scroll the message pane forwards/backwards,
> and page-up/page-down scrolls the tree pane forwards/backwards.
I call 5 hour rule, and squeezed one more patch in to 0.23. If nothing else,
this makes the NEWS easier to write ;).
d
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-26 16:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-25 7:18 [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up Mark Walters
2016-09-25 7:52 ` Tomi Ollila
2016-09-26 16:15 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).