unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9598@debbugs.gnu.org
Subject: bug#9598: 24.0.50; completion goes too far
Date: Mon, 26 Sep 2011 06:42:18 -0400	[thread overview]
Message-ID: <E1R88de-0003Ia-Is@fencepost.gnu.org> (raw)
In-Reply-To: <jwvipogauvq.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 25 Sep 2011 22:45:50 -0400)

    > When in the *mail* buffer, I found that C-x b *ma TAB offered me
    [...]
    > and did not mention *mail* at all.

    That's on purpose: C-x b is about moving to another buffer, so it
    explicitly excludes the current buffer.

TAB excludes the current buffer from completion, so that you can
more often get a useful completion result.

However, listing the available completions is a different issue.
Omitting the current buffer there is not beneficial; it only gives
the user less useful information.  There, the current buffer
should be included.

Basically, try-complete should exclude the current buffer
but all-completions should include it.


-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/





  reply	other threads:[~2011-09-26 10:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25 17:34 bug#9598: 24.0.50; completion goes too far Richard Stallman
2011-09-25 18:47 ` Drew Adams
2011-09-26  1:00   ` Richard Stallman
2011-09-26  1:53     ` Drew Adams
2011-09-26  6:09     ` Eli Zaretskii
2011-09-26 10:42       ` Richard Stallman
2011-09-26 11:34         ` Eli Zaretskii
2011-09-26 21:12           ` Richard Stallman
2022-02-06  0:05             ` bug#12916: 24.2; Completion for "C-x b" does not include current buffer Lars Ingebrigtsen
2011-09-26  2:45 ` bug#9598: 24.0.50; completion goes too far Stefan Monnier
2011-09-26 10:42   ` Richard Stallman [this message]
2011-09-27  2:25     ` Stefan Monnier
2011-09-27 16:34       ` Richard Stallman
2011-10-11  2:52         ` Stefan Monnier
2011-10-11 22:01           ` Richard Stallman
2016-01-31 14:30 ` bug#9598: Status: C-x b completion should also display current buffer Marcin Borkowski
2016-01-31 16:18   ` bug#12916: " Drew Adams
2016-01-31 16:56   ` Eli Zaretskii

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=E1R88de-0003Ia-Is@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=9598@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).