GNU bug report logs -
#51650
Autocomplete: first Tab should show *Completions* buffer
Previous Next
Full log
Message #44 received at 51650 <at> debbugs.gnu.org (full text, mbox):
> 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.