unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 28714@debbugs.gnu.org
Subject: bug#28714: Shouldn't minibuffer-complete add a space after sole completions?
Date: Fri, 06 Oct 2017 07:53:26 -0400	[thread overview]
Message-ID: <jwvk2081oor.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87a815jzw0.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Fri, 06 Oct 2017 00:57:51 +0800")

> Shouldn't minibuffer-complete add a space after sole completions?

Depends in which context: for example when completing for `M-x` or `C-x
C-f`, adding a space at the end would be an error since with the space
it would not correspond to an existing command or file name any more.

> That is how bash does it.

So does Emacs too during completion of shell commands, AFAIK.


        Stefan





  reply	other threads:[~2017-10-06 11:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 16:57 bug#28714: Shouldn't minibuffer-complete add a space after sole completions? 積丹尼 Dan Jacobson
2017-10-06 11:53 ` Stefan Monnier [this message]
2017-10-06 21:54 ` 積丹尼 Dan Jacobson
2017-10-07  7:28   ` Eli Zaretskii
2017-10-07 15:11   ` Stefan Monnier
2021-11-30 15:02   ` Lars Ingebrigtsen
2021-11-30 20:42     ` 積丹尼 Dan Jacobson
2017-10-08  0:49 ` 積丹尼 Dan Jacobson

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=jwvk2081oor.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=28714@debbugs.gnu.org \
    --cc=jidanni@jidanni.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).