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.help Subject: Re: Disabling asynchronous native compilation by user settings Date: Wed, 20 Apr 2022 20:03:12 +0300 Message-ID: <83pmlbsn5b.fsf@gnu.org> References: <20220418.150735.1169073635934583139.yasu@utahime.org> <83lew2x3v6.fsf@gnu.org> <20220418.163235.1538062266652546208.yasu@utahime.org> <87ee1uijp8.fsf@zoho.eu> <83y201vdvn.fsf@gnu.org> <87y201uy2i.fsf@zoho.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24329"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 19:13:13 2022 Return-path: Envelope-to: geh-help-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 1nhDtB-00068M-Cs for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 19:13:13 +0200 Original-Received: from localhost ([::1]:43378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhDtA-0003UU-60 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 13:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhDjb-0000jh-QN for help-gnu-emacs@gnu.org; Wed, 20 Apr 2022 13:03:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhDjb-00070y-HV for help-gnu-emacs@gnu.org; Wed, 20 Apr 2022 13:03:19 -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=/t4XEXQSsZks1js8wILrssFuNW4eR3Ug4IClURtyTmU=; b=oDc9scFoOB+S eK3Abacd5/dAeaonJX6bFHt6M8T874s3Vq3p8C6+7rCMVPqxkbxfQdPxEZj9xy873izLlPYGR7CkC pYtCHMd2WiKBdhNileQcF7NHBfLCPXATR//Kh94pvbu8xas6AoWjRExARORbKXWwf1WCcHCfaRNOx kxEaaWVMsapp9HinwQu3jXhccibWoXKiQ3GaEIoZD0zqGPO5XKI4C5gyLN8h8JOSAX35t3BwMFMcu 4cw2h0umubUREAI4FKxmkLrAZDiZ0axHizhp0RBj1T2f9n3jk/KyLC/lRCnCc+GlySG6QkOUe3TCu XaPxwx920MZscoQHLapdNg==; Original-Received: from [87.69.77.57] (port=1172 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 1nhDja-0001in-VY for help-gnu-emacs@gnu.org; Wed, 20 Apr 2022 13:03:19 -0400 In-Reply-To: <87y201uy2i.fsf@zoho.eu> (message from Emanuel Berg via Users list for the GNU Emacs text editor on Tue, 19 Apr 2022 13:12:05 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136976 Archived-At: > Date: Tue, 19 Apr 2022 13:12:05 +0200 > From: Emanuel Berg via Users list for the GNU Emacs text editor > > Eli Zaretskii wrote: > > >>>> Yes, set both native-comp-deferred-compilation and > >>>> comp-enable-subr-trampolines to the nil value. > >>> > >>> Thanks. I confirmed asynchronous native compilation is > >>> disabled by setting them to nil in ~/.emacs. > >> > >> Why one has to set two variables to do one thing? > > > > Because there are two things to do, not one. > > >From the human perspective it is one It depends on the human, I guess. It's two from my perspective. > and the interface should be based on that, under the hood it can > then set every single Emacs variable if that's what needs to happen > ... We don't intend to provide an easy interface to disable native compilation in an Emacs that is capable of native compilation. It's something that makes no sense to do. I only described that because someone asked a specific question, and I wanted to help him without questioning his rationale.