GNU bug report logs - #50387
Possible bug in Tramp or in completions

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Sun, 5 Sep 2021 00:45:01 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


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

From: Gregory Heytings <gregory <at> heytings.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 50387 <at> debbugs.gnu.org
Subject: Re: bug#50387: Possible bug in Tramp or in completions
Date: Wed, 08 Sep 2021 07:57:27 +0000
>
> But as Tramp maintainer I believe there is no bug in Tramp (anymore); I 
> have no knowledge of completion styles in order to help fixing it there.
>

There is a bug, because the return values provided by Tramp to the 
(substring and flex) completion mechanisms are not what these mechanisms 
expect to do their job.  Tramp should not return methods when 
(tramp-completion-handle-file-name-all-completions "" "/") is called, 
because there are no methods in the root directory, what the root 
directory contains is files.  If Tramp was using another character instead 
of "/" before methods, the problem would not exist because there would be 
a clear way to differentiate files and methods.

Anyway, I think I've now made my point as clear as possible, and I use the 
correct bugfix in my local Emacs, so I won't continue this discussion.




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

Previous Next


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