From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51650: Autocomplete: first Tab should show *Completions* buffer Date: Sun, 07 Nov 2021 09:28:06 +0200 Message-ID: <83cznca0hm.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40066"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51650@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 07 08:29:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjcc2-000AF6-6G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 08:29:10 +0100 Original-Received: from localhost ([::1]:33374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjcc1-0000et-44 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 02:29:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjcbu-0000ei-8R for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 02:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjcbt-0007o7-WF for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 02:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjcbt-0006dW-TL for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 02:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51650 X-GNU-PR-Package: emacs Original-Received: via spool by 51650-submit@debbugs.gnu.org id=B51650.163627011225472 (code B ref 51650); Sun, 07 Nov 2021 07:29:01 +0000 Original-Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 07:28:32 +0000 Original-Received: from localhost ([127.0.0.1]:51658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjcbQ-0006cm-12 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 02:28:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjcbN-0006cZ-0s for 51650@debbugs.gnu.org; Sun, 07 Nov 2021 02:28:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjcbD-0006zO-PJ; Sun, 07 Nov 2021 02:28:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WXP430abq81XuXXzmhxtKiZvPk+MTOmIAZJxnu9rwNE=; b=YhDkcPBfw4/m ztm5QcETekbsB1ad7pmVchJ91XFa4sZhuYc2h/ccbASJ/2heQXQ6Wf9k7NyTJN18yUrjTHdqbjRkg /tpEGLVY6itlt1bhnelYvj8shHN7/RhLuhaqdZYN51KaTT+uhIavpEHHgDfjV+9+xUhAuIbpABjAR P3bDZLZz8KhDy5kKJnBESfw79gqbKcbKIH41POdXBj/TgZvyRdlHt6y89LFOEZf29gqB+VuclS2+a 7zOxolavwOOIpELsjKRwlvbSBvtfFlvES8p8vYqEB87imqEEcZ94tXXxzbFMaUobvUJaZrYTc8fhQ EZlM8IktoxkuplX95llILQ==; Original-Received: from [87.69.77.57] (port=1667 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjcbD-0001FD-6e; Sun, 07 Nov 2021 02:28:19 -0500 In-Reply-To: (message from Carlos Pita on Sun, 7 Nov 2021 01:27:44 -0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219210 Archived-At: > From: Carlos Pita > Date: Sun, 7 Nov 2021 01:27:44 -0300 > > I might be wrong here, but I believe find-file and friends work in a > way that is a bit inconvenient as well as a bit inconsistent. > > For example: > > 1. I press C-x C-f and get "Find file: ~/" > 2. I press Tab once and get the message "Complete, but not unique" > 3. I press Tab again and the *Completions* buffer appears with > candidate completions. > 4. I type "Desk" and press Tab. > 5. Now I'm at ~/Desktop/ and press Tab again. > 6. I get the message "Complete, but not unique" but at the same time > the *Completions* buffer is displayed. > > Now, this is inconvenient since the first time I have to type Tab twice > in order to get the *Completions* buffer (or ?, which is not very > handy in most keyboards). AFAICS the first Tab does nothing at all > except in the rare situation when there is a single completion, in > other cases the inference that the user could use some help seems not > too far-fetched to me. This is a long-standing behavior, which is very convenient with file names. It is documented in the node "Completion Exit" in the Emacs manual. We should not change this behavior. > I think that Tab in step 2 should show the message and the list of > possible completions at the same time. That'd get in the way of selecting the "complete, but not unique" candidate. It is also a distraction.