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.bugs Subject: bug#48025: 28.0.50; Add an invocation option to inhibit native-compilation functionality Date: Tue, 27 Apr 2021 16:34:53 +0300 Message-ID: <83h7jrj1fm.fsf@gnu.org> References: <421d2e18-e74c-8e0c-6a49-b6e23376eb14@orcon.net.nz> <83o8e1jlj4.fsf@gnu.org> <99e449c1-c40c-d83f-701e-9648f788f4e3@orcon.net.nz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15708"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48025@debbugs.gnu.org, akrl@sdf.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 27 15:36:41 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lbNtJ-0003nV-P0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 15:36:41 +0200 Original-Received: from localhost ([::1]:58834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbNtI-0005Wt-Sq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 09:36:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbNsg-000572-6u for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 09:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbNsf-00061y-OD for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 09:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbNsf-0006J6-Lu for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 09:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Apr 2021 13:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48025 X-GNU-PR-Package: emacs Original-Received: via spool by 48025-submit@debbugs.gnu.org id=B48025.161953052324197 (code B ref 48025); Tue, 27 Apr 2021 13:36:01 +0000 Original-Received: (at 48025) by debbugs.gnu.org; 27 Apr 2021 13:35:23 +0000 Original-Received: from localhost ([127.0.0.1]:48316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbNs2-0006ID-Vw for submit@debbugs.gnu.org; Tue, 27 Apr 2021 09:35:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbNs1-0006Hx-5y for 48025@debbugs.gnu.org; Tue, 27 Apr 2021 09:35:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50277) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbNru-0005Vv-KF; Tue, 27 Apr 2021 09:35:14 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2361 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lbNrm-0007t8-V8; Tue, 27 Apr 2021 09:35:13 -0400 In-Reply-To: <99e449c1-c40c-d83f-701e-9648f788f4e3@orcon.net.nz> (message from Phil Sainty on Tue, 27 Apr 2021 16:28:24 +1200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205015 Archived-At: > Cc: 48025@debbugs.gnu.org > From: Phil Sainty > Date: Tue, 27 Apr 2021 16:28:24 +1200 > > >> But frankly, I would hesitate to complicate Emacs even for the latter > >> possibility. What you ask for doesn't seem to be a user-level > >> feature, it is mainly important for Emacs developers, and those can > >> always build 2 separate binaries (e.g., I already did). Building a > >> differently-configured Emacs, even from the same Git repository, is so > >> easy that I don't really see a justification for a feature like you > >> describe. > > I guess time will tell. My feeling was that if end users encounter > native-comp bugs that are not trivial for the maintainers to reproduce > (e.g. some collection of third-party packages is involved), then it > might be super helpful to be able to ask them to test with native-comp > disabled, to confirm whether or not that is a factor. As many users > will, in future, be running a native-comp Emacs which has been pre- > packaged for their OS, they will not easily be able to perform such a > test without such a feature. I agree that we should probably revisit the issue after we have more experience with native-compilation. > > - inhibit the automatic native compilation of new code with > > `comp-deferred-compilation'. > > This, OTOH, doesn't use the "native" keyword at all. > > Could we rename any such variables so that everything to do with > native compilation includes the word "native"? Yes, I think it's a good idea. Perhaps also the commands in comp.el and even some non-interactive functions?