GNU bug report logs -
#60505
29.0.60; Fido Mode and Tramp Completion
Previous Next
Reported by: Julien Roy <julien <at> jroy.ca>
Date: Tue, 3 Jan 2023 00:22:02 UTC
Severity: normal
Merged with 51386,
52758,
53513,
54042
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
View this message in rfc822 format
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: Gregory Heytings <gregory <at> heytings.org>, 60505 <at> debbugs.gnu.org,
> julien <at> jroy.ca
> Date: Thu, 02 Feb 2023 09:25:41 +0100
>
> > From my POV, it is very reasonable to expect that completion
> > mechanisms know about Tramp syntax and support it. Tramp became long
> > ago an integral part of the Emacs core, so its syntax is as important
> > to support as any other syntactical aspects of file names in Emacs,
> > such as the "/:" "quoting".
>
> I could imagine that the completion machinery offers an API that a
> package could register its own idea of a file name syntax. Plus a hook,
> for parts of that file name the package is responsible itself. This
> would avoid the need to check in the completion machinery, which Tramp
> syntax is recent.
I won't object to developing such a mechanism. Stefan, would that
make sense and/or be reasonably practical to implement?
> Other packages but Tramp would profit as well. For example, running
> "emacs -Q", typing "/: TAB", removes the colon and offers completions
> for "/". I don't know whether this is really right; there is a reason
> that a user has started with "/:".
That's true, but completing after typing just "/:" doesn't make a lot
of sense to me; maybe I'm missing something. OTOH, I also don't
understand why remove the colon in this case. If we know which code
does that, perhaps we could look into its VCS history and learn
something.
This bug report was last modified 2 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.