[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changes to autoload handling in native-comp branch?
From: |
Andrea Corallo |
Subject: |
Re: Changes to autoload handling in native-comp branch? |
Date: |
Tue, 14 Apr 2020 18:11:46 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
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
Bests
Andrea
--
address@hidden