[Top][All Lists]

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

Re: Last steps for pretesting

From: Alan Mackenzie
Subject: Re: Last steps for pretesting
Date: Thu, 20 Apr 2006 22:50:11 +0000 (GMT)

On Thu, 20 Apr 2006, Stefan Monnier wrote:

>>>> Uh, but the truification has to happen when loading, anyway.
>>> No, AFAIK "truification" doesn't currently happen at load time.
>> I would consider it surprising if Emacs was able to load files without
>> finding out where they are.

>I'd be surprised if you didn't know that if "/foo" is a symlink to "/bar",
>Emacs doesn't need to know it in order to load "/foo/toto/titi.elc", i.e. it
>doesn't need to first convert it to "/bar/toto/titi.elc".
>There must some kind of of misunderstanding.

Emacs DOES need to know, every time it evaluates an eval-after-load.

For example, if this form is evaluated:

    (eval-after-load "/mnt/hda7/emacs/lisp/cc-fonts.elc" '(...))

and load-history has as one of its elements

    ("/home/acm/emacs/emacs/lisp/cc-fonts.elc" ....), ; a symlink

then each stored file name must be truified at _every_ eval-after-load.


reply via email to

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