From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Thu, 6 Oct 2022 11:02:44 +0200 Message-ID: References: <83lepwvzxq.fsf@gnu.org> <871qroyog9.fsf@yahoo.com> <837d1gvt35.fsf@gnu.org> <87sfk3yl10.fsf@yahoo.com> <87o7uqtlsl.fsf@yahoo.com> <83sfk2rzjs.fsf@gnu.org> <87k05du6x0.fsf@yahoo.com> <83tu4hqxp8.fsf@gnu.org> <87ilkxs9yg.fsf@yahoo.com> <83czb5qsyk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5dCBRFF1wy9vGD9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28482"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 06 11:43:18 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 1ogNPS-0007G8-AA for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Oct 2022 11:43:18 +0200 Original-Received: from localhost ([::1]:37320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogNPR-0004d8-4m for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Oct 2022 05:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogMmG-0007Q9-T3 for emacs-devel@gnu.org; Thu, 06 Oct 2022 05:02:49 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:33496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogMmE-0001hj-VE for emacs-devel@gnu.org; Thu, 06 Oct 2022 05:02:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc: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=TYgdZOMRXw5FLSqnvwlgOa8GNTvyLgrjQ75otLD6HQY=; b=c9ErWoFauIofCXBwbgX+yo040F JnQBwL9VbLyYuI9+NwNzwBHsfd5+E42A2EelLoS0C9JAQ6E3ONZ6ae8/kcwZjQOX2Iwn9nRyapGJc yM3eovEvoETe67uO1YxR8rYWU/jk6rK2scP2sT1sLrRCaqrFPmtmuLqLtTCY3GRLeuWIe4x7pFUKS SVra9wyBXmSKnbe+3b8CCXq+A8nD7hsA6TQDMgDBZUn80uvvRfbTCoycqWkVj5dZ7PZQx0z3hwegl V3RSTyCspvMSrX90mvmme11BNlsyJassdWB1s3Ar7uj914DBmZizjwjrzz5x2sU0mRFbN01BkAF7y vvNgB1pQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1ogMmC-0007Li-PY for emacs-devel@gnu.org; Thu, 06 Oct 2022 11:02:44 +0200 Content-Disposition: inline In-Reply-To: <83czb5qsyk.fsf@gnu.org> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, 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:297081 Archived-At: --b5dCBRFF1wy9vGD9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 06, 2022 at 11:03:47AM +0300, Eli Zaretskii wrote: > > From: Po Lu > > Cc: spwhitton@spwhitton.name, rlb@defaultvalue.org, > > monnier@iro.umontreal.ca, david@tethera.net, emacs-devel@gnu.org, > > akrl@sdf.org > > Date: Thu, 06 Oct 2022 15:11:19 +0800 > >=20 > > Eli Zaretskii writes: > >=20 > > > Anyway, what would you suggest as a solution for the problem you > > > perceive with JIT native-compilation, which would refrain from being > > > "in the background" and "automatic"? > >=20 > > The solution I would propose would be to defer JIT native-compilation > > until the computer is on AC power, as determined by battery.el. >=20 > We could have such a feature, but how to implement it? If we use a > timer for that, the timer itself will drain the battery. Guessing from a previous mail by you, the correct way to achieve this is to compiler results to a non-existent directory, right? To me that feels strange, but I could live with that. Can it be documented? Cheers --=20 t --b5dCBRFF1wy9vGD9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYz6ZtAAKCRAFyCz1etHa RltAAJ9bOONhcsQxAfiey8DhFqRPq+5qrACfR1xzQKjiUuyJLWWPOFxTWjM2W0I= =5lRN -----END PGP SIGNATURE----- --b5dCBRFF1wy9vGD9--