GNU bug report logs - #51386
29.0.50; fido-vertical-mode: ssh host completion

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Mon, 25 Oct 2021 14:39:01 UTC

Severity: normal

Merged with 52758, 53513, 54042, 60505

Found in versions 28.0.50, 29.0.50, 29.0.60

Fixed in version 29.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Gregory Heytings <gregory <at> heytings.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 51386 <at> debbugs.gnu.org, Manuel Uberti <manuel.uberti <at> inventati.org>
Subject: Re: bug#51386: 29.0.50; fido-vertical-mode: ssh host completion
Date: Tue, 26 Oct 2021 19:06:56 +0000
>
> Your patch violates the file-name-all-completions API. Testing with 
> "emacs -Q -l tramp":
>

We've discussed this earlier.  I concluded that the problem is in the 
file-name-all-completions, where it can be fixed with a single line 
change.  You believe that the problem should be fixed at the level of the 
completion mechanisms, which won't happen.

>
> Currently, we have the following with vanilla Emacs (on my laptop):
>
> (file-name-all-completions "" "/") => ("sudoedit:" ...)
>
> With your one-line patch, we have instead
>
> (file-name-all-completions "" "/") => ("sbin/" ...)
>
> That means, all Tramp methods are suppressed.
>

That's a very partial way of presenting what my patch does.  The truth is 
that Tramp methods are not at all suppressed.  They are not returned when 
the completions of the root directory are required, they are returned as 
soon as at least one character is typed:

(file-name-all-completions "s" "/") => ("sudoedit:" "sshfs:" ... "sys/" ...)




This bug report was last modified 2 years and 91 days ago.

Previous Next


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