[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7583: 23.2; ido loads tramp too eagerly
From: |
Thierry Volpiatto |
Subject: |
bug#7583: 23.2; ido loads tramp too eagerly |
Date: |
Sun, 16 Oct 2011 21:17:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Juanma Barranquero <lekktu@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
- bug#7583: 23.2; ido loads tramp too eagerly, Juanma Barranquero, 2011/10/16
- bug#7583: 23.2; ido loads tramp too eagerly,
Thierry Volpiatto <=
- bug#7583: 23.2; ido loads tramp too eagerly, Michael Albinus, 2011/10/16
- bug#7583: 23.2; ido loads tramp too eagerly, Thierry Volpiatto, 2011/10/16
- bug#7583: 23.2; ido loads tramp too eagerly, Thierry Volpiatto, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Michael Albinus, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Stefan Monnier, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Thierry Volpiatto, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Stefan Monnier, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Thierry Volpiatto, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Stefan Monnier, 2011/10/17
- bug#7583: 23.2; ido loads tramp too eagerly, Thierry Volpiatto, 2011/10/18