From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: No Wayman Newsgroups: gmane.emacs.bugs Subject: bug#46025: 28.0.50; warning suppression buttons truncate warnings Date: Thu, 21 Jan 2021 15:51:09 -0500 Message-ID: <87im7qvwpl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40163"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.7; emacs 28.0.50 To: 46025@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 21 21:54:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l2gy2-000AK3-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jan 2021 21:54:10 +0100 Original-Received: from localhost ([::1]:58266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2gy1-0000uI-M6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jan 2021 15:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2gxu-0000sG-6Q for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 15:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2gxt-0002Vg-Ty for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 15:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2gxt-0001cw-T5 for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 15:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jan 2021 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46025 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16112623826156 (code B ref -1); Thu, 21 Jan 2021 20:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jan 2021 20:53:02 +0000 Original-Received: from localhost ([127.0.0.1]:59531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gww-0001b4-3p for submit@debbugs.gnu.org; Thu, 21 Jan 2021 15:53:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gwt-0001al-SF for submit@debbugs.gnu.org; Thu, 21 Jan 2021 15:53:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2gwt-0008SS-Hc for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 15:52:59 -0500 Original-Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:44486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2gwr-000235-OY for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 15:52:59 -0500 Original-Received: by mail-qt1-x832.google.com with SMTP id r9so2586211qtp.11 for ; Thu, 21 Jan 2021 12:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=eqQwjGImOcTWdDkb3PFvJPbImXx67/+hbWyT/bavPdc=; b=jEHhWOSrdef/seHBbaXzsRE5erUX6PXR7T+2UQerlbzIIHdym8U8zNLmrncAyActAb haKNldwPHl5epICUVVCVRiIu1plhUtvdgASIdU//lI9vRib8ODk1IAvHKi8/qlO1J+lG F3JeXS2FhJJ4IaDZ18uNmRG5CZ+e71GifipOvedEUnsANnmsGa0keKeh8+2uGoYCU6JE e/uduYOyiKau5GggxSXn8japnZWwxtUPeIhfTjAISopX4y31SkQjLMAOSjOjbk9clJzS 0Q9dkRZUl3hvXy9lA8k9MpuOoof1pXqmAF8VR1bespNIUY17jyZUwOkNqlW/M2MQOh+q eJIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=eqQwjGImOcTWdDkb3PFvJPbImXx67/+hbWyT/bavPdc=; b=uoW179jcJkyF8Lo0hvPahOP7dtVYhjSAUQM1K6QjvuL6DQ7SIdxt1NLSOPo1qohURx J7UKiD6+KVlqiAUNd2DVAtgopDD0Yw7ghKtIBwry8/818cUjf0sYE2fXJiN4UmUs2YKl SfW86sFAMz6ZZ3ISvo4+NYh4l8uw/KL/LtpSAG9bENpPQrhtLh9WqF4bjfb15oJKXhNw Kpi64wt60XoH1vBa9+/3+WgFdj5T3jM9TQ6GC89vFhdqYR5x5LJeADCdUyxcIMD0qcp+ cQTEW3XukkKGP94msjNFzUtjR9e+AoX7pfEq19oKQGgwJtVvWqUppfcl4t8GqyrdB/ti bF3w== X-Gm-Message-State: AOAM533jNsRDvuDSGKtWHtXGDS8SZ376D/sX/2sd0zAKRWJYbHMG4ZMV t631qcMjBUwhsXd5fIuLzQ5nTnJMLmJvYQ== X-Google-Smtp-Source: ABdhPJx082iW+bqA81ncA/4W3mc8OgeZdkg/LeS5wqgHyv4AccRGyiHsJxzkJgWA9WMmBmoQl5VqXQ== X-Received: by 2002:ac8:66c3:: with SMTP id m3mr1470669qtp.48.1611262376090; Thu, 21 Jan 2021 12:52:56 -0800 (PST) Original-Received: from arch ([2601:8b:c300:1024:1266:d0ff:1635:f964]) by smtp.gmail.com with ESMTPSA id l38sm4352939qte.88.2021.01.21.12.52.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 12:52:55 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::832; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x832.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198348 Archived-At: The warning suppression buttons introduced in 66d01012ba61a364fe92cdc1728bfa135a90626a truncate warning messages. I have offered a trivial patch in the past to have an option to disable these buttons: https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-09/msg01405.html Lars did not see it as a valid use case. His argument (summarized): > since you get the warnings so seldom, it makes sense > to have the very few you see come with ready-made ways of making > them go > away, and then you're back to no warnings again. Initially I thought the idea of the buttons was useful, but after thinking on it more I agree with the case against these buttons Jonas Bernoulli made here: https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg00768.html I would add to that, the fact that the buttons truncate the warning messages makes it impossible for a user to make an informed decision on whether or not they should be suppressing the warning. The truncated messages are equally useless to me as a developer. Here's an image someone sent me of the warnings on their system: https://user-images.githubusercontent.com/2872862/105290265-42526580-5bb0-11eb-962d-b56f71b6efc0.png While I politely encouraged them to send text in the future for such output, here's what I would've received: Warning (comp): Debugger entered--Lisp error: (native-compiler-error-empty-byte "/root/.emacs.d/straight/build/straight/straight-au..." "/root/.emacs.d/straight/build/straight/straight-au...\ ") Disable showing Disable logging Warning (comp): Debugger entered--Lisp error: (native-compiler-error-empty-byte "/root/.emacs.d/straight/build/bind-key/bind-key-au..." "/root/.emacs.d/straight/build/bind-key/bind-key-au...\ ") Disable showing Disable logging Warning (comp): Debugger entered--Lisp error: (native-compiler-error-empty-byte "/root/.emacs.d/straight/build/use-package/use-pack..." "/root/.emacs.d/straight/build/use-package/use-pack...\ ") Disable showing Disable logging It's only by luck I can see enough of the file path to know which files are throwing the errors. Is there a way to work around this (absent my patch)?