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

From: Thierry Volpiatto <[email-masked]>
Date: Thu, 20 Oct 2011 20:43:52 +0200

Michael Albinus <[email-masked]> writes:

>
> I recommend not to use an own `tramp-file-name-regexp'. There could
> always be problems when Tramp is changing it, and there are in fact 3
> different syntax notations for remote file names, which are supported by
> Tramp.
I do not replace `tramp-file-name-regexp' by another value, i use a let
bound regexp similar to `tramp-file-name-regexp' but named differently.

--8<---------------cut here---------------start------------->8---
  (let ((methods (mapcar 'car tramp-methods))
        (reg "\\`/\\([^[/:]+\\|[^/]+]\\):.*:")
--8<---------------cut here---------------end--------------->8---

And then i reuse `tramp-file-name-regexp' where needed.

Use `anything-find-files' to try your tramp with anything completion ;-)

> Have you tried to apply `non-essential' instead?
It is no help for my use case.

Thanks.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997