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.devel Subject: Re: native-comp-async-report-warnings-errors default value Date: Mon, 06 Dec 2021 22:26:45 +0200 Message-ID: <83v901zdh6.fsf@gnu.org> References: <87h7dj7su7.fsf@gmail.com> <83r1cnlu6y.fsf@gnu.org> <87czo77rx7.fsf@gmail.com> <837dcmamt2.fsf@gnu.org> <83v90694ka.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5087"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 21:28:05 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 1muKai-00016e-7M for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 21:28:04 +0100 Original-Received: from localhost ([::1]:37694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muKab-0004K7-Hb for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 15:28:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muKZT-0002YV-Ni for emacs-devel@gnu.org; Mon, 06 Dec 2021 15:26:47 -0500 Original-Received: from [2001:470:142:3::e] (port=40690 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muKZT-0000Hs-E1; Mon, 06 Dec 2021 15:26:47 -0500 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=tviZNNdviPBGDJmt5jJ0mrxWYBUUHLgGF9UhOqcEQHM=; b=RjPj2pODF0Lo OHA59KQFXTDjLJGWGZTMqhbhruBmFF08t/JSl9T5Cw1QCS+E6XhFRAsGWSjWYXZTAtpl0tuSetOz8 TINXTy738Odn6LnN3hgbQTImP7sGPxC5ejC1DkyOWDSqrX4F+uzpFgE0vlvBAwZ/Dr+8jrPAXrlm5 3bhjpTyMIqzlUkqtW31Ys1at4Zu7256z+wFHAg71TP4jRmBh3SNKL7TC4B6xd8Ye8S+omjXtiVLse mNVqUDtQHyY8DTR4Pm/eBW0kBG3aJvR1KW88b8Lc6KCxz/wqnK8w33OxZhdQFcwPh1eB1Nk1XH9CW cmOLeqN5ce0+Bs3M3nzitA==; Original-Received: from [87.69.77.57] (port=1964 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 1muKZT-0001Qp-9z; Mon, 06 Dec 2021 15:26:47 -0500 In-Reply-To: (message from Stefan Kangas on Mon, 6 Dec 2021 21:11:21 +0100) 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:281174 Archived-At: > From: Stefan Kangas > Date: Mon, 6 Dec 2021 21:11:21 +0100 > Cc: rpluim@gmail.com, emacs-devel@gnu.org > > > Emacs knows when it loads the init file. We could disable warnings > > during that load, perhaps. > > That works until you require some package from there, I think. In any > case, that would need someone to step up to write that code, and it > sounds a whole deal more complicated than just flipping > native-comp-async-report-warnings-errors to nil. Then flip it. For yourself. Why decide for all the others? I'd rather sustain a barrage of annoyed people who think these warnings are gratuitous than explain to someone why Emacs decided to shut up these warnings by default and thus prevented him/her from seeing some warning which, if seen in time, could avoid a crash or some other catastrophic result. Native compilation is still in its diapers. We learn about new aspects and potential issues with it almost every day. Sweeping warnings under the carpet in this situation makes very little sense to me. It's our minimal safety net. But if "by popular demand" and other pressure, you will decide to disable the warnings nonetheless, I won't mount the barricades. My opinion about this is unchanged, but feel free to disregard it.