[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On elisp running native
From: |
Adam Porter |
Subject: |
Re: On elisp running native |
Date: |
Thu, 12 Mar 2020 12:10:16 -0500 |
Hi Andrea,
On Wed, Mar 11, 2020 at 5:04 PM Andrea Corallo <address@hidden> wrote:
> The reason why your code is byte-compiled correctly during the package
> installation is that apparently package.el is loading the non compiled
> version *before* running the byte-compiler through
> `package--load-files-for-activation'. As a consequence when the
> byte-compiler runs the defvar already took effect.
>
> I think your fix to wrap the defvar is correct.
>
> That said we have to fix the native compiler that not only is not
> signaling in a sufficiently visible way the error, but is also producing
> an eln just ignoring it :)
>
> I'll look into this second point as next.
Thanks very much for digging into that. Glad to know that I was
indeed doing something at least somewhat wrong, and how to fix it.
- Re: On elisp running native, (continued)
Re: On elisp running native, Andrea Corallo, 2020/03/05
Re: On elisp running native, Adam Porter, 2020/03/06
Re: On elisp running native, Adam Porter, 2020/03/06
Re: On elisp running native, Andrea Corallo, 2020/03/06
Re: On elisp running native, Andrea Corallo, 2020/03/11
Re: On elisp running native - Update7, Andrea Corallo, 2020/03/23
Re: On elisp running native, Zhu Zihao, 2020/03/06