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 #44 received at 51650 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: 51650 <at> debbugs.gnu.org
Subject: Re: bug#51650: Autocomplete: first Tab should show *Completions*
 buffer
Date: Sun, 07 Nov 2021 22:38:56 +0200
> From: Carlos Pita <carlosjosepita <at> gmail.com>
> 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.




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

Previous Next


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