emacs-devel
[Top][All Lists]
Advanced

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

Re: Changes to autoload handling in native-comp branch?


From: Alex Bennée
Subject: Re: Changes to autoload handling in native-comp branch?
Date: Tue, 14 Apr 2020 23:14:01 +0100
User-agent: mu4e 1.3.10; emacs 28.0.50

Andrea Corallo <address@hidden> writes:

> Alex Bennée <address@hidden> writes:
>
>> Yeah manually running that gives me the same error. It all comes down to
>> the line (file-name-directory #$) which I guess should have some special
>> handling. The weird thing is on my "normal" emacs (GNU Emacs 25.2.2
>> (x86_64-pc-linux-gnu) of 2017-09-22, modified by Debian) executing this
>> line also gives the same error although the *Messages* shows no such
>> problems during load up.
>>
>> Does this indicate there us some sort of special context in the way the
>> autoload code is run? Is file-name-handler-alist modified during
>> autoload processing in a way that isn't picked up by native code?
>
> Hi Alex,
>
> I confirm was bug#40620 and should be fixed by now.  The bug was
> introduced by 6e09597e27.  '$' is replaced by the reader with
> `load-file-name' value (and in this branch ATM by load-true-file-name).
> This last one I managed to forget to set it were should have been.
>
> Generally speaking I'm not sure having `load-true-file-name' and
> `load-file-name' is the nicest design but this was motivated by
> bug#40099 (glab :)
>
> https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-04/msg00211.html

I've updated my tree and can confirm the bug is now gone and things are
working as normal again.

>
> Bests
>
>   Andrea


-- 
Alex Bennée



reply via email to

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