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:46:07 +0200 Message-ID: <87tu799mm8.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> <87y1wl9n2n.fsf@gmail.com> <83ilnpjgtm.fsf@gnu.org> 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="28116"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, emacs-devel@gnu.org, larsi@gnus.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 22 17:52:20 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 1oEuwu-000751-73 for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 17:52:20 +0200 Original-Received: from localhost ([::1]:36248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEuwt-0008BP-3C for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 11:52:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEur2-0002YE-4j for emacs-devel@gnu.org; Fri, 22 Jul 2022 11:46:16 -0400 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:40448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEuqw-000615-Sd; Fri, 22 Jul 2022 11:46:12 -0400 Original-Received: by mail-wm1-x334.google.com with SMTP id ay11-20020a05600c1e0b00b003a3013da120so5425879wmb.5; Fri, 22 Jul 2022 08:46:10 -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=Aq+d77lpbA/Ra8b25whAGIKSrKYC9UpQGJoHU8LchDk=; b=X0OTCOLD7PRUwvNvlZuzVeBU/4haFSfOHfNdOjZ4A+ZGb23RzOSgkd6L4pj/4CSg1m O3bDl22bWA6IZzvuMdCo3KR7HKXazyUZzPzD3Y8tE8nmeW5ndjOFNI6aeisT0bZsVepB e8VFq0rHsNbVBA9KFyXVc21O5+LUyDelmLh6qOh/8FFXwUvJjbpI3ZWemvo2FeAoHehA c2tLHJniYxBBfr8DRwxqJdvwU9gNyEogBqn3toRiSM8z8gh2wEdUoeo9cCZ9H8wnsynK egCjYHXt66sxnPPT/f9W98BRbQCCKTIx3yhsuDM0dP9Gx1U4CzQ1AXJ7hJj87Hux5XEM T6ng== 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=Aq+d77lpbA/Ra8b25whAGIKSrKYC9UpQGJoHU8LchDk=; b=t8eElcdLaTcLqQiAuGgCGw1VfpHwtoWbj5CwFrmbRBZhBoeygzStoyb/qDXqgzispa 9IIQME/el+gTS4v+tUycQFFQThD2zccnMdG8MTEiOe7wxfoMBvNNFwqA5DYIxrRsvApd DGocZn4waZvJ+hjkIIv8/f3rUmWeOYfi4utEF5FEnVOtNrhO7XjiLAb5GHuDH5a8tj/g RpmdpQ9qA/OPYAyUCC9xugCPIC0p7BUcFd1UPxqdOUKAHksmzpDrMz8NeSdEoKhJyW+D MAwM/Ksh6EJDdiDQMr60GRCphdcXfV4ue52QL8il3aykRM6B19IyPhx81VQglIpDi8Zx 9puw== X-Gm-Message-State: AJIora9LTRjCtXgEOs50q6oTH9Lh44D8K5E/6Z9AboTyi9JB2bQy/kUI W8xwqxEeqMAGIX8XEqLYWxI= X-Google-Smtp-Source: AGRyM1tNxboJBQ+ZptISur5zpZCqIGVdmJG7dJlDd+JmNnB/qXRoJHCv0ISp2ZI1JXqieMwQbGjBiA== X-Received: by 2002:a1c:2584:0:b0:3a1:9de1:f2cd with SMTP id l126-20020a1c2584000000b003a19de1f2cdmr249818wml.182.1658504768770; Fri, 22 Jul 2022 08:46:08 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:895:5408:cb5b:6546]) by smtp.gmail.com with ESMTPSA id k4-20020a5d6e84000000b0021e5ba8a093sm3422741wrz.107.2022.07.22.08.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 08:46:08 -0700 (PDT) In-Reply-To: <83ilnpjgtm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Jul 2022 18:41:09 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=rpluim@gmail.com; helo=mail-wm1-x334.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:292459 Archived-At: >>>>> On Fri, 22 Jul 2022 18:41:09 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: emacs-devel@gnu.org, Lars Ingebrigtsen >> Date: Fri, 22 Jul 2022 17:36:16 +0200 >>=20 >> Something like this (untested) in `normal-top-level'? >>=20 >> (unless (featurep 'native-compile) >> (with-eval-after-load 'comp >> (display-warning 'comp "This emacs does not support native compilati= on" :warning))) Eli> Why do we need this, again? I had comp.el loaded in my non-native compile capable Emacs, and tried to run `native-compile-prune-cache=CA=BC, which gave me an error. Either we accept that I did something that shouldn=CA=BCt be done, or we try to warn people that they shouldn=CA=BCt do it (or on the gripping hand we add code to check 'native-compile to a bunch of stuff in comp.el). Robert --=20