emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silent autoloading


From: Michael Albinus
Subject: Re: Silent autoloading
Date: Mon, 17 Nov 2008 06:01:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> I agree with the basic premise, but I'm wondering what's the
>>> relationship: what kind of machine are you using where loading a .elc
>>> file is not virtually instantaneous?
>
>> Loading a .elc can take arbitrary time since it can contain arbitrary
>> code.
>
> Yes, that's the difference between theory and practice.

Tramp needs to initialize variables. For example, setting
`tramp-default-method' might call `executable-find' or
'w32-window-exists-p', which consumes time.

I don't know, whether it is worth to perform it via `eval-when-compile',
because the result might be different every single start of Emacs.

>         Stefan

Best regards, Michael.




reply via email to

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