bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45402: Rename Tramp method "media"


From: Michael Albinus
Subject: bug#45402: Rename Tramp method "media"
Date: Sat, 26 Dec 2020 09:44:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

Hi Drew,

> But even a prefix of "t" might be sufficient to
> usually distinguish Tramp's protocol names.  In
> this case, ~//tmedia would mean Tramp's protocol
> and ~//media would mean (change to) local
> directory /media.

Until now, it is just the "media" method which is too close to a
directory name. And this can simply be avoided; taking "media" off the
default values of tramp-gvfs-methods would deactivate it; users who want
to exploit it must activate it first.

But currently I'm thinking about Kévin's arguments to call it "mtp". It
was also my first choice, but I wanted to be fair to the "gphoto2" method.

> Yeah, it's ugly.  But the Tramp syntax is
> apparently inherently ambiguous here (i.e., can
> conflict with a dir name).

This will always be the case. Once I got a bug report from a user, who
wanted to access a local directory "/ssh:example.com/", see
bug#31489. Achhhh ...

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]