[Top][All Lists]

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

bug#5840: 24.0.50; wrong tramp-file-name-regexp

From: Michael Albinus
Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp
Date: Mon, 12 Apr 2010 21:08:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> so it'd be OK.  Two issues, tho:
> 1- first, I'd like to know why Tramp doesn't just signal an error,
>    rather than mess with windows and stuff.

As I said, Tramp's syntax is ambigous. It tries to expand "/sudo:",
which is a valid remote file name. Due to the syntax ambiguity, Tramp
does not understand, that "sudo" is not a hostname in this case, and it
fails with an error. What you see is the usual Tramp behaviour in case
of an error, where it tries to give you some more information in case a
connection does not work.

The amount of information can be reduced by lowering `tramp-verbose'.

> 2- if we have to go this route it'll have to use a name that's not
>    specific to tramp.  Maybe `completion-only' or something like that.

D'accord. I had always a bad feeling spreading Tramp internal names to
the outside; when we have introduced that variable back in 2005 and
2007, Emacs was in a kind of feature freeze (IIRC), so I didn't ask for
such a variable.

`completion-*' symbols are spread over several *.el files. Where shall
`completion-only' belong to? minibuffer.el?

> -- Stefan

Best regards, Michael.

reply via email to

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