From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command Date: Fri, 22 Jul 2022 17:36:16 +0200 Message-ID: <87y1wl9n2n.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Lars Ingebrigtsen To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 22 17:37:27 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 1oEuiV-0008Xu-2h for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 17:37:27 +0200 Original-Received: from localhost ([::1]:43092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEuiT-0001lL-Lp for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 11:37:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEuhQ-00010p-Qm for emacs-devel@gnu.org; Fri, 22 Jul 2022 11:36:20 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:35437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEuhP-0003qo-8i for emacs-devel@gnu.org; Fri, 22 Jul 2022 11:36:20 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id b26so7035509wrc.2 for ; Fri, 22 Jul 2022 08:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=H7S3HZY4Y2HuHON0j41iRMuIQiB5dlIb9A5bUV7K5p4=; b=QhgPKRcj9jzr5kKZ5u4pvgVi8noTs9F42AePV5zFL1kUXnvsCPa9A3w+/TTmM5Pa/i Wje4i2HLflg5HS41B6QFOsob3c4dFxzwfk3apbkaRKsufk1soZp102yWprkpHawtTVN5 sTyidDiaxiiAiIZbhu+JM3fAf0OW5jm5HIQfbF/lOslh/CUsLNCCYPlmXJJU1sJgGbOl CoJsIgaHdDicImnBceEe6bImZnUO8QxDcjJoNOhlT3qXgQ3WdtUjmzW1tnU46ZqEMuDr LHwpUIVjMwwjLRETWtaciq7uMhYX4+taG5BPrXultOlSxlWumeWaSrG4PpsnueVOmwwJ OTkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=H7S3HZY4Y2HuHON0j41iRMuIQiB5dlIb9A5bUV7K5p4=; b=ipIWyuSm4st9qDMLFL4B3crXvbY5/740iA+wHiQrZQrXA8z7vFYkjVzv4oEn1BEMeX AGRSwLPBazqfnr+GArc94foJSVaCq0A6BXAZfWZWYQpCDqVzr/1YK9s4XaRDyB434qkL UDjf/eza/DS49TCrL91L22LFreyrxMOJG8119xzli+s5XPS4UjrYgYNuSQW4gTedfPdi zVn37dcyQVGWU8x4Kczft72DPj7jhRBsWMO0Jzzhdmv77NZtroM2HR6M9n6h/7gQbodI l5fHVLivV2ofn0eGE+WD1+HU9oQQ9J13bYVDRqMF6MflXJDtZnQM9TLvBi+TWx2RGVeI Wa/A== X-Gm-Message-State: AJIora9aV9BtnDop2M9nvPtJxufz5t/CfB5bhG5Ybx8dmkaGROnC6FHm +hAor2My2DcsdbeQk/IB6yY= X-Google-Smtp-Source: AGRyM1t7lsF8DEppC+WwQAdVc2q+dg85zascOQ3eXCR30cJ1yZJTYkwg4F/WkpQngbA0X/C5r+ybqw== X-Received: by 2002:adf:e80f:0:b0:21e:4ebb:ac18 with SMTP id o15-20020adfe80f000000b0021e4ebbac18mr343248wrm.259.1658504177653; Fri, 22 Jul 2022 08:36:17 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:895:5408:cb5b:6546]) by smtp.gmail.com with ESMTPSA id i6-20020a5d5226000000b0021d6d9c0bd9sm4863061wra.82.2022.07.22.08.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 08:36:17 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Fri, 22 Jul 2022 15:14:21 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=rpluim@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:292455 Archived-At: >>>>> On Fri, 22 Jul 2022 15:14:21 +0000, Andrea Corallo sai= d: Andrea> Robert Pluim writes: >>>>>>> On Fri, 22 Jul 2022 13:51:04 +0000, Andrea Corallo said: >> >> Right. The question is if we want to support such a case (and if = so, >> >> exactly how). >>=20 Andrea> Yep, I really thought the answer was no, at least for now, but = I might Andrea> be wrong. >>=20 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 possi= ble Andrea> issues? >>=20 >> I=CA=BCd lean towards a warning myself (both for loading and for run= ning >> any of the commands inside comp.el) Andrea> FWIW I'd probably go just for the load-time warning. I fear ga= ting Andrea> every function would probably bloat the code for not getting mu= ch 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 compilat= ion" :warning))) Robert --=20