From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#34622: Find file prompt should indicate sole completion by appending a blank Date: Sat, 23 Feb 2019 05:40:07 +0800 Message-ID: <87k1hrijt4.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="266374"; mail-complaints-to="usenet@blaine.gmane.org" To: 34622@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 22:41:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxIZI-00179v-Bs for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 22:41:17 +0100 Original-Received: from localhost ([127.0.0.1]:57270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxIZH-0007Qs-Bp for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 16:41:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxIZ6-0007PR-4D for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:41:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxIZ5-0000jl-54 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:41:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxIZ4-0000iI-Ai for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxIZ4-0007qB-6j for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2019 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34622 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155087162730089 (code B ref -1); Fri, 22 Feb 2019 21:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Feb 2019 21:40:27 +0000 Original-Received: from localhost ([127.0.0.1]:48623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxIYV-0007pF-7l for submit@debbugs.gnu.org; Fri, 22 Feb 2019 16:40:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxIYS-0007p1-Pp for submit@debbugs.gnu.org; Fri, 22 Feb 2019 16:40:25 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxIYN-000822-J5 for submit@debbugs.gnu.org; Fri, 22 Feb 2019 16:40:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxIYM-00071u-Ho for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:40:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxIYL-0007tY-Hh for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:40:18 -0500 Original-Received: from common.maple.relay.mailchannels.net ([23.83.214.38]:4920) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxIYL-0007lf-18 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 16:40:17 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7AA9812416B for ; Fri, 22 Feb 2019 21:40:11 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a30.g.dreamhost.com (unknown [100.96.35.41]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 349D0125330 for ; Fri, 22 Feb 2019 21:40:11 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a30.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.3); Fri, 22 Feb 2019 21:40:11 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Obese-Hysterical: 46845eec1bb60adc_1550871611317_2064569388 X-MC-Loop-Signature: 1550871611317:298851408 X-MC-Ingress-Time: 1550871611316 Original-Received: from pdx1-sub0-mail-a30.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a30.g.dreamhost.com (Postfix) with ESMTP id CABDF80B9A for ; Fri, 22 Feb 2019 13:40:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=DxK2Uw70LXOydHCx0QfCZXeniYI=; b=dCExbSJP5k94jgzJ 66Y+eumvi3MulpI0e3m4i312zdkEPeSDqXvL0aQyxqeRK/FV/GkTmAhHrmTYkKNF fKJWdvBhwzekVo5FA0poysIMsVrwKqItirvA0w3gJXoYDR84YB5X/c3r85fGj+ZJ KrbVzOto5meuA7j7bEI7gOIw6pM= Original-Received: from jidanni.org (220-140-9-124.dynamic-ip.hinet.net [220.140.9.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 2175080BB0 for ; Fri, 22 Feb 2019 13:40:09 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a30 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddruddtgdduheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucffohhmrghinhepghhnuhdrohhrghenucfkphepvddvtddrudegtddrledruddvgeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpedvvddtrddugedtrdelrdduvdegpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155661 Archived-At: With emacs, one can never be sure if the expansion Find file or URL: ~/bin/wwzz is the sole completion or not, without needing a second TAB press to get "[Sole completion]" shown. With bash, there is always a space added at end, "$ wc ~/bin/wwzz " so we know right away. I propose that emacs do the same: "Find file or URL: ~/bin/wwzz " and if they really want to enter a file with a " " at the end, well they could use C-q (quoted-insert). See also https://www.gnu.org/software/emacs/manual/html_node/elisp/Minibuffer-Completion.html but I am specifically talking about C-x C-f (find-file) and C-x d (dired). Sorry we did discuss this before...