From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Mon, 03 Oct 2022 13:32:09 +0200 Message-ID: <87ill16t3a.fsf@gnus.org> References: <87bkqxf1ij.fsf@tethera.net> <8335c9dkyf.fsf@gnu.org> <83tu4odez7.fsf@gnu.org> <871qrrpkgx.fsf@trouble.defaultvalue.org> <834jwnbi6c.fsf@gnu.org> <87mtafnun5.fsf@trouble.defaultvalue.org> <83sfk6ahty.fsf@gnu.org> <8735c6b0wo.fsf@gnus.org> <87y1ty9lha.fsf@gnus.org> <87lepym6ok.fsf@trouble.defaultvalue.org> <877d1i9h7k.fsf@gnus.org> <83edvqyr3q.fsf@gnu.org> <874jwl8e4p.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28974"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: rlb@defaultvalue.org, monnier@iro.umontreal.ca, david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 13:34:21 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 1ofJiH-0007JV-DW for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 13:34:21 +0200 Original-Received: from localhost ([::1]:35214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofJiG-0007VD-D6 for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 07:34:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofJgQ-0006Ow-MC for emacs-devel@gnu.org; Mon, 03 Oct 2022 07:32:26 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:50618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofJgP-0003M0-8Q; Mon, 03 Oct 2022 07:32:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DsO87lFZJZZw+6+W4weBLSOv1DWbYLBCgwBnsEXsgp4=; b=JyO1Lwx11f5CRCDEM3Ypc7C/HM 96N9/ctDMZQyZkW+ydApGfgdXoQpniUg+8i1hw2pIQfYrQAT9RjSi3EqRSUfR2VkYi4Ry5QIWbf3D J33CRQs28E5e/VMGdDRz6J+FPbkvCWCLzVPbnR/A8tplTe/t632gk8gdZ8Osf9WYl0QI=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofJgC-0000K9-9J; Mon, 03 Oct 2022 13:32:14 +0200 In-Reply-To: <874jwl8e4p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 03 Oct 2022 11:12:22 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEUwKCOfkID///+p RWBfAAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+YKAwsCC/19sZsAAAEqSURBVCjPPZFbigUxCERLSP57 oN2PwuTfQNz/VqY0904TQk77LqF6XjVJUzM8AAh+BgZ4YUy4oeAFpomZnAfxlhtiqAeSbgEYdAUW LRLYmB8YwbAGpp4HE/LLhx5Z6nxs/h5HmF6Yk9mQcaqNBs2dJyoyYPO1OCeLeFI1ZH9gZXrFFEhm jAYtt4x+P7TkB4YpVqpXHdFQluZMVhbGhMXeB/dLj22tSl22s7zwtk3yW6Ucc/6D7NvAdfMz0RJK K9CWqEZZ9IIJhmfpSO3EoZl7NkzjBLHH1Y4SOy7kTb8K9FgN/jNvHxwxn1esgXO8zyObFHlK/phe 20oKKW4NnLHyiXhr0OqLVW3WSd6r22UHCeXefyp1rQolB48LYahdWaad9r8L4ebEvmD4A1eHPsJv VNQxAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTAzVDExOjAyOjExKzAwOjAwQNLDIgAAACV0 RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0wM1QxMTowMjoxMSswMDowMDGPe54AAAAASUVORK5CYII= X-Now-Playing: David Bowie's _Tonight_: "Dancing With The Big Boys" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:296739 Archived-At: Lars Ingebrigtsen writes: > I asked what the user option to disable native compilation was, but > didn't get an answer, and here you say "(yet another)", so... what is > the current user option to disable native compilation? Looking at the code, I can't see any user options to disable automatic compilation of .elc files. However, there's the confusingly named `native-comp-deferred-compilation' variable which does the trick. And looking at this a bit more, having a user option for this won't quite work, because user options are set in .emacs, and .emacs may trigger loading stuff before handling user options, so it'll have to remain a variable. But should perhaps be renamed to something more understandable, or be deprecated in favour of a `inhibit-native-compilation' variable? In any case, initialising this variable from an environment variable like EMACS_INHIBIT_NATIVE_COMPILATION seems totally trivial.