GNU bug report logs - #7583
23.2; ido loads tramp too eagerly

Previous Next

Package: emacs;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Tue, 7 Dec 2010 17:34:01 UTC

Severity: normal

Found in version 23.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: 7583 <at> debbugs.gnu.org
Subject: bug#7583: 23.2; ido loads tramp too eagerly
Date: Sun, 16 Oct 2011 21:17:09 +0200
Juanma Barranquero <lekktu <at> gmail.com> writes:

>> This seems a bit overeager.  It takes a while to load up tramp, and ido
>> shouldn't need to consider tramp filename completions if tramp isn't
>> already loaded.
>
> Would help to set ido-enable-tramp-completions to nil, and set it back
> to t after loading tramp?
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.

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





This bug report was last modified 13 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.