[Top][All Lists]

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

Re: hang forever with an invalid tramp filename

From: Michael Albinus
Subject: Re: hang forever with an invalid tramp filename
Date: Mon, 07 Nov 2011 20:58:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Hi Michael,

Hi Thierry,

> I encountered some issues with tramp while writing `anything' completion
> for hostnames:
> - tramp hang if i do (find-file "/ssh:toto")
>   (notice the last ":" is missing)
>   where toto is a valid hostname.
>   I think this should return an error and exiting instead of trying to
>   connect.
>   This is reproductible in emacs -Q with C-x C-f => /ssh:toto RET

"/ssh:toto" is a valid remote file name, with the host part being "ssh",
and the default method (likely "scp"). "toto" is the local file name on
the remote host.

> - `tramp-parse-connection-properties' should return a list of (user
>   host) as described in docstring, however it return sometimes a list of
>   (user method), so i have to parse this to remove such entries.
>   (not a big deal though, but well..)

Could you, please, give an example?

Best regards, Michael.

reply via email to

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