emacs-devel
[Top][All Lists]
Advanced

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

Re: native-comp: load-true-file-name compatibility


From: Andrea Corallo
Subject: Re: native-comp: load-true-file-name compatibility
Date: Tue, 08 Sep 2020 14:45:50 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Kevin Liu <kevin@nivekuil.com> writes:

> Ah, you're right, that was a red herring.
>
> The real problem is `sayid-version' is nil when it wasn't compiled in the 
> current emacs session.
> So if I delete the sayid-xxx.eln then restart, it recompiles and it is 
> properly non-nil.
> But I restart emacs again, `sayid-version' will be nil in the new session.

Mmh, with a recent version (< 2 weeks old) of native-comp it should not
make a difference because load-file-name points to the .elc

> For me lm-version is defined in
> /usr/share/emacs/28.0.50/lisp/emacs-lisp/lisp-mnt.el -- I haven't taken
> the time to look at what it really does but I assume it parses the
>
> ;; Version: 0.1.0
>
> line in an elisp file header.

I suggest to make sure native-comp is recent and then have a look into
what's going on exactly or file a bug into the bug tracker.

Thanks

  Andrea



reply via email to

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