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: Robert Pluim
Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command
Date: Fri, 22 Jul 2022 17:36:16 +0200

>>>>> On Fri, 22 Jul 2022 15:14:21 +0000, Andrea Corallo <akrl@sdf.org> said:

    Andrea> Robert Pluim <rpluim@gmail.com> writes:
    >>>>>>> On Fri, 22 Jul 2022 13:51:04 +0000, Andrea Corallo <akrl@sdf.org> 
said:
    >> >> Right. The question is if we want to support such a case (and if so,
    >> >> exactly how).
    >> 
    Andrea> Yep, I really thought the answer was no, at least for now, but I 
might
    Andrea> be wrong.
    >> 
    Andrea> BTW assuming the answer is no, should we add a load time check with
    Andrea> associated error or warning for comp.el to gate all these possible
    Andrea> issues?
    >> 
    >> Iʼd lean towards a warning myself (both for loading and for running
    >> any of the commands inside comp.el)

    Andrea> FWIW I'd probably go just for the load-time warning.  I fear gating
    Andrea> every function would probably bloat the code for not getting much 
back.

Something like this (untested) in `normal-top-level'?

    (unless (featurep 'native-compile)
      (with-eval-after-load 'comp
        (display-warning 'comp "This emacs does not support native compilation" 
:warning)))

Robert
-- 



reply via email to

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