From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#46025: 28.0.50; warning suppression buttons truncate warnings Date: Tue, 20 Apr 2021 22:19:31 -0500 Message-ID: References: <87im7qvwpl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46025@debbugs.gnu.org To: No Wayman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 21 05:20:21 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 1lZ3PZ-00094A-4B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 05:20:21 +0200 Original-Received: from localhost ([::1]:54914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ3PY-0007CV-7t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Apr 2021 23:20:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ3PG-0007CC-FR for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 23:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZ3PG-0002Zc-7t for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 23:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZ3PG-0005ow-1w for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 23:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Apr 2021 03:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46025 X-GNU-PR-Package: emacs Original-Received: via spool by 46025-submit@debbugs.gnu.org id=B46025.161897517922313 (code B ref 46025); Wed, 21 Apr 2021 03:20:02 +0000 Original-Received: (at 46025) by debbugs.gnu.org; 21 Apr 2021 03:19:39 +0000 Original-Received: from localhost ([127.0.0.1]:56591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ3Ot-0005np-4J for submit@debbugs.gnu.org; Tue, 20 Apr 2021 23:19:39 -0400 Original-Received: from mail-pf1-f174.google.com ([209.85.210.174]:39454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ3Or-0005nb-I4 for 46025@debbugs.gnu.org; Tue, 20 Apr 2021 23:19:38 -0400 Original-Received: by mail-pf1-f174.google.com with SMTP id c17so27350141pfn.6 for <46025@debbugs.gnu.org>; Tue, 20 Apr 2021 20:19:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=TUP90/sjkQ0ueq/eTCnq/yQu9LpXiFm4440xga7uBnE=; b=U50HYTpJVIIFW1BdS3pOX2AWnfeJiTWQfwCuy3MeURt1dbDepnYEINGL82sYo/yZ4p gqhiCQSz5c4DdkhixD19/Jsan+nl0wQC5+n3+6a9ehXs7q3zLY1otox6YzFv9SQrwh6J qknBjU5xnlF1bLZhpiK5jW6XTR8O9TKDRWtuBGeUAVq8EpUjrc9abgja6OGZfm2KDtLN IX3+gDJT13+ubAfEsCoIXtJQDreWopgBoHoO0vooLbOKaAb8OtTyXBuvwg6QFijmZDpL s8Z71DGWEjflImxhbdtEFtSAPTHW4Z7v5e0Ha1THP8KDqXSgZCgXXfpfMGXNlhNOAuQU IJuA== X-Gm-Message-State: AOAM532+Gf/0ieowhePEDPelKaGaAvh3K5xtgkGi/9r4/TGb1YEJIUAW 7CNXCIrI8LyC0zDTrDLyEKCL/bqq0fF8g/eTBco= X-Google-Smtp-Source: ABdhPJyOdUAr96Yh9FJcw3GAdm1F9WozB4okCiObyBE2FUW+Ma5JEdX9viN4gZH5M4KUBgHOIGcaTdXxr1ua7sYzpu0= X-Received: by 2002:a63:5b5c:: with SMTP id l28mr19641018pgm.363.1618975171937; Tue, 20 Apr 2021 20:19:31 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 20 Apr 2021 22:19:31 -0500 In-Reply-To: <87im7qvwpl.fsf@gmail.com> (No Wayman's message of "Thu, 21 Jan 2021 15:51:09 -0500") 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:204566 Archived-At: No Wayman writes: > 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: Yes, it seems useless to have these buttons in their current form. Could we at least disable them until they are fixed to not truncate warnings? They hide the contents of legitimate warnings. > 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)?