Subject: Re: bug#7583: 23.2; ido loads tramp too eagerly

From: Michael Albinus <[email-masked]>
Date: Sun, 16 Oct 2011 21:40:36 +0200

Thierry Volpiatto <[email-masked]> writes:

> The problem, I guess is tramp start immediately when you enter the first
> ":" due to `tramp-file-name-regexp'.  This is a common problem for all
> incremental UI with tramp.
> In anything i let bound `tramp-file-name-regexp' to another value that
> wait you type in the second ":".
> I don't know for ido but due to it's nature, i guess it's the same.>
> See `anything-ff-set-pattern' in anything-config.el.
> http://repo.or.cz/w/anything-config.git
>
>   (let ((methods (mapcar 'car tramp-methods))
>         (reg "\\`/\\([^[/:]+\\|[^/]+]\\):.*:")
>         cur-method tramp-name)
>
> Where reg replace the tramp regexp.

You disable then method / user name / host name completion. If you want
so, you shall make it configurable, at least.

Best regards, Michael.