GNU bug report logs - #27997
pick a better buffer to fill the gap, not one I already see

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 7 Aug 2017 02:13:04 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: pick a better buffer to fill the gap, not one I already see
Date: Mon, 07 Aug 2017 08:37:20 +0800
OK I killed a buffer, so a new one pops in to replace it.

Except sometimes the choice of the new one is quite embarrassing: it
picks a buffer I'm already looking at while at the same time ignoring a
better candidate.

$ emacs -Q /tmp/a /tmp/b /tmp/c
 C-x 1 [delete-other-windows]
 C-x 4 b [switch-to-buffer-other-window] # Smart enough not to prompt with the name of a buffer I already see. Good.
 <return> [minibuffer-complete-and-exit] # was prompted with "b", OK
 C-x k [kill-buffer]                     # was prompted with "b", OK
 <return> [minibuffer-complete-and-exit] # killed "b", OK, but...

Now I'm staring at two "c" buffers!
I would be better served by staring at "a" and "c" buffers.

So please when selecting a buffer to fill the gap,
again be smart enough not to show a buffer I already see.




This bug report was last modified 5 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.