[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.

> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]