aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-11 09:59:13 -0700
committerDavid Bremner <david@tethera.net>2020-08-22 09:11:06 -0300
commit88ae4f02511c4dd61ea90b28794f469819d543be (patch)
tree28d48aa7eca3525ca103619e8fd19bd90e42c554 /bindings/python
parentd7732b2b6aa0a62262061b3b330221d2fdf772e0 (diff)
emacs: Use pop-to-buffer-same-window rather than switch-to-buffer
This means that notmuch commands obey display-buffer-alist so the user can customize how buffers show up. It also permits the use of C-x 4 4, C-x 5 5 and C-x t t, available in Emacs 28. For example, one can use C-x 4 4 M-x notmuch-jump-search RET to open a saved search in another window rather than the current window. Or in notmuch-search mode, C-x 5 5 RET to view the message at point in a new frame. notmuch-tree has custom buffer display logic, so bind display-buffer-overriding-action to make pop-to-buffer-same-window behave exactly as switch-to-buffer while that function is running.
Diffstat (limited to 'bindings/python')
0 files changed, 0 insertions, 0 deletions