all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* URL-like Tramp syntax
@ 2013-09-02 14:06 Michael Albinus
  2013-09-03 15:59 ` Davis Herring
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2013-09-02 14:06 UTC (permalink / raw
  To: tramp-devel; +Cc: emacs-devel

Hi,

Tramp supports three different syntaxes for remote files, see variable
`tramp-syntax'. According to the bug reports over the last 9 years, the
URL-like syntax hasn't been used ever (IIRC).

Therefore, I plan to remove it from the upcoming Tramp 2.2.8. At some
few places, this will also simplify the implementation.

Any objections?

Best regards, Michael.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: URL-like Tramp syntax
  2013-09-02 14:06 URL-like Tramp syntax Michael Albinus
@ 2013-09-03 15:59 ` Davis Herring
  2013-09-04  8:05   ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Davis Herring @ 2013-09-03 15:59 UTC (permalink / raw
  To: Michael Albinus; +Cc: tramp-devel, emacs-devel

> Tramp supports three different syntaxes for remote files, see variable
> `tramp-syntax'. According to the bug reports over the last 9 years, the
> URL-like syntax hasn't been used ever (IIRC).
> 
> Therefore, I plan to remove it from the upcoming Tramp 2.2.8. At some
> few places, this will also simplify the implementation.

You've written recently about the inherent ambiguities of Tramp file
name syntax.  Is the URL syntax (or, for that matter, the third syntax)
less problematic in this regard?  It might be better to switch to it
than away from it...

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: URL-like Tramp syntax
  2013-09-03 15:59 ` Davis Herring
@ 2013-09-04  8:05   ` Michael Albinus
  2013-09-04 12:07     ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2013-09-04  8:05 UTC (permalink / raw
  To: Davis Herring; +Cc: tramp-devel, emacs-devel

Davis Herring <herring@lanl.gov> writes:

Hi Davis,

> You've written recently about the inherent ambiguities of Tramp file
> name syntax.  Is the URL syntax (or, for that matter, the third syntax)
> less problematic in this regard?  It might be better to switch to it
> than away from it...

I don't believe this is preferred. Tramp's URL-like syntax competes with
url-handlers.el. This is another reason I believe we should remove it
from Tramp.

If we want to solve the ambiguities in Tramp's primary syntax, we should
change the separator between methods and user/host names. Or we should
switch to the syntax used in XEmacs. But that's another story.

> Davis

Best regards, Michael.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: URL-like Tramp syntax
  2013-09-04  8:05   ` Michael Albinus
@ 2013-09-04 12:07     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2013-09-04 12:07 UTC (permalink / raw
  To: Michael Albinus; +Cc: tramp-devel, emacs-devel

>> You've written recently about the inherent ambiguities of Tramp file
>> name syntax.  Is the URL syntax (or, for that matter, the third syntax)
>> less problematic in this regard?  It might be better to switch to it
>> than away from it...

The ambiguities are only in the added shorthands, so they can be
resolved trivially (as we did) by disallowing some shorthands.

> I don't believe this is preferred. Tramp's URL-like syntax competes with
> url-handlers.el. This is another reason I believe we should remove it
> from Tramp.

Indeed.

> If we want to solve the ambiguities in Tramp's primary syntax, we should
> change the separator between methods and user/host names.

I think the problem is minor enough not to justify such a change.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-04 12:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-02 14:06 URL-like Tramp syntax Michael Albinus
2013-09-03 15:59 ` Davis Herring
2013-09-04  8:05   ` Michael Albinus
2013-09-04 12:07     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.