From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command Date: Fri, 22 Jul 2022 21:05:29 +0300 Message-ID: <83bkthja52.fsf@gnu.org> References: <165675959499.8421.12451308740112322312@vcs2.savannah.gnu.org> <20220702105957.4B7EFC016B5@vcs2.savannah.gnu.org> <87bkthedix.fsf@gmail.com> <877d45b8sz.fsf@gmail.com> <8735etb5e1.fsf@gmail.com> <87y1wl9n2n.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24402"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, emacs-devel@gnu.org, larsi@gnus.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 22 20:08:17 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEx4T-0006A3-Ar for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 20:08:17 +0200 Original-Received: from localhost ([::1]:43508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEx4S-0003iQ-9y for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 14:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEx1r-0000sZ-2i for emacs-devel@gnu.org; Fri, 22 Jul 2022 14:05:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEx1p-0003SY-Jc; Fri, 22 Jul 2022 14:05:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Y9T18Ac/2JPK+h0ToiSZLW2T6Mx1397/o1KRH/ZikCw=; b=fxN4XY5uDXNJ o/OX+0BRSkP9HooFBU0A7sma/IHJU/crkeerxgL6HbzvHkbcUoS55dFGS94+7oNYNP+yuziRQ7LH2 jGydk4sVll3dVATeUtHjALZhrU3thsJ30oLLU67eR0bCfne0Qm84Ejo6cUn2fZiHkc6fWcTwp7wvl GnYdxXu+LLpznjw1ye6xNCm8td+Fm1lT5N2kPm8ICenXVxoddyXUrpGwlZfCCk4bZQExEtoh/8oOz h3jiF2fCFktORt4lTSESvFLCaVKLGrgYmyXSStb2qhlgKbKLW1/gofRJUjJQNMA2PwBw9EvBi+r6L RXcATTO253+YlTfuUDUceA==; Original-Received: from [87.69.77.57] (port=1445 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEx1p-0003rJ-2C; Fri, 22 Jul 2022 14:05:33 -0400 In-Reply-To: (message from Andrea Corallo on Fri, 22 Jul 2022 16:50:24 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292469 Archived-At: > From: Andrea Corallo > Cc: emacs-devel@gnu.org, Lars Ingebrigtsen > Date: Fri, 22 Jul 2022 16:50:24 +0000 > > > 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))) > > Yes something similar, wouldn't the attached be simpler? What will that do if comp.el is loaded by custom.el?