[Top][All Lists]

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

Re: Modified remote file name syntax

From: Tino Calancha
Subject: Re: Modified remote file name syntax
Date: Tue, 14 Mar 2017 11:24:28 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

On Mon, 13 Mar 2017, Michael Albinus wrote:


today I've committed a patch, which changes the remote file name syntax
in Emacs. The "method" part, optional until now, becomes
mandatory. Valid remote file names are now


A new method, "-", has been added which is a marker for the default
method as known so far.

The reason is, that all the time there have been problems in Tramp due
to syntactic ambiguities. A remote file name "/foo:" has not been
distinct; "foo" could be either a method or a host name. This has
resulted in permanent problems during file name completion.

Hi Michael,

after your commit ed33337c3e0d0b1a8b140e23168421ea43d79324
i cannot launch emacs with a symbolic link.

To reproduce:

;; Make a link to the emacs executable in a dir inside your PATH.
;; For instance, i have the link ~/bin/emacs
(if (member (file-name-as-directory (expand-file-name "~/bin")) (parse-colon-path (getenv "PATH")))
    (message "OK, '~/bin' is in PATH")
  (error "'~/bin' not in PATH"))

;; Launch Emacs using this link.
M-& emacs -Q ; It doesn't work.

;; Note that the following is OK:
M-& ~/soft/emacs-master/src/emacs -Q

In GNU Emacs 26.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.22.8)
 of 2017-03-14 built on calancha-pc
Repository revision: ed33337c3e0d0b1a8b140e23168421ea43d79324
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:     Debian GNU/Linux 9.0 (stretch)

reply via email to

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