From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: [feature/dll-only-windows] A new windows build, comments wanted Date: Mon, 11 Jan 2021 16:29:25 +0000 Message-ID: <871rerxwre.fsf@russet.org.uk> References: <87pn2dq3xv.fsf@russet.org.uk> <83ft39hnk1.fsf@gnu.org> <87sg78kew7.fsf@russet.org.uk> <87pn2b7qlb.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19386"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 11 17:33:31 2021 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 1kz08J-0004wt-R2 for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 17:33:31 +0100 Original-Received: from localhost ([::1]:49020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz08I-0002ie-RF for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 11:33:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz04g-0001N7-GU for emacs-devel@gnu.org; Mon, 11 Jan 2021 11:29:46 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:58412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz04U-0007ED-PL; Mon, 11 Jan 2021 11:29:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References: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=otzbVXyrbLin6FiXeescWZZAmPrNy5/ecLPEZ9z435s=; b=v/mVdZGuxNo5wfV6Jyk9OMbrZ nl4yvQZIACK+R76lcU3v5FktcSIozvXeDaEwIULmjJ+Gq6TygveszhwdzAEd7PHTeKYWzE0m1VntA d1F0+RNzC9SzMitW+kLwt0MDaGxhKEuuCGdDpI9Au8uLkOjTtC7dfr1jUDMaUtN6DglbN0kee1LEy doMOvffZ593x/xdneCz+ne6wQnQ/W8wl5RqDjmC1KZXHF+h2o6ETpAeGaiygYlv/yeFUMMK/IaZ0y 986aZHyU6g5ynVjgEsVIu3ttLh6ecxVxxupnUK25dd/bMA0zdNvhcP+jwGre9iD6glIN8AAYTktbZ WyQhYBXSQ==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:40886 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kz04L-0005bb-TH; Mon, 11 Jan 2021 16:29:25 +0000 In-Reply-To: (Andrea Corallo's message of "Mon, 11 Jan 2021 11:01:51 +0000") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.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, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:262919 Archived-At: Andrea Corallo writes: >> The first is because it's broken or providing buggy behaviour. In the >> extreme, and if I understand the build process fully, I guess this is >> impossible to switch of in a binary distribution, because some >> native-comp happens before dumping. Other than that, we can "switch off" >> native-comp by just deleting the *eln files, right, or otherwise >> preventing their loading. In practice, I think this is a minor >> motivation; if we discover bugs in the native-comp, they would be fixed >> by making another release. > > Hi Phillip, > > ATM we can prevent Emacs loading .eln file in place of .elc > automatically setting `load-no-native' to t. > >> The second reason is that the initial compilation takes quite a lot of >> CPU. I wouldn't like that to happen while my laptop where in battery >> power, for instance. At the moment, it's possible to drop the number of >> jobs that native-comp uses. I don't think that there is a way to drop >> this to zero at the moment. Probably, we need that. > > Setting `comp-deferred-compilation' to nil should stop any automatic > attempt of compiling asycronousy. > > Maybe these two settings are already covering most of these needs? Yes, I think so, but it's probably an issue of thinking about the user interface. Having this a bit more consistent (i.e. a single name space, rather than two (native-comp and comp) and none (i.e. load-no-native)) and perhaps a single option that does both ("comp-disable"). Just thoughts. Phil