[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: file-remote-p malfunctions at site-start (file-name-
From: |
Stefan Monnier |
Subject: |
Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)] |
Date: |
Mon, 26 Mar 2007 11:21:25 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
> Note that removing tramp-register-file-name-handlers from
> after-init-hook is not necessary, the registration is re-entrant.
^^^^^^^^^^
idempotent
> OTOH, the OP gave as practical example recentf-mode problems with
> remote files (handled in site-init). It would require changes in
> recentf at least.
It looks like we can't do much about it at this stage.
We should probably leave it as is for Emacs-22 and improve it afterwards.
How to improve it should probably look like:
1 - register Tramp at dump time.
2 - make sure that registering does not cause Tramp to be loaded.
3 - when completion is requested, Tramp is not loaded, and the config says
that completion should obey Tramp (e.g. because partial-completion-mode
is ON), then load Tramp.
-- Stefan
- address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Richard Stallman, 2007/03/25
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Chong Yidong, 2007/03/26
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Stefan Monnier, 2007/03/26
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Michael Albinus, 2007/03/26
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Chong Yidong, 2007/03/26
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Michael Albinus, 2007/03/26
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)],
Stefan Monnier <=
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Chong Yidong, 2007/03/27
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], Michael Albinus, 2007/03/31
- Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)], David Kastrup, 2007/03/31
- Pretest, Chong Yidong, 2007/03/31