From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: native-comp-async-report-warnings-errors default value Date: Sat, 18 Dec 2021 17:58:46 +0100 Message-ID: <87r1a9zw6x.fsf@telefonica.net> References: <87h7dj7su7.fsf@gmail.com> <83r1cnlu6y.fsf@gnu.org> <87czo77rx7.fsf@gmail.com> <837dcmamt2.fsf@gnu.org> <83v90694ka.fsf@gnu.org> <83v901zdh6.fsf@gnu.org> <83k0g3cagl.fsf@gnu.org> <83h7b7c6ge.fsf@gnu.org> <826705a4-82df-f6c6-1656-3ab0588fff3c@yandex.ru> <79a9f8e4-cb3c-9117-4533-acac326edc15@cornell.edu> <0a747b8f-2ac8-cbf1-ccb4-b62762d3c649@yandex.ru> <935edcf7-d9e9-52a2-4087-0b4eb9229290@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18402"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:oKP6/jm0mcT6gyfN9m++kRd21Wc= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 18 17:59:46 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 1myd3g-0004ce-Os for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 17:59:44 +0100 Original-Received: from localhost ([::1]:40206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myd3f-00045g-KI for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 11:59:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myd2y-0003PI-CY for emacs-devel@gnu.org; Sat, 18 Dec 2021 11:59:00 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:54966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myd2w-00070U-ND for emacs-devel@gnu.org; Sat, 18 Dec 2021 11:59:00 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1myd2q-0003NY-6M for emacs-devel@gnu.org; Sat, 18 Dec 2021 17:58:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:282333 Archived-At: Ken Brown writes: > On 12/17/2021 7:48 PM, Dmitry Gutov wrote: >> On 18.12.2021 01:01, Ken Brown wrote: >> >>> Native compilation is disabled by default.  People who build emacs >>> for their own use and choose to try native compilation can see the >>> consequences and make their own decision on how to deal with them. >> I agree that as long as we don't intend for it to be on by default, >> the warnings are fine to show. >> >>> Similar remarks apply to people who build emacs as maintainers for >>> a distro. If they choose to build with native compilation and >>> impose that decision on their users, they can also choose for their >>> users the default value of >>> native-comp-async-report-warnings-errors. >> This, however, seems like a bad idea. >> The distros don't control, nor are responsible for, the whole >> third-party package ecosystem. > > Right, which is why distros might well choose to disable warnings. My > point is that it's their decision, given that they've already decided > to build with native compilation, not something that Emacs has to > worry about. IIUC you are saying "that's what they deserve for using native-comp". Well, building with native-comp enabled is a build configuration supported by Emacs, changing the default value of native-comp-async-report-warnings-errors requires patching Emacs or providing a "vendor" configuration file. Those are changes at a very different level.