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 22:38:56 +0200 Message-ID: <83r1br7lb3.fsf@gnu.org> References: <83bl2wa0fl.fsf@gnu.org> <838ry09xvi.fsf@gnu.org> <8335o89s48.fsf@gnu.org> <83zgqf7pvm.fsf@gnu.org> <83v9137nbx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7623"; 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 21:40:27 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 1mjoxl-0001gp-QT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 21:40:26 +0100 Original-Received: from [::1] (port=36552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjoxk-0001lf-8K for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 15:40:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjoxO-0001iu-RQ for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 15:40:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjoxO-0006vT-HM for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 15:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjoxO-0004tq-EG for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 15:40:02 -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 20:40:02 +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.163631755818769 (code B ref 51650); Sun, 07 Nov 2021 20:40:02 +0000 Original-Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 20:39:18 +0000 Original-Received: from localhost ([127.0.0.1]:54968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjowg-0004sf-F3 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 15:39:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjowd-0004sM-U0 for 51650@debbugs.gnu.org; Sun, 07 Nov 2021 15:39:17 -0500 Original-Received: from [2001:470:142:3::e] (port=55386 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjowY-0006pr-5c; Sun, 07 Nov 2021 15:39:10 -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=FlA2bGt1GoHwzvxeWtijQ2Nzi1ZK7uykWUFHtbBxzUc=; b=bxm/mri5Z2jL 5CFU7l/U8iC+IJ87t53ta9S6ECEo9mKJOyzbaIK23dlHSF7GtlS53FQEr8PrRmj6rhVledbtT01lg SPvwlt7eRhaNEDgGtfWDbYJt9v2V+yNE3jiVFFQeL2Slizt1oxRuHaLTdjS0hQYJnB94XKpZcYkqN tqpiYsGMVJGg8JMfghtbakTlV01U+4tqWTGm1Srr2OKGOVv6z7WEaXGdQHURZHMwvjZMXcbs/+TEh L7ivgZELp90RlBbtoEiu4RsyZp0gS9gDL7ghUsl+kSnmzDQgm6ud/j8hLBjScUVGoy73ZInOZEKFM YdcivYj8E/6Z/Sh1adYVaQ==; Original-Received: from [87.69.77.57] (port=3074 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 1mjowX-0005FJ-BS; Sun, 07 Nov 2021 15:39:09 -0500 In-Reply-To: (message from Carlos Pita on Sun, 7 Nov 2021 17:27:58 -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:219292 Archived-At: > From: Carlos Pita > Date: Sun, 7 Nov 2021 17:27:58 -0300 > Cc: 51650@debbugs.gnu.org > > > But the difference is that until the first TAB the user cannot know > > whether there is any completion. Only after Emacs doesn't complete is > > that fact known. > > First of all, I'm assuming: > > - The initial value is taken from the current working directory so > it's always a valid completion. The completion doesn't know that. It's just what the caller arranged for it to display. > - TAB never completes across the directory boundary. But it can complete less than that. > You seem to be saying that the TAB that produced ~/Desktop/ from > ~/Desk is adding some worthy information about the contents of > ~/Desktop, and therefore about possible completions, that > wouldn't be there if the user, say, launched emacs from ~/Desktop > as in #3. But, for the life of me, I cannot see it :( The completion doesn't know where it was launched from. It just knows what the user typed, and in the "~/" case the user didn't type anything.