[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45402: Rename Tramp method "media"
From: |
Kévin Le Gouguec |
Subject: |
bug#45402: Rename Tramp method "media" |
Date: |
Sat, 26 Dec 2020 00:38:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams <drew.adams@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.
- bug#45402: 28.0.50; new completion inconvenience, (continued)
bug#45402: 28.0.50; new completion inconvenience, Lars Ingebrigtsen, 2020/12/25
- bug#45402: 28.0.50; new completion inconvenience, Michael Albinus, 2020/12/25
- bug#45402: 28.0.50; new completion inconvenience, Kévin Le Gouguec, 2020/12/25
- bug#45402: 28.0.50; new completion inconvenience, Lars Ingebrigtsen, 2020/12/25
- bug#45402: 28.0.50; new completion inconvenience, Michael Albinus, 2020/12/25
- bug#45402: Rename Tramp method "media", Kévin Le Gouguec, 2020/12/25
- bug#45402: Rename Tramp method "media", Drew Adams, 2020/12/25
- bug#45402: Rename Tramp method "media",
Kévin Le Gouguec <=
- bug#45402: Rename Tramp method "media", Michael Albinus, 2020/12/26
- bug#45402: Rename Tramp method "media", Michael Albinus, 2020/12/26
- bug#45402: Rename Tramp method "media", Drew Adams, 2020/12/26
bug#45402: Rename Tramp method "media", Michael Albinus, 2020/12/26