emacs-devel
[Top][All Lists]
Advanced

[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: Chong Yidong
Subject: Re: address@hidden: file-remote-p malfunctions at site-start (file-name-handler-alist init)]
Date: Mon, 26 Mar 2007 10:16:27 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

Michael Albinus <address@hidden> writes:

>>> This could conceivably be achieved by moving
>>> tramp-register-file-name-handlers from after-init-hook to
>>> before-init-hook.
>>
>> Why is it done so late?  Why not do it at dump time?
>
> It was there initially. Then it was changed, because people didn't
> want to get Tramp enabled mandatory for file name completion. Now the
> registration is done only in case `partial-completion-mode' is
> active, which must be checked.

In that case, I suggest documenting this in PROBLEMS: if you want to
use Tramp in your site-start file, run tramp-register-file-name-handlers
first (and remove it from after-init-hook).




reply via email to

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