Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 22:33:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 17:33:34 2021 Received: from localhost ([127.0.0.1]:55174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjqjG-0003gg-KM for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 17:33:34 -0500 Received: from mout.gmx.net ([212.227.15.19]:50643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1mjqjC-0003gR-QO for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 17:33:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1636324404; bh=qWDDH2h9ijvUCUfYcylJDzzdqvtlEuRvCdu+m7McjR8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=HYueE/MTehCiXvuUztY9smv36Kc/1N3yvo2GRgTgJdq3N1+K23W2t7F0wnJGuV4Zm Mp1pRVHGy2gKQ2B7PGbtJ6Hj9nErAb2Zq1tYdDQezqKcW5ddWfAwiXgdGgpRs4FUQB odMp4wJJGh2F5ujPG2ZPhrkffMTNhA35E5m5/+8Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobelfs ([188.109.162.137]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MBUqL-1msPpk3cNT-00CzZN; Sun, 07 Nov 2021 23:33:24 +0100 From: Stephen Berman <stephen.berman@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> <83v9137nbx.fsf@HIDDEN> <CAELgYherabwPqhpsfo9sNRbmmVrppyZv9+iBkU+Q72Z3U-kwtg@HIDDEN> <83r1br7lb3.fsf@HIDDEN> <CAELgYhcWWa5zS0CDB5x0VeCcGvLxBF+jXCTTpkgiddw5Z6GfGA@HIDDEN> Date: Sun, 07 Nov 2021 23:33:22 +0100 In-Reply-To: <CAELgYhcWWa5zS0CDB5x0VeCcGvLxBF+jXCTTpkgiddw5Z6GfGA@HIDDEN> (Carlos Pita's message of "Sun, 7 Nov 2021 18:24:56 -0300") Message-ID: <8735o77g0d.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:Yj0DO0l6u01SKqnsYNA0hvC+Uq2HonpoQchGZlDLqS2q8FOU4iz uwN1DEOITUYk404Vl5rOpIWLZOP7Y6Xiv/nZnzCRpULiNSm/gzdQOqR/Ushatl4fzZ+i4gM y6K5PSQaBnvCe9/aln4p674tKT28bN/C9R3lc8VEoN3RuaBGJl4T1ajF17nMrYcntT+7Hov n4FfbjZDwotI1evY5whWw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:D6Oq5oZVv1Y=:fQqTUuMKWO4j93CMNX+HEp LKXl58mIQ/LgsnFdNzQ3Ge0Sm+kbODnvu60+okBVdJkzApvCql3F6C82P8Zy7Zj7Wnb0uxXEP bkPcCYpJvBJ73nMHjHRFKwAXMC2BHX+mOD44jcpRqq1WwVo/Va5cW0eqzcfyZiYDY624A/sbO bZokWBotqQ32uRz1ef6IYugrHKniL1en3JabyVbAvogJH7iRlDqLXNW5qNB8Dexsjv71iCs3s 2LZypMnCESw9v3cSEjrweK89A++W30RH5oQfosAM5aN8BxmpRPy7+couzT5iTsAkCBatvt+lq wuTsmLDqOlQ7Ob26O2HZw/ZTNyFItarL0cYgVw20hq/H+jU3UELaIEW/OKJzFmz7NA2alqnLl Cqa0Su63dJha/gU/70+uAzvmGHQgZs1GLLC0e/Mfwuo2z4cYLvK6ysGXw4K4XaUmCjA0foj0B /LA67jPapXf04GslD/enM5Zq3J5O2T4nM6QusddVDjEbFJjPiZlpdFkn2sy02ldZMhycXfkEJ dOmzeyCnkj4kvnVZB6QfpgRWEc42KME3p/7iYsY+S2SeoOHHo+XKZK1TL+6x1gT18m1FPOMAz vmKNrnz4EJRfcskv06RrNTGvNIuQZ9VNfaevtHaQw616vi9pU9fUUG0p/3nXG0jV8K9dYUo// z2i4tcLxQsqM1zzjc1RupDmzUt44lpALUEmXMZ/BilGiFDWx6eJPg6gI7BhLNe336ovqBFJTI U09VOZ5tur5/sM4nA+fNfNffSbIeGsc5ho4/Oi2u3h4FDNBhugpJ68nHLS8qPN/EzCSJHQjt7 fU8JHH6rXqvLqss3u04lZ1mOK6midDmxjift9nDdV1ikzMqICWdcRPBAysdHw207t0GeHTKf3 21BUlhQoHnMUe5VaXu06RdK9YIurGOCIArQiav1TXNBs361L0BDjQYEcqJEwca8EYhuRo+ofz 0q9yskU8XSm/nUgE+OG9/FsUKYOyM18us6MexT8TORD77RhPRAnXRu+4ACGpNzaGCmXel1aM6 6RVZLcnC+ohDHfx5oFZF4d/iMPvyNhXIAKC+guhC6vCQqyUDFbzO0RBtsDSd17sWQ0WXBJRHK hZU5lCoQzkE5wk= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51650 Cc: Eli Zaretskii <eliz@HIDDEN>, 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Sun, 7 Nov 2021 18:24:56 -0300 Carlos Pita <carlosjosepita@HIDDEN> wrote: > On Sun, Nov 7, 2021 at 5:39 PM Eli Zaretskii <eliz@HIDDEN> wrote: >> > >> > - 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. >> [...] >> 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. > > If we add the context that we're doing directory completion from the > cwd my statement is true. If we remove that context I start to see > where you're coming from. Let's say the algorithm is more generic and > unaware of some facts like its initial value being valid. From its > perspective it may start with an invalid response that's not even a > prefix of a valid response. After the TAB that goes from ~/Desk to > ~/Desktop/ at least it knows that the response is the prefix of some > set of valid completions. So you may explain its behavior as: > > 1. C-x C-f => ~/ but from what I know this may be rubbish > 2. TAB => ~/ ok this is a completion but there are more with the same prefix > 3. TAB => ~/ as I said there are more with the same prefix, take a > look at the other ones > 4. Desk<TAB> => ~/Desktop/ ok this is a completion > 5. TAB => ~/Desktop/ there are more with the same prefix, take a look > at the other ones > > At this level of explanation, there is a difference between the TAB in > 2 and the TAB in 5. I also get why you may be willing to say that from > 1 to 2 a completion indeed happened when, on the face of it, this > seems a nonsensical statement: the algorithm inspected a completion > set at this point and realized that the initial value is a member of > it. It's hardly what the manual conveys to a user unaware of the > implementation, but I get it. I still don't get why 2 and 3 can't be > merged into a single step but that would be a discussion about > convenience, at least I'm satisfied with this logical tackle on the > inconsistency issue. In fact, 2 and 3 essentially do get merged by setting insert-default-directory to nil: then `C-x C-f' displays no directory in the prompt, and the first TAB pops up the *Completions* buffer containing completions in the default directory (unless it's empty or contains only one file). This seems to refute the contention that the crucial difference between 2 and 5 is that in the former the user didn't type anything. Steve Berman
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 21:25:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 16:25:15 2021 Received: from localhost ([127.0.0.1]:55056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjpf9-0008Eu-3J for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 16:25:15 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:40689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjpf7-0008EQ-Hm for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 16:25:14 -0500 Received: by mail-wr1-f45.google.com with SMTP id r8so23400902wra.7 for <51650 <at> debbugs.gnu.org>; Sun, 07 Nov 2021 13:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EefuAMUwvDcSwX1gP2YZqjVwhnFZ81D1CBmx8tVITq4=; b=iOBFgC6/fary1o2Q3usJcL74HEe8mY3PU2LIdtISNedloIbzUpOYI0rpimNPV/OIv/ IH60qs8dhuJVQh9FKJNjLcnzaCScSc38E+pJdYYKACs3eA1ZX+tMWR29yGeTQzy9GvWX 0yOlIaLzKGxrIpZNOJb/tF+FxPM32bE4ou250FoJ1NNXa4LNekYGUhK7tkCciJFGJCd3 /QDRftIva/yTffFj2gwC58SdOmOBIV4MtBAOw7kv2iu2u3fmgdpcwbXInZH+55PE/PEx ypMw0Oqk60cb/yt1sYWzfvbtd9QjgBmHXwf+Ea0lAzUPzadraH3tfdFPHEbxg2kxCof/ Wikg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EefuAMUwvDcSwX1gP2YZqjVwhnFZ81D1CBmx8tVITq4=; b=h7m+L1vJ2dadQaUMcf5POExF902mtgH3QqE7W8VAAGZKAiF8N1DMWb8tQc1XkAf7SJ rGPmb3j5q5L+QsK2fJhUVMv/EINRqIcoJ0jEiCYVaWqGzI2iQZ/j+gK+VxWyzkNriCEU TL9K/7zA61Vshrm1CUahwb99QQVWAn3bCsCG24putP+AzriQf5JkRFfc8aPOFHAdhHEW NLiXle1sFih89DSuENQy4N5GmKhCtvxdORM5dA/T9Ffzc9bhEJ4vbL9+UUxk/6ZpIO47 4gzIbxH8ZE9t8i7ocVWyxZn1sPWpwoA4ynqFPUJbvh5XIc4Qsn73et4qiCfBRhISj+KU zXKA== X-Gm-Message-State: AOAM532IiAlyLJlIGN1S3QJwdHRVKIj9fnfhxeWVQ72wxcOuOrlnuAlN +4I3FHwfdSAl5TreePzVsXGTIXYFIVwkgDcvjBgrH0o/bwgfrA== X-Google-Smtp-Source: ABdhPJzSXukNgpsabrNjSyuq2bS+DNm03SYsxfliEqfOahmYyAp8vRMpqPZZ1sHG3FveW8QGHjIvVdMD8L1VJO1QJeM= X-Received: by 2002:a5d:64cc:: with SMTP id f12mr46214750wri.322.1636320307651; Sun, 07 Nov 2021 13:25:07 -0800 (PST) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> <83v9137nbx.fsf@HIDDEN> <CAELgYherabwPqhpsfo9sNRbmmVrppyZv9+iBkU+Q72Z3U-kwtg@HIDDEN> <83r1br7lb3.fsf@HIDDEN> In-Reply-To: <83r1br7lb3.fsf@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 18:24:56 -0300 Message-ID: <CAELgYhcWWa5zS0CDB5x0VeCcGvLxBF+jXCTTpkgiddw5Z6GfGA@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Sun, Nov 7, 2021 at 5:39 PM Eli Zaretskii <eliz@HIDDEN> wrote: > > > - 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. > [...] > 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. If we add the context that we're doing directory completion from the cwd my statement is true. If we remove that context I start to see where you're coming from. Let's say the algorithm is more generic and unaware of some facts like its initial value being valid. From its perspective it may start with an invalid response that's not even a prefix of a valid response. After the TAB that goes from ~/Desk to ~/Desktop/ at least it knows that the response is the prefix of some set of valid completions. So you may explain its behavior as: 1. C-x C-f => ~/ but from what I know this may be rubbish 2. TAB => ~/ ok this is a completion but there are more with the same prefix 3. TAB => ~/ as I said there are more with the same prefix, take a look at the other ones 4. Desk<TAB> => ~/Desktop/ ok this is a completion 5. TAB => ~/Desktop/ there are more with the same prefix, take a look at the other ones At this level of explanation, there is a difference between the TAB in 2 and the TAB in 5. I also get why you may be willing to say that from 1 to 2 a completion indeed happened when, on the face of it, this seems a nonsensical statement: the algorithm inspected a completion set at this point and realized that the initial value is a member of it. It's hardly what the manual conveys to a user unaware of the implementation, but I get it. I still don't get why 2 and 3 can't be merged into a single step but that would be a discussion about convenience, at least I'm satisfied with this logical tackle on the inconsistency issue.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 21:21:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 16:21:17 2021 Received: from localhost ([127.0.0.1]:55047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjpbJ-00088a-2A for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 16:21:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1mjpbG-00088F-A8 for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 16:21:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=D5D0eGTZvLGTLAOljEGu5gNf8WlVF4NaLHZgiY2rSxQ=; b=HSWcSMpoM4+VRxoXRFd/R29eUZ CMkzOp/POFmTXzMznEydeKluWjUc8eH5RdknRqEgf+bdqJUNBZEwY/GjrgP7QX8yaSumxxXiLfFCi MRjuVyvTllV7XPoT3oL7KTiqkah4clBbQHCiQad8MjoanoSTvnBcS+7h50zYkWm9LocM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1mjpb6-0003pe-D1; Sun, 07 Nov 2021 22:21:07 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> <83v9137nbx.fsf@HIDDEN> <CAELgYherabwPqhpsfo9sNRbmmVrppyZv9+iBkU+Q72Z3U-kwtg@HIDDEN> <83r1br7lb3.fsf@HIDDEN> X-Now-Playing: Mofaya!'s _Like One Long Dream_: "Wake Up!" Date: Sun, 07 Nov 2021 22:21:02 +0100 In-Reply-To: <83r1br7lb3.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 07 Nov 2021 22:38:56 +0200") Message-ID: <87ilx3ek75.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Would it be possible to add a user option to make the first tab also show the *Completions* buffer? I agree with Eli that Emacs is working as designed here, but I think some users would find it more logical if the first tab was more aggressive. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: Carlos Pita <carlosjosepita@HIDDEN>, 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Would it be possible to add a user option to make the first tab also show the *Completions* buffer? I agree with Eli that Emacs is working as designed here, but I think some users would find it more logical if the first tab was more aggressive. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 20:39:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 15:39:18 2021 Received: from localhost ([127.0.0.1]:54968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjowg-0004sf-F3 for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 15:39:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjowd-0004sM-U0 for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 15:39:17 -0500 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 <eliz@HIDDEN>) 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==; 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 <eliz@HIDDEN>) id 1mjowX-0005FJ-BS; Sun, 07 Nov 2021 15:39:09 -0500 Date: Sun, 07 Nov 2021 22:38:56 +0200 Message-Id: <83r1br7lb3.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYherabwPqhpsfo9sNRbmmVrppyZv9+iBkU+Q72Z3U-kwtg@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 17:27:58 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> <83v9137nbx.fsf@HIDDEN> <CAELgYherabwPqhpsfo9sNRbmmVrppyZv9+iBkU+Q72Z3U-kwtg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > Date: Sun, 7 Nov 2021 17:27:58 -0300 > Cc: 51650 <at> 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.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 20:28:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 15:28:20 2021 Received: from localhost ([127.0.0.1]:54947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjom3-0002Py-Vz for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 15:28:20 -0500 Received: from mail-wr1-f42.google.com ([209.85.221.42]:40839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjom2-0002Pk-6N for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 15:28:18 -0500 Received: by mail-wr1-f42.google.com with SMTP id r8so23253132wra.7 for <51650 <at> debbugs.gnu.org>; Sun, 07 Nov 2021 12:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4U5ukf3dUnr3LxIprytPjALMSOxrAQT+2GfJsaCbjoA=; b=Bk/52gDXdhD8Vkha4kHKSyEwUuGtUuRYOgEMu07kP+BF+R/Qpb/sUvYj+gL0/0KCCm 1/+kfnc020QOBOpyrvcrYeHLKzQ0YTtl/qSPpCwsXIJxVyBun7FQspOxlFzdaoX+1ojr /6oDZwj+DxdAlQeXOKZ9C9KGxKvVp5W+8mP0tY1A6YwJYhM39Sj8G/lj64iXDIY48od/ E/R3d8nVW0NN346Wxc7B8EAiwaUuzVsLsm3I31uoR3UiRj35SG8sFX9p/0rJXu2fuoN/ SS/hfq1uyrwZRyB+0CpDWHIgK3ifU8fOpAlDOfi7MRmUz+8X1SrZI9qQCOxomZT7yikT 8VKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4U5ukf3dUnr3LxIprytPjALMSOxrAQT+2GfJsaCbjoA=; b=fi7xDptWu/E8iT5p+mkT6hbiL5rl4Wf8QhYjmYWsq0LIEneLxzBnvCrzYSfA1VxxkB E/2lPZxLxc3T71ZgejkcIa3b5wGNyvjZ3w98WPPmzFJhzXRAQhl+pHcqfeFKgnrCl3GC RO4GPMEa2NMl4exFWoK8FaOnHwBPvoRDSv+4/pQgc1TpYKp+EBlPWl1WOwcH0lRju1kW E8P56L0DzhMEivyXAl7jyhtWvbl/PjtLdakTp1RW3Ceii8SgWoNPsoDixImogc1Jwf48 XtDV5G5Y8rIdl3UCMLPxV/vxgRGmc/G33ZCDcbKr+GCBKf+nGwtnq5kXVjgpXhUoXlzl tXVA== X-Gm-Message-State: AOAM533c+c01zJ/STbbVSVoxCiZ918TqvQEscgz3V1saVFD5twUW/O3b i4P9j/SjcMEjjoUD5pwuECPI8h1AVyt52YjYz+E= X-Google-Smtp-Source: ABdhPJwfc5JlgiAPJJFVTdEqfrZmRPKv8WIC4zdX6X6s7VoDSGaybvZuR6b3jN56clYmT272S3/ctxKYQ2dad/215mc= X-Received: by 2002:a5d:6381:: with SMTP id p1mr93701018wru.362.1636316892299; Sun, 07 Nov 2021 12:28:12 -0800 (PST) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> <83v9137nbx.fsf@HIDDEN> In-Reply-To: <83v9137nbx.fsf@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 17:27:58 -0300 Message-ID: <CAELgYherabwPqhpsfo9sNRbmmVrppyZv9+iBkU+Q72Z3U-kwtg@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > 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. - TAB never completes across the directory boundary. Let's consider: - TAB on ~/ (i.e. first TAB in #1) - TAB on ~/Desktop/ after TAB-completing from ~/Desk (i.e. second TAB in #2) - TAB on ~/Desktop/ with cwd = ~/Desktop/ (i.e. first TAB in #3). AFAICS these statements are true at the beginning (before pressing TAB) of all cases: - The user knows the current completion is valid. - The user cannot know whether there is any other completion with the same prefix. 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 :(
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 19:55:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 14:55:36 2021 Received: from localhost ([127.0.0.1]:54883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjoGO-0001aH-89 for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 14:55:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjoGK-0001a1-Ek for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 14:55:34 -0500 Received: from [2001:470:142:3::e] (port=54374 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 <eliz@HIDDEN>) id 1mjoGF-0001Cd-58; Sun, 07 Nov 2021 14:55:27 -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=7ETAtJ6hdkqXPkaLgN1Nhi2BO1mRiNOiptLKlOBzT3w=; b=ObzNbO2YtW+d TK7s/pxF1favGqrIrtWcJexK3lHbNwe/z2xgymP9iTzdadH8gGERonkG+lNeNPdP0ecraMZuAlGyX t3J78mepei2dxwg8PdxmtJeXHddxNixGAUqpXa7F8X+jySqTlSSJ/q/JrAQzwBgBPTtWpWJaJRTya 2hVWyg0IbJ2ZrhGTdmV6DOxh2YmJdb3WhG4JisHFj2ohkQtfAYpvQjJdRCu+Yurp8oF1igDH0BASL kTq15xFZ8CwBxcTeZRa37bo1JIkMq5C//HgYsFhzSZ1QZHaaku+jj7kseWu0MVRU0Rbanl1cg3rGJ 168OhYCIk8mHDE+n7fZ7DA==; Received: from [87.69.77.57] (port=4354 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjoGD-0001FV-TP; Sun, 07 Nov 2021 14:55:27 -0500 Date: Sun, 07 Nov 2021 21:55:14 +0200 Message-Id: <83v9137nbx.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 16:34:29 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > Date: Sun, 7 Nov 2021 16:34:29 -0300 > Cc: 51650 <at> debbugs.gnu.org > > So far so good, but I'm comparing the second Tab in scenario #2 to the > first Tab in scenario #1 because they are both in states characterized > by: > > a. a valid response > b. a non-unique completion > c. no information yet communicated to the user about b 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. And that's the reason for the difference in behavior.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 19:34:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 14:34:51 2021 Received: from localhost ([127.0.0.1]:54836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjnwI-00011k-TJ for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 14:34:51 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:37727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjnwH-00011Y-LC for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 14:34:50 -0500 Received: by mail-wr1-f47.google.com with SMTP id b12so23165333wrh.4 for <51650 <at> debbugs.gnu.org>; Sun, 07 Nov 2021 11:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Dcdub2yxdlJ6E1jbH9qcttvPeX4Lhir7nx65TUpQgTI=; b=eYk67GIIIWQTYmgPnajXqmOx8svidqvJMtgXPMqg5bdBQ0DuDbiYxJw0MTfImyPk+e gYvZPVWfeIsNns0LNdamHvgsll6uzugfC+nVkew9HHbNOzYUpMs97a+m0idghHYwljsv wPxlPEgMhOeFAaB4Po7o5a37vD/iyjnLo66pfJR4dbkWPRgN5zx4nNivuDAkoK0DgH8b urUB2kID1oHrcqgqrHEp3fXhnupW1lAUzZdQBihSlg4lgb9pghwn6deqMF1/aHT6WReU XcNVSNB6JCKFRAFQ7HClv6yEddsaTXAMRK1QiLcBMrNcJViz8wUt7NYyTaW69kxm/lBS vwoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Dcdub2yxdlJ6E1jbH9qcttvPeX4Lhir7nx65TUpQgTI=; b=tdhdeUoCOhc3vgvloBer7jWPoFIrvdQbwp0dHB+SKj5X661I5IAUGTGhkZtUo9aeaY 3TrEYARjM+RS6Vpc937IjOXI/5YNaO6gHS6wNc+V4B8lng/upotCrxFYiswtSfI71sex X/jwQCuiOx/VAM7PzL09TaMvwAVJas7AHls8X2Blba29uSY8vFpwICNGUxNZFVOkA7cl yc7pdws8aIJ8z4jUbFmMjfWJ8OPO+hY3nKmOXuEqgSbQJ3la8xzR7gA+e3howeB1oGTX WS7K8ZSlM1lbLu8Eo1tApeLCVVx/cQ5qfm6vlJosKg/cB1K7MJMgZ53mhMVOA8mzAttL /3Fw== X-Gm-Message-State: AOAM533Ef+zrQjqIbdaSpdY6ukCZNz+yLkBU3OxSfuSKhVPvZxFqF2g3 hpFtDSFgna179bLsbMRfJNnFVCUXMY9Pq7r+ghcdbhZcrU8= X-Google-Smtp-Source: ABdhPJwUpTBwrYYPg+zkp2/7PchH5odSUqOTejkb+yF5ubSfom4qOdgrLV+uUlWTcW6YxZb4qH0oMSGcQOVY58Q1TMw= X-Received: by 2002:adf:df0c:: with SMTP id y12mr52612193wrl.168.1636313683373; Sun, 07 Nov 2021 11:34:43 -0800 (PST) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> <83zgqf7pvm.fsf@HIDDEN> In-Reply-To: <83zgqf7pvm.fsf@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 16:34:29 -0300 Message-ID: <CAELgYhe6XvAWj0KHBWtohpAnWhV2aAc6XNpgA8xKKptw4yO7uQ@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > We are mis-communicating. Let's start from the beginning. > > Scenario #1: > > . User presses C-x C-f TAB > . Emacs says [Complete but not unique] > . User presses TAB once more > . Emacs pops up *Completions* and still says [Complete but not unique] > > Scenario #2: > > . User presses C-x C-f Desk TAB > . Emacs completes to ~/Desktop/ > . User presses TAB once more > . Emacs pops up *Completions* and says [Complete but not unique] > > The difference after the first TAB is because in Scenario #1 there's > nothing to complete, and what's in the minibuffer is already a valid > response to the prompt: it specifies an existing file/directory. > Whereas in Scenario #2 Emacs _can_ complete, and what the user typed > is not an existing file. So far so good, but I'm comparing the second Tab in scenario #2 to the first Tab in scenario #1 because they are both in states characterized by: a. a valid response b. a non-unique completion c. no information yet communicated to the user about b Of course one is in ~/ while the other is in ~/Desktop/, so to make my point clearer I've construed the alternative scenario: Scenario #3: . User types M-x cd RET ~/Desktop RET (or launches emacs from ~/Desktop) . User presses C-x C-f TAB . Emacs says [Complete but not unique] . User presses TAB once more . Emacs pops up *Completions* and still says [Complete but not unique] The way the user reached ~/Desktop in scenarios #2 and #3 is irrelevant to me, the fact that s/he has typed Tab before or not is not adding anything to the fact that the ongoing completion is now ~/Desktop/ and the user still doesn't know whether it's unique or not. That's why I cannot make sense of the difference in behavior.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 19:00:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 14:00:33 2021 Received: from localhost ([127.0.0.1]:54803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjnP7-0000Bp-9o for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 14:00:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjnP4-0000BZ-Ob for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 14:00:31 -0500 Received: from [2001:470:142:3::e] (port=53360 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 <eliz@HIDDEN>) id 1mjnOz-0001lZ-Ed; Sun, 07 Nov 2021 14:00:25 -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=TDu2UMjWRgXyoDfdaX/9PtN0sauOttVuXgdLckodSUU=; b=D2YSV8J8OR1W JJcnPgyizqLfpfZGURSCF8g1kIK3kYZHwjh/9ii8U9BOi35vyZ1Ynd1dFkziwm/w6UOtd+67UNvH9 tAdgdRtk1BvZ7JTBO/XshN2dgB8mdxf7nWUoM52JWQcoXnpz71zZlApOFz3+VfIrYeGr9X6R4P/9Y tmz+z9mISl6kwWNf5fqztdy1DSJ0W/h8V5YHo3bnufyNqlckmh8mEmX5nneDH3OzI9glNgKJhitBT uY9tdWgneYDDCqdgwCjYfJ9XHRZPHiYhkobQVpu6tQandLFgKBA7y241Vy1NNGAT+gV/N/kZK8GDA Aa58OmDmgfKmOBrg+8UP0A==; Received: from [87.69.77.57] (port=4940 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjnOy-00077w-WA; Sun, 07 Nov 2021 14:00:25 -0500 Date: Sun, 07 Nov 2021 21:00:13 +0200 Message-Id: <83zgqf7pvm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 15:40:22 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > Date: Sun, 7 Nov 2021 15:40:22 -0300 > Cc: 51650 <at> debbugs.gnu.org > > I remain unconvinced. I'll restate the above in a slightly more > precise manner, but other than that I have nothing to add and if this > is getting tiresome by all means feel free to close it. > > > > Suppose I now abort the process and do `M-x cd ~/Desktop` and then > > > enter the find-file completion again, I'm in the same situation, yet I > > > press Tab and I get "not unique" and I have to press Tab again in > > > order to get the list of candidates. Why should the behavior differ? > > > > Because you haven't typed anything yet, so Emacs doesn't know what you > > have in mind. In the other case, it has some hint. > > For me the relevant state includes: > > - I'm in the ~/Desktop directory. > - I've not yet received any information about ~/Desktop being unique or not. > > By adding one of: > > - I've reached ~/Desktop from ~/Desk by pressing Tab. > - I've reached ~/Desktop by launching Emacs from ~/Desktop. > - I've reached ~/Desktop by changing the working directory. > etc. > > ... or, more succinctly: > > - I've reached ~/Desktop by (immediately before) pressing Tab during > the same "completing session". > - I've reached ~/Desktop by other means. > > ... I can make the relevant state different, but I cannot grasp how > the added information is relevant. You say in the first case I have > typed something, namely Tab, but that was in a different context > (~/Desk) and I don't find it more relevant than the fact that I have > typed "M-x cd ~/Desktop" in the second example. What's that thing that > the user has in mind? > > If the "not unique" message were shown at the end of step 4 instead, > that would make an arguably relevant difference. In this variant, the > first Tab (both in 2 and in 4) is always the one conveying the "not > unique" hint, in 2 it's required only for this. Now in step 5 the > information set includes: "I know that ~/Desktop is not unique", while > this information is missing from the scenario in which I reached > ~/Desktop by, say, launching emacs from that directory. I still find > this inconvenient but it's a way of resolving what I see as > inconsistent. > > Another way is to make the behavior in 2 as the one in 5, that is to > require one Tab in 2 and show "not unique" and completions at > the same moment, it is the variant I prefer. > > A third, uber annoying way, is to make the behavior in 5 as the one in > 2, that is to require two Tabs in 5, so going from ~/Desk to the > completion menu for ~/Desktop would require three Tabs. We are mis-communicating. Let's start from the beginning. Scenario #1: . User presses C-x C-f TAB . Emacs says [Complete but not unique] . User presses TAB once more . Emacs pops up *Completions* and still says [Complete but not unique] Scenario #2: . User presses C-x C-f Desk TAB . Emacs completes to ~/Desktop/ . User presses TAB once more . Emacs pops up *Completions* and says [Complete but not unique] The difference after the first TAB is because in Scenario #1 there's nothing to complete, and what's in the minibuffer is already a valid response to the prompt: it specifies an existing file/directory. Whereas in Scenario #2 Emacs _can_ complete, and what the user typed is not an existing file. OK?
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 18:40:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 13:40:41 2021 Received: from localhost ([127.0.0.1]:54712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjn5t-00081f-8v for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 13:40:41 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:44716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjn5r-00081S-JQ for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 13:40:40 -0500 Received: by mail-wm1-f45.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso10154247wme.3 for <51650 <at> debbugs.gnu.org>; Sun, 07 Nov 2021 10:40:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BiN2oICwMSMX1G9YYLHPXQRXtoPZkuAvDMImilLcP7Q=; b=mxQ2hU4wv2e4PwHYJAy5CIL1/y5DQvrkUaqFrn0Ry3qxVkO4hm0ImJjyPryJtfhxWY FVt/TCNXS/yPKlJDE05oybvuxDUyj/tLHfO8TBKY7O7TwHkuTyXUFKu2bMDnM7fjImnQ pLmMosj/vQByCX4aeeslOC3OVHbWDPTrtCmo5Imbvy2UV+M8zRxSEzHxcYNei0noqnOe D0Cj8P44b3hCrY3scNAyv5yD0ooXVdkEgkRl4vwwQBy3WOh+wIMA8KjytYmg9Nwu85q9 KPFA8fv1B3vSbeUobOq7gFb43WLE+W55mxup1Bcys36nxRefiVOt25rzmW2kLW/wi5xj r0zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BiN2oICwMSMX1G9YYLHPXQRXtoPZkuAvDMImilLcP7Q=; b=f2CfwCNrt/wKVq6jKIflFbRIWaLYXB5XLIj6pLPPpB03JgekryDakgUslsHH1ar0Gr TdhRr93B5XY2WgzhpE6A1BcqoMueSXg7X7gmBefL9KBoGCrE1nnhqjNzIEXV15+7XUU5 DkCONWj+XfOtN933V05VsNrmUAzpJOA4dSMQBzRIzFZ99r3p6Mk5pisOyKA0wF0ElKnf LoMbtlFjI1MzmbsHQQWIggH6gZ/nNbH+gjDlEDkb+1K34xklcJ9PaMA1yMmWofaQ4gBh eDEhCmuddJrNkRjMJYvWS8cyhcFBFevoSrW2hMIrzZov6SLk0QzCLi/15TmAicg7kl0I tIVg== X-Gm-Message-State: AOAM531NEFBl2vjtmvsWDeSRzTYr6lEIUee3gv2XzVNb3TMV4Fu9EA10 wFk5P16phBmF3H7r2VfxC5IP4H7oEN/TynaU0vRD7KO/DlU= X-Google-Smtp-Source: ABdhPJxRxJn36wZnMkAmV15uUrW79GRMUxoHHJhNlWJxsw5vmrg3SotHA1PVu3oD2ggomHByyhyhXtPIyAhQNsj7JdE= X-Received: by 2002:a05:600c:3b8f:: with SMTP id n15mr47760616wms.180.1636310433560; Sun, 07 Nov 2021 10:40:33 -0800 (PST) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> <8335o89s48.fsf@HIDDEN> In-Reply-To: <8335o89s48.fsf@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 15:40:22 -0300 Message-ID: <CAELgYhfr0RV-hKJJhNOZ2wcsAOHed-7cxexTcyPooY6o60WO3w@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Eli, I remain unconvinced. I'll restate the above in a slightly more precise manner, but other than that I have nothing to add and if this is getting tiresome by all means feel free to close it. > > Suppose I now abort the process and do `M-x cd ~/Desktop` and then > > enter the find-file completion again, I'm in the same situation, yet I > > press Tab and I get "not unique" and I have to press Tab again in > > order to get the list of candidates. Why should the behavior differ? > > Because you haven't typed anything yet, so Emacs doesn't know what you > have in mind. In the other case, it has some hint. For me the relevant state includes: - I'm in the ~/Desktop directory. - I've not yet received any information about ~/Desktop being unique or not. By adding one of: - I've reached ~/Desktop from ~/Desk by pressing Tab. - I've reached ~/Desktop by launching Emacs from ~/Desktop. - I've reached ~/Desktop by changing the working directory. etc. ... or, more succinctly: - I've reached ~/Desktop by (immediately before) pressing Tab during the same "completing session". - I've reached ~/Desktop by other means. ... I can make the relevant state different, but I cannot grasp how the added information is relevant. You say in the first case I have typed something, namely Tab, but that was in a different context (~/Desk) and I don't find it more relevant than the fact that I have typed "M-x cd ~/Desktop" in the second example. What's that thing that the user has in mind? If the "not unique" message were shown at the end of step 4 instead, that would make an arguably relevant difference. In this variant, the first Tab (both in 2 and in 4) is always the one conveying the "not unique" hint, in 2 it's required only for this. Now in step 5 the information set includes: "I know that ~/Desktop is not unique", while this information is missing from the scenario in which I reached ~/Desktop by, say, launching emacs from that directory. I still find this inconvenient but it's a way of resolving what I see as inconsistent. Another way is to make the behavior in 2 as the one in 5, that is to require one Tab in 2 and show "not unique" and completions at the same moment, it is the variant I prefer. A third, uber annoying way, is to make the behavior in 5 as the one in 2, that is to require two Tabs in 5, so going from ~/Desk to the completion menu for ~/Desktop would require three Tabs. Best regards, Carlos
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 10:29:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 05:29:16 2021 Received: from localhost ([127.0.0.1]:51829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjfQK-0002br-23 for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 05:29:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjfQI-0002be-Oh for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 05:29:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjfQD-0001Lv-71; Sun, 07 Nov 2021 05:29:09 -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=JmrQBML+m2UAxm1YYSBdvMYT8gX/u+0FisIgZPoBMzA=; b=neBCWozW9KGx pVJAx3QrLsMUqsXG7u4oglIkC60YZMcYsfwHgyl33j6QoW6MzgreCYtUMc0QmiT3Zhs7PI2J5G8ov PAMNfDXchRfkjpHqicHyhJA7+hUnhJWexw0Kesj+WJIbX5ISvhrRuwft39MOYAge+3sM0HuL5lam3 BI00TlRGAzdgrPOot5C4OaJkJbu9OKijDXauYLLgHqgNNZenhfwaD3NRiEvYNGAe+8DBLYA899sJ4 clvJh7w0kjUjB7eFUUVEbc0IEe9EknCSlrhYrzBCXmmANY7fDwekWqwBc5QcjuoyrF4qLxgZ+HvQx zk1/qGivgBVrLqSvH3OTPQ==; Received: from [87.69.77.57] (port=4945 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjfQC-0003tS-Lw; Sun, 07 Nov 2021 05:29:09 -0500 Date: Sun, 07 Nov 2021 12:28:55 +0200 Message-Id: <8335o89s48.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 05:39:40 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > Date: Sun, 7 Nov 2021 05:39:40 -0300 > Cc: 51650 <at> debbugs.gnu.org > > > > *Completions* buffer: one won't do it, exactly two won't always do > > > it (both of them may complete something), so there must be a > > > sequence of at least two Tabs and the last one must be unable to > > > complete. > > > > The 2 TABs are necessary if the partial completion is not what you > > want. Emacs cannot know that, only you, the user, can. > > But then, by the same token, why is this not true of step 5? Because in Step 5 you typed something, whereas in Step 2 you didn't type anything. > Suppose I now abort the process and do `M-x cd ~/Desktop` and then > enter the find-file completion again, I'm in the same situation, yet I > press Tab and I get "not unique" and I have to press Tab again in > order to get the list of candidates. Why should the behavior differ? Because you haven't typed anything yet, so Emacs doesn't know what you have in mind. In the other case, it has some hint.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 08:39:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 03:39:59 2021 Received: from localhost ([127.0.0.1]:51727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjdiY-0008NF-To for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 03:39:59 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:40518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjdiX-0008N3-Qc for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 03:39:58 -0500 Received: by mail-wr1-f46.google.com with SMTP id r8so21148013wra.7 for <51650 <at> debbugs.gnu.org>; Sun, 07 Nov 2021 01:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B4A8aH5p31iU4LTaVpW2wXf5UkjI1gxo+7Vm7eadyPE=; b=YHgZWv5c49a6zKYhVaJiqEdGieH4dnVSdta/NgP+K9qdltVpJ8RGqGJGFKvLAYYiQS Kdo73ke0Is4gyhhnjTvdMIOXNuwp4R31BDHoY5qf3kSy1gHrjaOHGVZ10Nuj3mfUeXVt BEWQ+k2uKIiX+VAZh0w07ewydk5mN1ohTQrJoiHml6iSpEmpugfujfAd3vXYACSWxFMf AuL+bh2WjypTHJ478Ogk0QyAnXxU31UvNxpXn/dGPAua1ShhrdhQ4fiRx1GFzHtTa+e1 ORqzq5AbPVjrVv1QVhF/bE+3GuGXf4i9ZQxn99ZHZPes6vkbenhPqq5N75D+sKXAgOxW CYrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B4A8aH5p31iU4LTaVpW2wXf5UkjI1gxo+7Vm7eadyPE=; b=iD0gzX6orogrTnNC8E39YkYzPpLgHJdkZWCX+H+eY/e61dF3C6dtOc3Tr28dqqr8Tv 60TGPCxbGDDmsj+EDWZxYmWp/HB0YVz8ioplHNRxQPU68hw9pYAcLkwoSQOtJ1Pmmr9z WnZts91e9b1NhNn02HFLEFbbJlsrDtcp7FBHGlstdC6lVoqpRGJJDJ6sAVHHEVK7sink 14v68vlH7nIdX1PveAq5tGCXJUCBaKXc3Yf7zWYnHpmRb/FwknpaJ+kWMHS3rNfJN6rD 25uT1PM9gv1YxAIuL/7b2QsgODiJgoqqMNxg/CX/BAnBpT9EEhNGtqsQfYNZMaPsKmb9 Vx6g== X-Gm-Message-State: AOAM5315RxpQQ85W9bjhVqxIhbB88nte5u4jUpJyhRWrfGs2w0XyUSch pxK8+ELmknjaWbd/GJYNP0G+QV4QC8+4KrRtUvT37tvG0PQ= X-Google-Smtp-Source: ABdhPJxkt5wiryMT7mI/AKA092Qg6EhgOCn6nY1ss08qkT+spvriECA4/qwOadFqEWQDC1KVmnsjWnYDhkaqKrmcYy8= X-Received: by 2002:adf:df0c:: with SMTP id y12mr48417996wrl.168.1636274391833; Sun, 07 Nov 2021 01:39:51 -0700 (PDT) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> <838ry09xvi.fsf@HIDDEN> In-Reply-To: <838ry09xvi.fsf@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 05:39:40 -0300 Message-ID: <CAELgYhe8YbxpwqF83ONzEsZYXH5fr7yQrFYim47RQABjKhGhFg@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > > *Completions* buffer: one won't do it, exactly two won't always do > > it (both of them may complete something), so there must be a > > sequence of at least two Tabs and the last one must be unable to > > complete. > > The 2 TABs are necessary if the partial completion is not what you > want. Emacs cannot know that, only you, the user, can. But then, by the same token, why is this not true of step 5? There I'm in ~/Desktop coming from a previous completing Tab, a "not unique" message was not yet shown, I might press Tab again and get another completion (perhaps there is a single subdirectory of ~/Desktop, perhaps all subdirectories share a common prefix) or not (by far the most likely case). I press Tab and get "not unique" plus candidates. Suppose I now abort the process and do `M-x cd ~/Desktop` and then enter the find-file completion again, I'm in the same situation, yet I press Tab and I get "not unique" and I have to press Tab again in order to get the list of candidates. Why should the behavior differ? The only difference is that current != previous command, but that seems hardly relevant to the matter.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 08:24:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 03:24:59 2021 Received: from localhost ([127.0.0.1]:51715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjdU0-00080m-Ac for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 03:24:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjdTy-00080Z-2e for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 03:24:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjdTs-0007qo-Rh; Sun, 07 Nov 2021 03:24:48 -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=/Y+w0FQ8K0U/Nrb/poOtvbvMuSVx+BjyBKaGHRcDWlA=; b=kZGs+Pj2NvLD Rb8qWWzLzn1x+GuoAlAakPR4sDrI32M8iGo1vokbHzoAnV44ngsPZZJq9YNYPiC9/DFvXXIDx23cx kMYT0JGuo3i4V/hHz7PzRUx4U57KwvlZ64IxgcVpcIU78j23NS55pCRjd/jpfKKTPxhF8MitjhVLb oYU42NN2j8BhFIazhRvxdk9jfX+/kUmpZlwzc4AhXn1kBOiNMksmxOH11GIrEmO80yMYBEzaWXaAn Y7/6czD4ldd2AFAgMR26a9yvzkc+pjERT0rRwpqPNgze2AoMN1rwpTAjTS6RSGmFW6NIzYTPPCHx2 8MrH4Uu8JBXhNSW6C9NRLw==; Received: from [87.69.77.57] (port=1216 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjdTs-0005aM-7r; Sun, 07 Nov 2021 03:24:48 -0500 Date: Sun, 07 Nov 2021 10:24:33 +0200 Message-Id: <838ry09xvi.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 05:16:50 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > Date: Sun, 7 Nov 2021 05:16:50 -0300 > Cc: 51650 <at> debbugs.gnu.org > > I can understand why things work the way they do by looking at the > implementation. But I can't put it into simple meaningful reasons. The > manual says that when Tab is unable to complete it displays a list of > possible completions, yet in step 2 this is not true. That's because TAB _is_ able to complete, but only partially. And with file names, it can well be that the partial match is what you want. > The implementation checks that the last command and the current > command are the same before showing that list of completions, so it > surely won't happen in step 2 since it's the first and only Tab in > the sequence. In order to explain this, one seems forced to say that > _at least_ two Tabs in a row have to be pressed to show the > *Completions* buffer: one won't do it, exactly two won't always do > it (both of them may complete something), so there must be a > sequence of at least two Tabs and the last one must be unable to > complete. The 2 TABs are necessary if the partial completion is not what you want. Emacs cannot know that, only you, the user, can.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 08:17:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 03:17:12 2021 Received: from localhost ([127.0.0.1]:51707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjdMW-0007pj-Ft for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 03:17:12 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:50922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjdMS-0007pT-Jf for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 03:17:11 -0500 Received: by mail-wm1-f42.google.com with SMTP id 133so10586673wme.0 for <51650 <at> debbugs.gnu.org>; Sun, 07 Nov 2021 01:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w51sadN9YkGHE/HzYG5SIcYEMgfmRhGt6t3oFB2aEaE=; b=G+UVh4FAuSHk3tzPHR+0j+sz83KNLF996o4v05EAmkKqfUuSCf9Zj1WOC0X5a1joFT 1mCHc5IkqYRr17+YUyQDMXQDN9xnqj0kqN00cBMXwMadO4JYW2iSZM4CugkjDCn/tohu UAXZ6VuF4d7aTCXaJTpFdy4YVyloIGicyycqSikUzm+voEgFDRIoofNc3DPl56AVfepc xWV86F95p3HUOAZAXJch9e0134GhVWQwDlD+nLg5rvvm9d0YjkugHZS6NkCDhixLnq0w gjLchrpRZEnEngiw2luic6aD82rghpZtQXpNSfLH3TiOLvWRVvOAqjWR3JYjF5oqh+El 5XIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w51sadN9YkGHE/HzYG5SIcYEMgfmRhGt6t3oFB2aEaE=; b=QquOsir5Lk+FtcOgLBmUJCQHMt72WdDKwn/JQ2QfS3iyfWzQywcp/M0WAUMvw2oTrO aPyU/+AlpPT8fUwGG8TrB4Fau/NkKfvnKeVINnzU9Pq69iZVNG1i9+rifcIUKzdoU+js 9XxC8jQP4AMc44lmSTO56pNxZFiTZI7Z5mvbVJouhteq2qAezq8PP3WuQ3RPqaiRal8/ ULMXxC2Ant5ei52FGa+1s74u9ofB93hgN07EMIiUd6eZIvdCkv8xyLu0NyZHk6uuWTF+ oRVWp85y5Er7zHIme9tsL5KaPGJS1UlfBzOrRhW/z9nTW7jBpJIZxrPZFNx3LxlJyVTw VtHQ== X-Gm-Message-State: AOAM5302lLcFQxBfdkBWhNCjMSeieuKTiUCNggi7K+gtM2F+8a+6nB5V gMjapLcXC+aWwQjzlSzRrUVHrHsv6N+Jkw3z04LGWdzc9O8= X-Google-Smtp-Source: ABdhPJz5+lOpm23ZuoJdM7VN8nQ69ZNAQGgpxOOwBcv+0cnBPkwlNOPp23ICYX3Ss5hYmlxTPvCI0P7ppG3FCztjpP0= X-Received: by 2002:a05:600c:4f48:: with SMTP id m8mr37455313wmq.50.1636273022519; Sun, 07 Nov 2021 01:17:02 -0700 (PDT) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> <83bl2wa0fl.fsf@HIDDEN> In-Reply-To: <83bl2wa0fl.fsf@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 05:16:50 -0300 Message-ID: <CAELgYhcX4aefed-XUQtE44W79zukJzXdqxrMSd+Wkq=h1Zusdg@HIDDEN> Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Eli, > 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. I had read that node before posting but I still fail to see how it is related to my point, because the node is about pressing Return to exit the completion, but in my example I don't want to exit anything and I'm just repeatedly pressing Tab. > That'd get in the way of selecting the "complete, but not unique" > candidate. It is also a distraction. I'm likely misunderstanding something, but the behavior you object here seems very similar to the one in step 5 of my example. In step 5 there is a Tab that fails to complete and _at the same time_ both the "not unique" message and the completion candidates are shown. This Tab was preceded by a completing Tab. The difference with the Tab in step 2 is that this one was the first one and so not preceded by any other Tab. In both cases (step 2 and step 5) the Tab may have succeeded or failed to complete by similar reasons, in my example both actually failed, still their behaviors differ. I can understand why things work the way they do by looking at the implementation. But I can't put it into simple meaningful reasons. The manual says that when Tab is unable to complete it displays a list of possible completions, yet in step 2 this is not true. The implementation checks that the last command and the current command are the same before showing that list of completions, so it surely won't happen in step 2 since it's the first and only Tab in the sequence. In order to explain this, one seems forced to say that _at least_ two Tabs in a row have to be pressed to show the *Completions* buffer: one won't do it, exactly two won't always do it (both of them may complete something), so there must be a sequence of at least two Tabs and the last one must be unable to complete. But why? Perhaps I'm misunderstanding the manual because of that note you mentioned, but then again how is the exit behavior relevant to my argument? Thank in advance, Carlos
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 07:29:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 02:29:38 2021 Received: from localhost ([127.0.0.1]:51663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjccU-0006eX-C3 for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 02:29:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjccT-0006eJ-Ao for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 02:29:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjccN-0000tb-I5; Sun, 07 Nov 2021 02:29:32 -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=GJWfOXuzlePStl7dLrHoDHQ+A9TzHOuM5fuTIymg6FM=; b=AgnfVVr6VUdv Y3DphVXKBq50ngWdO2cNALd7rxKPy/6AIeLwE1JsVixtHp9X8kF2DpxdoG+OjFjBGkVCorp4D7sZb fJqbPGrIOpiye1Mx+dRYI53TToUeSRX0NTpADZdWXY+FWmUwpG+q5vCq2338vHc7vEEBt6VqNT5KX znRnf/AWBoDzzJ0HuV4ufT4oeonSFiBptR8JdcZsiD+A/6q4WtN+SdotHfGApJHKiociSiJ+4xql8 f4ADIsVGJfzoccUoldkLdwWbJxgVFO18b1DQYBylrEqEl2wUKnyb8ad2b7FnTAhKDfehpWULIdFFW Aw3JyhSWOO4qh4bfLALlQw==; Received: from [87.69.77.57] (port=1740 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1mjccM-0001Mn-FT; Sun, 07 Nov 2021 02:29:31 -0500 Date: Sun, 07 Nov 2021 09:29:18 +0200 Message-Id: <83bl2wa0fl.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 02:09:46 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > Date: Sun, 7 Nov 2021 02:09:46 -0300 > > > What do you think? > > And if you don't agree, how do you make sense of the described behavior? Please see the manual, it explains that (I think). File-name completion is different from other kinds of completion.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 07:28:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 02:28:32 2021 Received: from localhost ([127.0.0.1]:51658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjcbQ-0006cm-12 for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 02:28:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1mjcbN-0006cZ-0s for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 02:28:29 -0500 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 <eliz@HIDDEN>) 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==; 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 <eliz@HIDDEN>) id 1mjcbD-0001FD-6e; Sun, 07 Nov 2021 02:28:19 -0500 Date: Sun, 07 Nov 2021 09:28:06 +0200 Message-Id: <83cznca0hm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Carlos Pita <carlosjosepita@HIDDEN> In-Reply-To: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> (message from Carlos Pita on Sun, 7 Nov 2021 01:27:44 -0300) Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions* buffer References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51650 Cc: 51650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Carlos Pita <carlosjosepita@HIDDEN> > 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.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at 51650) by debbugs.gnu.org; 7 Nov 2021 05:10:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 01:10:08 2021 Received: from localhost ([127.0.0.1]:51503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjaRT-0002r1-JX for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 01:10:07 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:35428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjaRQ-0002qB-Nv for 51650 <at> debbugs.gnu.org; Sun, 07 Nov 2021 01:10:06 -0400 Received: by mail-wm1-f54.google.com with SMTP id 77-20020a1c0450000000b0033123de3425so12649703wme.0 for <51650 <at> debbugs.gnu.org>; Sat, 06 Nov 2021 22:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=7+r/MFuiEeB3J9XXNQIfYRNaueXhzPwDZXKb+6QGhoo=; b=IBUQ3OPxcZnb7H3vBfVEkAj+5WOAyj5A4u6SQ8MntUIgVAFRaqGcyr9uNFAD3r8ZAT DayYxCiV+AXZ77Tyewrj8lg3rOEerTZXxuz0neKqbe/QfllulSFq2Fly5N/AhD3qM5eB n060omWPo+ERSHrmhOYKVRILGYa0OSD3BwcriXcFsWqHPQ7J5dcW6srbq0AxfZngs65E BF2bfb8QPAqtsZAo4G05cRj1vKRmPQX+9t/SU37BD4XeYc10nMMnL9vJWtI0AY7pA+OV jL9MX9ULWeRZCN9qNaTN5ad4E/Qqe2odiBhOMrNgV6NWAaTFavKDZcZtBKvHOyurAkDU Uc3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=7+r/MFuiEeB3J9XXNQIfYRNaueXhzPwDZXKb+6QGhoo=; b=7kSwaOXMi5GMsvmccgV1JVKYNy0+I4I+6TxQR1klx/AdYpadjBZeD5HhC7iPIjBn3p z3lOvoOpjXnM424WznU/gS0oq5Fu2KbymbJEHl5rn33632yTFlNk6C3KJlFdJUG/tw/c QdiNL0wfUGgxdAGN5RnbPhPIg6+J3F18mXaDSOi+WkcKTCua2GF+OQjmg01j3Rt58Aji I1qxQEc4lpu0g6CQbn8oeRTM9juLmMuvrt9M3d2a2S/VVcl8MIhT+Rh9Jnj6JXzCjVQt 3Zwhoc38wSxzWQrwDLkY8Tj+6Wpk94BegHg5A0Ki3TVDG/I/RJjxh74uDeAPrtdwvWvr vCXg== X-Gm-Message-State: AOAM530jWEbZIbM+kZ5LBDpzrB2qion0lOySB2zG47AXG5E8NbMzNJ+M ym26512lwO9XbYMaEMQuxJNeoMFm+Cza/cAMLp/U02CyD8Q= X-Google-Smtp-Source: ABdhPJxiFppEsg3wADZaGJ9Cp1Q3FNXmE1VNPRS0vgi3xwvw1fBGYpOemM4WrhCUzCZRtPYfJmhc0vQeRyMWNWEyDIE= X-Received: by 2002:a05:600c:4f48:: with SMTP id m8mr36638878wmq.50.1636261798483; Sat, 06 Nov 2021 22:09:58 -0700 (PDT) MIME-Version: 1.0 References: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> In-Reply-To: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 02:09:46 -0300 Message-ID: <CAELgYhdp0nWk+XMUryhGUcMkBHEMrk4sPG4YQPDJGVa0DqfMuA@HIDDEN> Subject: Re: Autocomplete: first Tab should show *Completions* buffer To: 51650 <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51650 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > What do you think? And if you don't agree, how do you make sense of the described behavior? For example, here is an explanation: a Tab not preceded by another Tab means "complete whenever possible" while two Tabs in a row always mean "show possible completions" (even if the first Tab was "captured" by a completion). This explanation is based on my reading of the implementation, but the manual says something different: > TAB: Complete the text in the minibuffer as much as possible; > if unable to complete, display a list of possible completions According to this sentence I would expect that the Tab in point 2, which is unable to complete anything, displayed a list of possible completions. One can always argue that the Tab indeed completes "", but that seems forced to me and, in any case, the same can be said of 3 and 5.
bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Nov 2021 04:28:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 07 00:28:06 2021 Received: from localhost ([127.0.0.1]:51479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjZmn-0001hW-Rt for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 00:28:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:57086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <carlosjosepita@HIDDEN>) id 1mjZmj-0001hC-H7 for submit <at> debbugs.gnu.org; Sun, 07 Nov 2021 00:28:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <carlosjosepita@HIDDEN>) id 1mjZmj-0002Hv-Bo for bug-gnu-emacs@HIDDEN; Sun, 07 Nov 2021 00:28:01 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:42815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <carlosjosepita@HIDDEN>) id 1mjZmh-00083u-Nt for bug-gnu-emacs@HIDDEN; Sun, 07 Nov 2021 00:28:01 -0400 Received: by mail-wr1-x432.google.com with SMTP id c4so20571222wrd.9 for <bug-gnu-emacs@HIDDEN>; Sat, 06 Nov 2021 21:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=oDpHRkrKUz3/nrdjIp/7/z8LarSas7uDLlSyVVTdfCU=; b=L9SfhZb0u6orsaFuWIYslW1xlHtRe1ZyV+c/HzWPrggROO+ky1vDck2c2ZdiYSRs9U 7XksH8tGbblQIRjP4yX3tTy+f9M2bBgc4iDPXVsUio+H6ag7l6Wfgx6qhr+9SFy1WTqg gsF+tarR6HjlOe1ehfba+ueGoPfCXE6LYYi29GOwRO3jDxkgqkd1PfTOwD7dSIqI6BAG b2XVg1iigyGXfvT1NI407sXikwnHlx84+a4iBVeFmC4BTpQkQGZiEIybXlcwmCZGpsK8 E1MRGAteOy+poOW/WsP7rmxnFyvf4NACVg7qTWVR0cIqiLc/hI4BkkaTIXBcTiGTHEN3 ehcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oDpHRkrKUz3/nrdjIp/7/z8LarSas7uDLlSyVVTdfCU=; b=qci+QaE8tDkRWbdZlNMUyfwzDTPmicQE8PHQVNir2b/2FXvsP9LlaH3q8xpBw36ohP D6l1DNp2w3L+q+dTYm54Tf2M8dD3AlWqpzoUB1NTpioqp69ybBxgcrFAWujc1bsGW4Vy +n5v2dF69uIyzXlLWLIN30KiB/YqOv5nPNfEsBHroqZRuyCfHbLlVS+habOr6EI0rgRy hP+1/ZjSTnAuLRZ979sAj5mqzL7mSrTVCqTRCN9ZXBS740d9h9i3+Tfu5ZGSBw3xbqKq 9hCMolGt0RGhTti6DpOg0Dvb2bIq0wTmuCFGfoOHsNtJanONv1J6fBwWoRK7AHruPrWl eYow== X-Gm-Message-State: AOAM530g/R6bzHBGVSVhynFV8MkEGbFAEcdcwCmYX+ZuDevWbUqzyRCK mrOGaJKLd3wjCydhtyWi7flmhEWs5ZZshqL9zYgamKxUwD8= X-Google-Smtp-Source: ABdhPJwvXZNMHC0opRu5gRecN0FM1nY2+CqywbIOf19Wj3iglH48qBkG0HLJzda6Po7Xg8jvAZoeYGPVELWfCu3L6rM= X-Received: by 2002:a05:6000:23a:: with SMTP id l26mr26750869wrz.215.1636259276379; Sat, 06 Nov 2021 21:27:56 -0700 (PDT) MIME-Version: 1.0 From: Carlos Pita <carlosjosepita@HIDDEN> Date: Sun, 7 Nov 2021 01:27:44 -0300 Message-ID: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@HIDDEN> Subject: Autocomplete: first Tab should show *Completions* buffer To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=carlosjosepita@HIDDEN; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Hi all, 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. And this also might be seen as inconsistent in that the second time the same Tab shows both the "not unique" message and the help buffer, which is IMO a more sensible behavior. I think that Tab in step 2 should show the message and the list of possible completions at the same time. What do you think? Best regards, Carlos
Carlos Pita <carlosjosepita@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#51650
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.