GNU bug report logs - #45402
28.0.50; new completion inconvenience

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Thu, 24 Dec 2020 05:54:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

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: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Michael Albinus <michael.albinus <at> gmx.de>, 45402 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: bug#45402: Rename Tramp method "media"
Date: Sat, 26 Dec 2020 00:38:11 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> It's no doubt too late now, at least in general,
> but maybe it would make sense to use a prefix
> for Tramp, kind of like what we do for libraries.

I might be missing something, but it seems to me like there is a rather
large design space for opt-in, backward-compatible ways to disambiguate
Tramp methods: off the top of my head, I could imagine e.g. a variable
(say "tramp-implicit-methods") which

- could default to t, meaning:

> always assume that /foo can actually mean /trampfoo for all foo's
> supported by Tramp

- could be set to a list of commonly used Tramp methods, e.g. '("ssh"
  "sudoedit"), meaning:

> when I type /ssh, assume that I can mean /trampssh; otherwise if I
> type /foo assume that I never mean /trampfoo

- could be set to nil, meaning:

> when I type /foo, I *never* mean /trampfoo for any foo supported by
> Tramp; I will always type out /trampfoo:

Or we could go the opposite route, with e.g. tramp-explicit-methods (nil
by default), which in the context of this report could be set to
'("media") so that /media can complete to /media/$USER, and users would
be required to type out /trampmedia: explicitly.




This bug report was last modified 4 years and 143 days ago.

Previous Next


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