emacs-devel
[Top][All Lists]
Advanced

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

Re: master 05d240997a 2/2: Add native-compile-prune-cache command


From: Andrea Corallo
Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command
Date: Fri, 22 Jul 2022 13:51:04 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Fri, 22 Jul 2022 12:45:03 +0000, Andrea Corallo <akrl@sdf.org> said:
>     >> Should we wrap this (and perhaps `startup-redirect-eln-cache') in
>     >> (when native-comp-available-p) ? In a non-native compile Emacs they
>     >> signal an error:
>
>     Andrea> Hi Robert,
>
>     Andrea> do we support loading comp.el and using in non native builds?
>
> (require 'comp)
>
> certainly works (although youʼre right, the functions
> in comp.el are not available by default, which means I must have
> loaded comp.el myself at some point).
>
>     Andrea> I thought is not the case, because otherwise most of the 
> functions there
>     Andrea> ATM are probably broken for such a build no?
>
> Right. The question is if we want to support such a case (and if so,
> exactly how).

Yep, I really thought the answer was no, at least for now, but I might
be wrong.

BTW assuming the answer is no, should we add a load time check with
associated error or warning for comp.el to gate all these possible
issues?

Thanks!

  Andrea



reply via email to

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