From 887b15efa8c120129f94138e4ce5e8460f9db2fa Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 3 Oct 2025 07:52:32 +0200 Subject: Update Buffer-menu rant --- itches/emacs/tracker.org | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'itches/emacs') diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org index 7679c92..9ee284b 100644 --- a/itches/emacs/tracker.org +++ b/itches/emacs/tracker.org @@ -446,20 +446,24 @@ Following integration into core. ** Major modes *** Buffer-menu **** TODO select on entry -=C-x C-b= invokes ~list-buffer~, but does not select the menu window. +=C-x C-b= invokes ~list-buffers~ (resp. =C-x p C-b= +~project-list-buffers~), but does not select the menu window. -There are a lot of ways to work around this: +There are many workarounds: - prefix with =C-x 4 1= - rebind =C-x C-b= to ~buffer-menu~ -- customize =display-buffer-alist= + - also selects menu window with =C-x 4 4= 👍 + - does not handle ~project-list-buffer~ 👎 +- customize =display-buffer-alist= to ~display-buffer-same-window~ + - handles ~project-list-buffer~ 👍 + - does not select menu window on =C-x 4 4= 👎 Wondering if anyone is happy with the status quo. - /hatmatrix/ and 56 🔼voters are [[https://stackoverflow.com/q/1231188/1503371][unhappy]]; folks suggest (≈100 🔼votes - total; ordered from most to least voted, aggregating duplicate - answers) - - rebinding to ~buffer-menu~ (✋), + total; ordered from most to least voted, merging duplicates) + - rebinding to ~buffer-menu~, - using ~ido-mode~, - customizing =same-window-regexps= (obsoleted by =display-buffer-alist=), -- cgit v1.2.3