unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Tino Calancha <tino.calancha@gmail.com>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Modified remote file name syntax
Date: Tue, 14 Mar 2017 11:24:28 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1703141123001.24785@calancha-pc> (raw)
In-Reply-To: <8737ehayai.fsf@detlef>



On Mon, 13 Mar 2017, Michael Albinus wrote:

> Hi,
>
> 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
>
> /method:host:/path/to/file
> /method:user@host:/path/to/file
>
> 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	other threads:[~2017-03-14  2:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 17:20 Modified remote file name syntax Michael Albinus
2017-03-14  2:24 ` Tino Calancha [this message]
2017-03-14  8:48   ` Michael Albinus
2017-03-14  9:11     ` Tino Calancha
2017-03-14  9:20       ` Michael Albinus
2017-03-14  9:29         ` Tino Calancha
2017-03-14  9:57           ` Michael Albinus
2017-03-14 10:19             ` Tino Calancha
2017-03-14 13:30               ` Michael Albinus
2017-03-14 15:37                 ` Tino Calancha
2017-03-14 15:52                   ` Michael Albinus
2017-03-15  8:46                     ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1703141123001.24785@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).