From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Silencing warnings with a button (was: feature/native-comp c36b4ee 2/2: [TODO] Remove noisy anti-noise feature) Date: Wed, 18 Nov 2020 12:34:01 -0500 Message-ID: References: <20201118142127.27797.43745@vcs0.savannah.gnu.org> <20201118142128.E137D20D1E@vcs0.savannah.gnu.org> <87r1oqlmoj.fsf@gmail.com> <87pn4abng6.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30844"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Robert Pluim , emacs-devel@gnu.org To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 18 18:36:25 2020 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 1kfRNZ-0007t5-4N for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Nov 2020 18:36:25 +0100 Original-Received: from localhost ([::1]:46418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfRNY-0001RV-4P for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Nov 2020 12:36:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfRLL-0000Nv-Rd for emacs-devel@gnu.org; Wed, 18 Nov 2020 12:34:08 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:46531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfRLJ-00043b-2h for emacs-devel@gnu.org; Wed, 18 Nov 2020 12:34:06 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id ECBC380712; Wed, 18 Nov 2020 12:34:03 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 951B5806F7; Wed, 18 Nov 2020 12:34:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1605720842; bh=2sttr/biAiarb98wijcdqlMPA4Y576QcLZSaH4lgeSM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=odyLNGl0s2XCxoNHy0Xf9awlEW1ayXDVjhwdmjN4DmG7sx4iGHPHee0i89AVSUC25 pGbiBEkdPNkTgS6GzAdw50boQt/0op3x25AG6I4viS1U2h8j19gWbOyaFJeZdpp179 nk91o4QcprsKDOAbdYdxT3y+dEOvOBIIdyfNPtGQ63oWvHXnxRTHgo+qq393N+PrHw +vK5MR4/RsAFREqM68O7UFsnoXfl0yvpqDtdn9zZVF2avy+JcXKksHFD1a5/s4Vc9A osv/c937Uff+X2JELilhbXk3efieV1bdLQyW2uU+l0ZJsq6R3IJT3dUsWq85P7kzWH SA+Z9tbi4w/2A== Original-Received: from alfajor (unknown [157.52.9.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 62E54120257; Wed, 18 Nov 2020 12:34:02 -0500 (EST) In-Reply-To: <87pn4abng6.fsf@bernoul.li> (Jonas Bernoulli's message of "Wed, 18 Nov 2020 18:10:33 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 11:52:28 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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.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:259364 Archived-At: > This is why I think this is not a good feature: > > People will make use of it. > > Longer version: Of course it is nice for users who don't know any elisp > to opt-out of seeing warnings that they cannot understand, but I fear > that users who could contribute by addressing these issues or by at > least reporting them, will opt-out as well. FWIW, I tend to agree. I understand that exposing end-users to warnings is somewhat problematic, but I think a better solution is to try and make sure they're presented in a way that is understandable. E.g. make sure that the users don't go "oh god, it's all messed up now, what do I do?", and instead somehow explain: - these are usually harmless (for the end users). - these should be reported to the package maintainers (some of whom would never see these warnings otherwise, because they never compile their own package nor install it via package.el). E.g., instead of having buttons to silence the warnings, maybe we should have buttons to "report to maintainers". Stefan