GNU bug report logs - #51650
Autocomplete: first Tab should show *Completions* buffer

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Sun, 7 Nov 2021 04:29:01 UTC

Severity: wishlist

Merged with 28714

Full log


Message #41 received at 51650 <at> debbugs.gnu.org (full text, mbox):

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51650 <at> debbugs.gnu.org
Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions*
 buffer
Date: Sun, 7 Nov 2021 17:27:58 -0300
> 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 :(




This bug report was last modified 3 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.