[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: Stefan Monnier
Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp
Date: Thu, 15 Apr 2010 15:22:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> Hmmm... so Tramp does not interpret `non-essential' in the same way as
>> I do (and the way I documented in the docstring).  E.g. when using
>> icomplete (which should set non-essential for the same reason as ido,
>> IIUC), I wouldn't want Tramp to try to connect to the host just because
>> I've started typing "/ssh:host:something".

> It doesn't. It starts connecting the host when you type
> "/ssh:host:something?" or "/ssh:host:something <TAB>".

I just tried:

% emacs -Q
M-x ido-mode RET
C-x C-f /ssh:turlutu:

and when I hit the last : Tramp gave me an error which disrupted my
window arrangement and made it painful to fix the spelling of the host
name.  And I did not hit any TAB, or question mark.
Currently icomplete-mode doesn't set non-essential, so it gets an error
even earlier, but even if it were to set non-essential, it'll get the
exact same problem.

Of course, maybe your opinion is that it's not a problem.

Anyway, here's a more serious problem:

M-x icomplete-mode RET C-x C-f /pas

and it immediately tries to connect to my machine `pastel'.  The lack of
`non-essential' in icomplete.el does not excuse this.  Can you explain
why Tramp tries to connect to a machine whose name I haven't even fully
typed yet?


reply via email to

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