unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 27997@debbugs.gnu.org
Subject: bug#27997: pick a better buffer to fill the gap, not one I already see
Date: Mon, 07 Aug 2017 08:37:20 +0800	[thread overview]
Message-ID: <87y3qwkybj.fsf@jidanni.org> (raw)

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.





             reply	other threads:[~2017-08-07  0:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07  0:37 積丹尼 Dan Jacobson [this message]
2017-08-07  3:49 ` bug#27997: pick a better buffer to fill the gap, not one I already see Tino Calancha
2019-10-14 20:03   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3qwkybj.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=27997@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).