From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 12:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30757@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15205987009918 (code B ref -1); Fri, 09 Mar 2018 12:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 12:31:40 +0000 Received: from localhost ([127.0.0.1]:51800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euHBT-0002ZZ-TP for submit@debbugs.gnu.org; Fri, 09 Mar 2018 07:31:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euHBR-0002Sf-Px for submit@debbugs.gnu.org; Fri, 09 Mar 2018 07:31:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euHBL-00047C-Rd for submit@debbugs.gnu.org; Fri, 09 Mar 2018 07:31:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euHBL-000475-Nf for submit@debbugs.gnu.org; Fri, 09 Mar 2018 07:31:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euHBK-0007ba-Kn for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 07:31:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euHBF-00043e-N9 for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 07:31:30 -0500 Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]:35469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euHBF-00043L-Jb for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 07:31:25 -0500 Received: by mail-io0-x233.google.com with SMTP id 30so3391143iog.2 for ; Fri, 09 Mar 2018 04:31:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=vWOvM0jelW40vbQN0VcoJizj06XSPoZu8bBfA5F+zsQ=; b=mPjK9YFli7rXB5k8bxKcWlNwM8qPsiiBDJc9UrOV5C1IThCZClxgu+25q+sfyeddIn qEtglnMe8GrsFxQIOVvBB6rF3vsh571eAVWO3jLENlvkkj/YHY2mS7iPtDiZB063f+Zd qlbBHIF48/0LrRaMlp2mhlQMxMTWmPbZTmqKCice/pLbgAM3soaX9dIOtX0Et9np373Y dkGyX9ZSS9tzhE++HORSc85yk+8wJYS6CsDJQZiicIk0u/zUkXp7R3YA+kOrR0DRjnFi dA62s20wPWdCkbzvNMLWvGficWFa0EcLBx++LRpcQU9v1Febno6y1HCIElJfIrLOTxMd xepg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=vWOvM0jelW40vbQN0VcoJizj06XSPoZu8bBfA5F+zsQ=; b=kyRv/f5XsRPDq9Tva4R9V+xM7vF1jfODHssuTuTVkriGrGPhqFku2CaSGiN+dRubbP X9NKElRY8heWxV0wSzWIkpPU5KQPdx8wJ40gvYO0KjztxraPmXYNwoYUvluQEkvEzVlz BoTNB/yDVVsdWNtSsFEdHfGMEEh73yNt0ctx7XQGVFXLuxvDBJUnnOWnSxGN0/pqslg7 frDbqSeDW2NX0HSlLK4Ud7l6ABGNsIgZX9R+ivuYNR9mB6fGnYuTXIQy5AFlvz0R/aHc mkWtpUeYezSV3uOUN2ny5Ovcnc4DWc9AQlgbjTpyQhpuiV/+p5We9rvcz6dnyHPaGNgU Ci5g== X-Gm-Message-State: AElRT7Fo/iNmpmeLwXAiksrdymVE7c3Kd9cQUZyGUI4Rp14zpu1uvjmF e259xWnW4e8KZR3CXuI3vbpojQ== X-Google-Smtp-Source: AG47ELvlwmSNNzF4W60dERg6tMDG2kaMmcB9Iv8Pgu1akskZ5vEUY+fsboIGMsPr5dIrWkOS7u8kkg== X-Received: by 10.107.51.208 with SMTP id z199mr11042782ioz.112.1520598684849; Fri, 09 Mar 2018 04:31:24 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 7sm865113ioo.12.2018.03.09.04.31.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Mar 2018 04:31:24 -0800 (PST) From: Noam Postavsky Date: Fri, 09 Mar 2018 07:31:23 -0500 Message-ID: <877eql1ld0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Severity: wishlist It would be nice if warnings in the *Warnings* buffer came with some kind of button to let the user add the relevant value to warning-suppress-types or warning-suppress-log-types. From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152060469528342 (code B ref 30757); Fri, 09 Mar 2018 14:12:02 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 14:11:35 +0000 Received: from localhost ([127.0.0.1]:51885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euIkA-0007N3-NQ for submit@debbugs.gnu.org; Fri, 09 Mar 2018 09:11:34 -0500 Received: from mail-wr0-f174.google.com ([209.85.128.174]:35597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euIk6-0007Mm-K3 for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 09:11:32 -0500 Received: by mail-wr0-f174.google.com with SMTP id a27so1480229wra.2 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 06:11:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=MfMKwG1G7azEgWgqNs/PVDE8MFaf+F6J4HFRzHJK1gw=; b=L0UdIPTVTnVIxBRgKarC+K1DBf82eLpwUZTMj+Tp73wfp33eo/FCc8NjuJZHBvYIjY PGOJAycqBuruavzSkoljNwJthumtPSAkqd29+/45444YiH7bCpG8+GOAHN0oODsJlTPB hqkWGSHOonHSOYuMRNnCSbYfpp+g2mM81xg44IRmztljOyY8HVhccWEouf+vs/gHGI6C WdGSEp3CcbI+//B3Mmb46RocIcLIrWCMSJWOWEriUsOcLIht9UZGEaUbPqTdj0gO998i iPfx0Gmr52IKTnemIfoJS3EowPYjCQ+fu4sbumLtJmb5vqHzehh5kwMtmCs+RsLw4+2Y ZDVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=MfMKwG1G7azEgWgqNs/PVDE8MFaf+F6J4HFRzHJK1gw=; b=in/LVjYCMIO3/lq2ZCZJgm5DbLVhR21sU+i+BRzuFD0LgNFnyX2GJvNtKo0b6pwruW 4DcVCdb8GutUc404D7qCBWMYl9Yg7/SAxui0EDcl/f21E1GbqF0Ee2Z1VzwANWVqaioy ODfIZZQYz9DjA9KQMNZWtWa70vQcN3k9Vak3Qv6QO+ilrAz6HABtcVEFR8IK0Dec1FKU 3c/7r4Ipiie+OCHsbmZJSY/RwxD6JkbqXG3fUomDtXo308Kg71921uM0o2ytJ8dTs1Ap kFwHh3f59BFkR52ObVpW9UVJS48dIqFKLfaZ4z2dAaRXYh2YXZYBJH0BH0u4xlx4ceR6 kFwg== X-Gm-Message-State: APf1xPByJ/LB2+0B6S1okqcFfRHrSsyXhDQTQGck586PjNiH7Jri4aXG 7KPWh9R4KUaKsJYP5B73H9/cxT9UUrE= X-Google-Smtp-Source: AG47ELtFz9aBeu5ow1ZR6USlRkrFpJ99i5pz5usScwzqPs2ilwcB4OC7Vp1owJdWkztfks4n0WP0jw== X-Received: by 10.223.192.74 with SMTP id c10mr27738896wrf.145.1520604684472; Fri, 09 Mar 2018 06:11:24 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id z7sm1309094wrg.1.2018.03.09.06.11.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 06:11:23 -0800 (PST) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 09 Mar 2018 15:11:22 +0100 In-Reply-To: <877eql1ld0.fsf@gmail.com> (Noam Postavsky's message of "Fri, 09 Mar 2018 07:31:23 -0500") Message-ID: <871sgtnxth.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Noam Postavsky writes: > Severity: wishlist > > It would be nice if warnings in the *Warnings* buffer came with some > kind of button to let the user add the relevant value to > warning-suppress-types or warning-suppress-log-types. Adjust strings according to your personal preference. The button names are a tad verbose as well :-) --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 489611d4d1..0e31511287 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el @@ -197,6 +197,18 @@ warning-suppress-p ;; we return t. some-match)) + +(define-button-type 'warning-suppress-warning + 'action #'warning-suppress-action + 'help-echo "mouse-2, RET: Suppress showing this warning") +(defun warning-suppress-action (button) + (add-to-list 'warning-suppress-types (list (button-get button 'warning-type)))) +(define-button-type 'warning-suppress-log-warning + 'action #'warning-suppress-log-action + 'help-echo "mouse-2, RET: Never log this warning") +(defun warning-suppress-log-action (button) + (add-to-list 'warning-suppress-log-types (list (button-get button 'warning-type)))) + ;;;###autoload (defun display-warning (type message &optional level buffer-name) "Display a warning message, MESSAGE. @@ -264,6 +276,10 @@ display-warning (insert (format (nth 1 level-info) (format warning-type-format typename)) message) + (insert " ") + (insert-button "Suppress" 'type 'warning-suppress-warning 'warning-type type) + (insert " ") + (insert-button "Never Log" 'type 'warning-suppress-log-warning 'warning-type type) (newline) (when (and warning-fill-prefix (not (string-match "\n" message))) (let ((fill-prefix warning-fill-prefix) --=-=-=-- From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 14:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152060545529623 (code B ref 30757); Fri, 09 Mar 2018 14:25:02 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 14:24:15 +0000 Received: from localhost ([127.0.0.1]:51893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euIwQ-0007hh-UJ for submit@debbugs.gnu.org; Fri, 09 Mar 2018 09:24:15 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:33553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euIwO-0007hS-DO for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 09:24:12 -0500 Received: by mail-wm0-f44.google.com with SMTP id s206so3692100wme.0 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 06:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=UCOSb7gHAXJv0iPKJ1LXRcGNA57x6Ri3Gu3xfCSFpiI=; b=rEXl+NLKmzQ1TtSJUNh5zXs+TVMe1UtCpNfWrhMT4kXL1rAWmyV2FxMAeifmIzAvje Jr11ZmuDjTM9hBdLJYIIwVLG3IAk4y2LHI89wXJphoyN2P8MQBpKqKJUuXYsP6pbCARC uDaE8lcw5r1eH65zJGQdXCjxPjC96mzDFDDZt2qyCgBj7IjL/toikA+v7aueA9pg1ADM OvtGHjDPeoWnBZXpZaC8aRPDDA6csqNab5QGuAHo8FAebgbV8YMU7M2jYY7hjVboEySc 0Eqt6PMsmNG5pcxjQA0yX75wlL4dyirLo55UzF1uI68edC3J0lXpNAKxlBqKhkxbttAB YMOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=UCOSb7gHAXJv0iPKJ1LXRcGNA57x6Ri3Gu3xfCSFpiI=; b=GS3RYRWCgjA8ncN3gqwkEYfM/ffqQgwQOJJjDgE4qs0b+YpBeDKpPXNgI/qv5PBxfm LOmyw4XU+hMimyKqGSoxxhS5PVSThtXwHVsMfyyHy1xWOMvyInaO4UWTxNEXbKkj+YE3 CJFeSQfnJ8JzXvTaSSCU0RHl2OHFQKZYlimwlYqs5WSc/1Ss+RhnsOXiRodYqlAk+FlP acIBSQScT2K1AOV3qHvNhcv2UUYDIR9lCkmQPlBz5GQH1uFBABCnWiOj/0HMSBpxEbTT kBf2zhHwq5OJuL501FPohe4vcdDPSF6i4q1d4e1xY1BJKuzH7H88Gl8oq48Z4uG1O3nW A+iQ== X-Gm-Message-State: AElRT7GejkqAMTA1AfYRhGbnnMEdesdpzX/hSXFqspOUkEuaCDE+0BYl rsZCxCQHjDDR9X3LtAVlGbP2fIFKLuA= X-Google-Smtp-Source: AG47ELvUVQwmb7Rg85n1WwTA/rK6IWA2H6wt/myf5lJ8MRx2vkqr3zCT2TFDaf8XIz4Z2icYH8tTGQ== X-Received: by 10.28.106.18 with SMTP id f18mr2226432wmc.51.1520605446051; Fri, 09 Mar 2018 06:24:06 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id z197sm1856177wmz.24.2018.03.09.06.24.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 06:24:05 -0800 (PST) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 09 Mar 2018 15:24:04 +0100 In-Reply-To: <871sgtnxth.fsf@gmail.com> (Robert Pluim's message of "Fri, 09 Mar 2018 15:11:22 +0100") Message-ID: <87woylminv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Robert Pluim writes: > Noam Postavsky writes: > >> Severity: wishlist >> >> It would be nice if warnings in the *Warnings* buffer came with some >> kind of button to let the user add the relevant value to >> warning-suppress-types or warning-suppress-log-types. > Reading your message on emacs-devel, I guess you'd want this kind of change to be made permanent? So customize-push-and-save of the resulting values? Robert From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim Cc: 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152060724632652 (code B ref 30757); Fri, 09 Mar 2018 14:55:02 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 14:54:06 +0000 Received: from localhost ([127.0.0.1]:51922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euJPJ-0008UZ-Ob for submit@debbugs.gnu.org; Fri, 09 Mar 2018 09:54:05 -0500 Received: from mail-ot0-f170.google.com ([74.125.82.170]:33640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euJPI-0008U3-Dg for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 09:54:04 -0500 Received: by mail-ot0-f170.google.com with SMTP id y11so8907943otg.0 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 06:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yn3+kJqAqnUagPVxw6nQiRSmfDYMuOZVfP4GaS2I5CA=; b=LqkR6tXIO9iTYxNxmOKBmBUDyp3OKCuMHj4SlxYmDDf6Vc3bhV78ZMQIqyAPEe/TI8 znwy9JSKZGQTtmE0tWf53NYX5Q4dL1lcers2Dv1o82iDthdzpfn+JdSpNnwt4n+PYDiL tnJFjLfTIq2NDuiWMkwz3VeENOdT1imnooWP4ERvRvZzCr/ozdmq4hSo0DM/K3+HsZdi sLFyGvzZCiKx3c8J+ovZ1mtrRw3/OhyKEPlDNohq/ozoErR3SuvfwBxSibZ1AHdDnjp7 g1PugQp89YjszncE9ZWvKDM0dPZPlxiau84rEG/gq9dOM5Tti6bBHvJklThs1M0aj4tM LzEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yn3+kJqAqnUagPVxw6nQiRSmfDYMuOZVfP4GaS2I5CA=; b=nQCTVG+Ax6fnzbG8gMq8MKAG68s4ca9XPqoElHxv8l9YfnPBd3wR0R+oU8cdNvhmXC Qb3gLPMtFsuL6Cdci/DuF57W4Y1kMstBK4pQpJxVmbtHhszTqc7kq2JbHKCmorpXgVPI eIDQUEY3avP2UKtE1FJsaf+0GdpPgE806a2YmDGkXhQlWNMhwayA2xp6kLrygXqvTqJ0 hxRFCZ5XhyfW/hQAo8Z8TngDtxAAwIK2T55iOwO8OAlcKjQXyHyAmLOsv18lJAvThLUD u3Hja7MM+Ua7hLhyzoBGACcL6OLCjmzA8qJqTiLMavI94vUMXybzgRHP71d5Gs3/GOl1 HTgA== X-Gm-Message-State: AElRT7GRltwNqouoi+RuL8WJ8GSYMZuNkpB2/Rm1SSNyQCkSloJ9qJmP L2u1+pEgV+qccErXJxOxHal2PPmoKw1czpNvosA= X-Google-Smtp-Source: AG47ELsJtcpqD54qJmIJhMSVjauA9jBTP/Kam6oDILn9ev4xzX7wyW7emPQ3UI0LpkKxY1wCeG34NZCUZkqvlCq+9Hw= X-Received: by 10.157.29.218 with SMTP id w26mr20085370otw.24.1520607238788; Fri, 09 Mar 2018 06:53:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.59.65 with HTTP; Fri, 9 Mar 2018 06:53:58 -0800 (PST) In-Reply-To: <87woylminv.fsf@gmail.com> References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> From: Noam Postavsky Date: Fri, 9 Mar 2018 09:53:58 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Fri, Mar 9, 2018 at 9:24 AM, Robert Pluim wrote: > Robert Pluim writes: > >> Noam Postavsky writes: >> >>> It would be nice if warnings in the *Warnings* buffer came with some >>> kind of button to let the user add the relevant value to >>> warning-suppress-types or warning-suppress-log-types. >> > > Reading your message on emacs-devel, I guess you'd want this kind of > change to be made permanent? So customize-push-and-save of the > resulting values? Ah, yes, something using customize was more what I had in mind. Also, potentially reusing the Warning(foo) prefix for the button might save some space, the different types of suppression could accessed by different keybindings/mouse clicks (maybe that conflicts with the "easy to use" goal, though, not sure). For reference, the emacs-devel post: https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00314.html From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky , 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.15206079672111 (code B ref 30757); Fri, 09 Mar 2018 15:07:01 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 15:06:07 +0000 Received: from localhost ([127.0.0.1]:52693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euJaw-0000Xz-SL for submit@debbugs.gnu.org; Fri, 09 Mar 2018 10:06:07 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:50348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euJav-0000XS-8F for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 10:06:05 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w29F46Ne072487; Fri, 9 Mar 2018 15:05:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=ZhGeQKKOp4UPSf5SkTO+W/AEQjHClOnoub9mXmzpHDs=; b=g9bV4O6LWhQMEDeKBXAtbT56SwjiSzHmVmpsfSowk02v2zvpfe6h8/4jHW4dFnFMqV3h cLGlXbfm4zAZGf7Mr8xuPFtkW7RUaSYpGAXgt8cn/93ffKY6pW3D22nRTVxDim9M4yLo cM3CiKYU13EH18FSZCFCy7Sa4Ini5h+N1fqE0ybVlgWb1eraNlKZwWG7OB9x61eNi825 +R5fN9zz9+tPQckHX9o29s7jQrbhIQYtSA0JWDis6lMAzgm8Mq/SJLkhI2Ass8p2mG1E LpDn+5aELmQsFnNr0mRTvSVftdkt/udMWMDa09GiKvl3dAV871SAFo38u9do7kxJf4nN kA== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2gkvk700db-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Mar 2018 15:05:59 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w29F5woM005695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 9 Mar 2018 15:05:58 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w29F5v5m000874; Fri, 9 Mar 2018 15:05:58 GMT MIME-Version: 1.0 Message-ID: <2c7d7920-8c41-4ad5-bde2-7c6b1f08dc46@default> Date: Fri, 9 Mar 2018 07:05:56 -0800 (PST) From: Drew Adams References: <877eql1ld0.fsf@gmail.com> In-Reply-To: <877eql1ld0.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4666.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8826 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=786 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803090189 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > It would be nice if warnings in the *Warnings* buffer came with some > kind of button to let the user add the relevant value to > warning-suppress-types or warning-suppress-log-types. +1 It would be good for the button/link to open *Help* with a more complete description of the warning. And there (in *Help*) there could be buttons/links to suppress things. In addition, we might have a command or commands that would show such *Help* regardless of whether the warnings are being shown. In *Help*, if the warning is currently not being shown then the button/link would enable showing it (i.e., the button toggles the behavior show/suppress). From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 30757@debbugs.gnu.org, Noam Postavsky Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.15206105966279 (code B ref 30757); Fri, 09 Mar 2018 15:50:01 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 15:49:56 +0000 Received: from localhost ([127.0.0.1]:52702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euKHM-0001dD-9R for submit@debbugs.gnu.org; Fri, 09 Mar 2018 10:49:56 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:53581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euKHK-0001cz-Ab for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 10:49:55 -0500 Received: by mail-wm0-f52.google.com with SMTP id e194so4710182wmd.3 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 07:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=gBzZf7C8wWypRk8+aCw0Hqj08pMSkhXzdPM0bhKUZ/E=; b=o03PjudU4q3roL3qz27msnJFOilt2DtQme+z5z1xIewaqS7YUfEURZSpmLz2nt+Weq VrxORnfZWv4Esq3MPfd6lFWuoVTG7F+zYww978uDyZoeVEgMLzkfEarQP7q7jAHmqyVm SY39bpZCVY5a3xaFOEOxPlV7sXotlU7ttuZZSXsGWtSqfc2Q5fDrpCgR7ZCpvK599/7A YhBSLfLNSsNQtEUNS0JvXXawKlZdQ/dAzukaDPqmQ2G9aNHti31mTQPJ6ZTTnJRLl5vH aOEkGv8mTvGs7nyplerSOpBaQOYvCdPcwHK/ctAjl5xe8hEN+V2eyDbU71lSpMPyyUlb ni+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=gBzZf7C8wWypRk8+aCw0Hqj08pMSkhXzdPM0bhKUZ/E=; b=YU3Io78OpbFSJvRqY4BX/Nsb5aY5FOPeuAppbSB9qE+OrO/oTCwmP17dpfUmFvHd9T lQm4e63kxYxhuPC67r1A/EkVQt/Oyez5qEdMw5+UIHcOWBSzD+Vxal//lxlbAr0+ekrW jqEa4CEmU3e/FIlik4Ndx3/Nr+g0EedsyUcnaepCREP8WBv/pYF4qzOqvYYsaQmaj+zL 5xBR6+Vhtxj4JdVriANNW3qJ8fT/7GEPD3haVfBq7UgyhEzdhuAgxAT40Ba8t+irfglo wbSMNCMA3q/GbZOaC2zXiOftjh4YLt2Ov6ijf8ZwT8FQ3DbZbnC2lcF5zP+jcAAtdtiO 4MZQ== X-Gm-Message-State: AElRT7Gk+CkiiNVF6ya9i2h6SQhmxxBf8bufkb+hAoPIXjZBcCPNjBZX CqSfKElye7UiMQ6naF5eEhnTW/5Y X-Google-Smtp-Source: AG47ELsYf2h5ayt58rhMXyshga2sbk7BZVhssTR7EpNKAhCpSQ8fvTgd3KnA0Zw2BT6RzLt5xUHHQQ== X-Received: by 10.28.132.133 with SMTP id g127mr2584539wmd.50.1520610588070; Fri, 09 Mar 2018 07:49:48 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 74sm2330827wmf.26.2018.03.09.07.49.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 07:49:47 -0800 (PST) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> <2c7d7920-8c41-4ad5-bde2-7c6b1f08dc46@default> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 09 Mar 2018 16:49:46 +0100 In-Reply-To: <2c7d7920-8c41-4ad5-bde2-7c6b1f08dc46@default> (Drew Adams's message of "Fri, 9 Mar 2018 07:05:56 -0800 (PST)") Message-ID: <874llpl04l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Drew Adams writes: >> It would be nice if warnings in the *Warnings* buffer came with some >> kind of button to let the user add the relevant value to >> warning-suppress-types or warning-suppress-log-types. > > +1 > > It would be good for the button/link to open *Help* with a more > complete description of the warning. And there (in *Help*) there > could be buttons/links to suppress things. > > In addition, we might have a command or commands that would > show such *Help* regardless of whether the warnings are being > shown. In *Help*, if the warning is currently not being > shown then the button/link would enable showing it (i.e., > the button toggles the behavior show/suppress). That sounds like a whole new feature request :-) I don't think there's anything preventing that from being added later. Robert From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.15206108166640 (code B ref 30757); Fri, 09 Mar 2018 15:54:01 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 15:53:36 +0000 Received: from localhost ([127.0.0.1]:52706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euKKt-0001j2-Qi for submit@debbugs.gnu.org; Fri, 09 Mar 2018 10:53:36 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:55054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euKKr-0001im-H5 for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 10:53:33 -0500 Received: by mail-wm0-f50.google.com with SMTP id z81so4728268wmb.4 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 07:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=2R7uFR9WJSuQ9cdv+iqU84EoWnHOhqRoydhNLhZuHZ4=; b=CtUGtycoSvfZWugN4DJoWrZmVssbpQFTVXJ4vml5Y1hfhDZAXkjvuZ+lo7284p4+es T5XsuoTiGNLTVITxB5G1nGGeDmOgm3XnEWdLEDDxVoLmH0kQ1oAF+OSVwB2QIt9eyLe7 Oek9K2aVKFDeh9e62jQ9Iug/FzWOr0nB3ygBGlAOAnIhPBKWVvPGa41/84wWicTC936C 9VuGc1vtPhfdtjIqT56mYFATjd7ag7FJAes4hwabiuosE1x14LzQP6ShIdW5nT6m/Uvz VUUo2L2KX/REtBR6eiLS3pIscu71bAT93b8Gxm2F12vnizBnddEs4ysVczFIEewKlSCb nRsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=2R7uFR9WJSuQ9cdv+iqU84EoWnHOhqRoydhNLhZuHZ4=; b=shqI963NNrIS+3Rz0aQUVYZS9dthnwGY04L5DE9wfLEIRjH5rDvT5E7sJIX3yONNd+ o2Kud8qYY2sd0cihCoU4TKS/+OnhTufDfgH3oivCPTkuFvcIjqE4HIhWz87LzbwYza4g bY2cJOWe3+vnxFVjTaPvqKImBtQPt22ZBuicySEkCPZ+81134JG5mEiRmykIG7+oEcXX ZL0W0F9dqQg94vMIzSSYlY8DSbI41s2HHJXTtwiH/facfPqlrO/Cky3Vm/4vvooguGGl xLmPgAw2DJWV2GPEW5ESV6LhG1S5RqmpRUAf/lbnAFZjGocFuwyk0zsKVYeikaUPG8vV h2Xg== X-Gm-Message-State: AElRT7GCBnbpVheJNei200tqHLKZKQltbsdKV7lJXrc8wSRvwg8ru+DV 14x4w0aZeY2nPBOEwjadADtASu4i X-Google-Smtp-Source: AG47ELsCfS6fC7h/N19Fd3uZ4H6VfhaE3eBlAIm1bv2JhC1vMBBfNsZNv8oEhR5X2Ypi3JdPB80WBg== X-Received: by 10.28.220.2 with SMTP id t2mr2620614wmg.21.1520610807446; Fri, 09 Mar 2018 07:53:27 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id v23sm1406022wmc.22.2018.03.09.07.53.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 07:53:26 -0800 (PST) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 09 Mar 2018 16:53:26 +0100 In-Reply-To: (Noam Postavsky's message of "Fri, 9 Mar 2018 09:53:58 -0500") Message-ID: <873719kzyh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Noam Postavsky writes: > Ah, yes, something using customize was more what I had in mind. > > Also, potentially reusing the Warning(foo) prefix for the button might > save some space, the different types of suppression could accessed by > different keybindings/mouse clicks (maybe that conflicts with the > "easy to use" goal, though, not sure). Here's what I've got so far. Suggestions welcome for wording, style changes, etc. It works fine for me, but I have warning-suppress-types and warning-suppress-log-types set to nil, so it might well fail for people who have already set those manually. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Show-log-suppression-buttons-in-display-warning-buff.patch >From 4db1f77e5d802531561918cd08e08d51447a84ec Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 9 Mar 2018 16:41:36 +0100 Subject: [PATCH] Show log suppression buttons in display-warning buffer * lisp/emacs-lisp/warnings.el (warning-suppress-warning): Define button. (warning-suppress-action): New function. (warning-suppress-log-warning): Define button. (warning-suppress-log-action): New function. (display-warning): Show buttons to allow permanent modification of warning-suppress-types and warning-suppress-log-types per warning. * etc/NEWS: Describe 'display-warning' change. --- etc/NEWS | 6 ++++++ lisp/emacs-lisp/warnings.el | 26 +++++++++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 14926ba2e3..134b79e60e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -71,6 +71,12 @@ moved to the early init file (see above). * Changes in Emacs 27.1 ++++ +** Warning types can now be disabled from the warning buffer. +For each warning 'display-warning' now adds buttons to the buffer it +uses to allow permanent suppression of the warning popup or of the +warning itself. + --- ** The new option 'tooltip-resize-echo-area' avoids truncating tooltip text on GUI frames when tooltips are displayed in the echo area. Instead, diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 489611d4d1..23f7e33af8 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el @@ -197,6 +197,21 @@ warning-suppress-p ;; we return t. some-match)) +(define-button-type 'warning-suppress-warning + 'action #'warning-suppress-action + 'help-echo "mouse-2, RET: Permanently disable popping up this warning") +(defun warning-suppress-action (button) + (customize-save-variable 'warning-suppress-types + (cons (list (button-get button 'warning-type)) + warning-suppress-types))) +(define-button-type 'warning-suppress-log-warning + 'action #'warning-suppress-log-action + 'help-echo "mouse-2, RET: Never generate this warning") +(defun warning-suppress-log-action (button) + (customize-save-variable 'warning-suppress-log-types + (cons (list (button-get button 'warning-type)) + warning-suppress-types))) + ;;;###autoload (defun display-warning (type message &optional level buffer-name) "Display a warning message, MESSAGE. @@ -223,7 +238,12 @@ display-warning See the `warnings' custom group for user customization features. See also `warning-series', `warning-prefix-function' and -`warning-fill-prefix' for additional programming features." +`warning-fill-prefix' for additional programming features. + +This will also display buttons allowing the user to permanently +disable popup of the warning or disable the warning entirely by +setting `warning-suppress-types' or `warning-suppress-log-types' +on their behalf." (if (not (or after-init-time noninteractive (daemonp))) ;; Ensure warnings that happen early in the startup sequence ;; are visible when startup completes (bug#20792). @@ -264,6 +284,10 @@ display-warning (insert (format (nth 1 level-info) (format warning-type-format typename)) message) + (insert " ") + (insert-button "Disable popup" 'type 'warning-suppress-warning 'warning-type type) + (insert " ") + (insert-button "Never generate" 'type 'warning-suppress-log-warning 'warning-type type) (newline) (when (and warning-fill-prefix (not (string-match "\n" message))) (let ((fill-prefix warning-fill-prefix) -- 2.16.1.72.g5be1f00a9 --=-=-=-- From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim Cc: 30757@debbugs.gnu.org, npostavs@gmail.com Reply-To: Eli Zaretskii Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.15206123259127 (code B ref 30757); Fri, 09 Mar 2018 16:19:01 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 16:18:45 +0000 Received: from localhost ([127.0.0.1]:52713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euKjF-0002N9-0P for submit@debbugs.gnu.org; Fri, 09 Mar 2018 11:18:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euKjD-0002Mw-Kk for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 11:18:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euKj5-0005wX-BO for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 11:18:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euKj5-0005wS-7Y; Fri, 09 Mar 2018 11:18:35 -0500 Received: from [176.228.60.248] (port=1806 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1euKj4-0006RH-N1; Fri, 09 Mar 2018 11:18:35 -0500 Date: Fri, 09 Mar 2018 18:18:32 +0200 Message-Id: <83zi3husrr.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <873719kzyh.fsf@gmail.com> (message from Robert Pluim on Fri, 09 Mar 2018 16:53:26 +0100) References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Fri, 09 Mar 2018 16:53:26 +0100 > Cc: 30757@debbugs.gnu.org > > Here's what I've got so far. Suggestions welcome for wording, style > changes, etc. Thanks. > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -71,6 +71,12 @@ moved to the early init file (see above). > > * Changes in Emacs 27.1 > > ++++ "+++" means this change was documented in the manual(s), but this change wasn't, AFAIU. Shkuld this be documented in the ELisp manual? > +** Warning types can now be disabled from the warning buffer. > +For each warning 'display-warning' now adds buttons to the buffer it > +uses to allow permanent suppression of the warning popup or of the > +warning itself. This entry should be made more clear. "Warning types" is never explained, the reference to 'display-warning' is confusing (this is a user-level feature, so why mention the function which is involved?), it is unclear what buffer is alluded to by "the buffer it uses", and the difference between "warning popup" and "warning itself" is left unexplained. > +(define-button-type 'warning-suppress-warning > + 'action #'warning-suppress-action > + 'help-echo "mouse-2, RET: Permanently disable popping up this warning") > +(defun warning-suppress-action (button) > + (customize-save-variable 'warning-suppress-types > + (cons (list (button-get button 'warning-type)) > + warning-suppress-types))) > +(define-button-type 'warning-suppress-log-warning > + 'action #'warning-suppress-log-action > + 'help-echo "mouse-2, RET: Never generate this warning") Likewise here: the difference between "disable popping up" and "never generate" is unclear. maybe a different wording will clarify that, but I cannot suggest one because frankly I don't understand well enough what each one does. From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 30757@debbugs.gnu.org, npostavs@gmail.com Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152061447412677 (code B ref 30757); Fri, 09 Mar 2018 16:55:01 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 16:54:34 +0000 Received: from localhost ([127.0.0.1]:52728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLHu-0003IP-6w for submit@debbugs.gnu.org; Fri, 09 Mar 2018 11:54:34 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euLHr-0003I9-D1 for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 11:54:33 -0500 Received: by mail-wr0-f193.google.com with SMTP id n7so9647737wrn.5 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 08:54:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=TiFEFDNoYtk9t6k5QWRwz20HX5DaJlFc2a+ZZbPMUjw=; b=OaZxU4pciWMmpkovzQYpvu0bZmIL5mtvcDvZG1cKyvGc5xNTsrdC17ZhP4vA8K5F4h +QdMBIFUA8vNjjgHZb8f/fu1uzj0wXJ2NcGrcGO4mw8yLPgDbv54IIRwV70pVxGtblFr 5Eph0nxMMx7/2evigJugg4BrmGCeQ/VMw+ELbGM/LwwPpY4QEZ9+YpbQzHsN2xrZxrxG 2n/YBwoDXGRUEmQPZWuOKNd9UV8sG28Al40Y4LCATFw48MRbh/VTsLzZMzeIssnm/CdV gCLMhNmcnsSD8to+HAeNQGgLM2417fHeh0mHc77oMFX7ywTP8hBjw5OxcXr9MqwwoKDW wOkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=TiFEFDNoYtk9t6k5QWRwz20HX5DaJlFc2a+ZZbPMUjw=; b=LrmDepP7g2/JsxXHkEfkUTKjDBwKtllTLYjlPowE5mmcWZ96Rkd79TRQ1vrE+iAN0w Ma8kb7yrzrC5lTINJJn2c99lDoXzwqz2qGsD9jmE2sVw6n6QxqlpzvPVGc6pIrXmsr+9 +EPVRMsCwlbi9b4dieSLYvh9sRIKN32qNbQLI8TWkovQzYYHthS24MPWhHlJUYaG3qOP SPC46HuBRsgiooJ0nU1hsqtHrRdebfmiANAwWqZ2L2qYFAw1dzDS0U2pcDUngz8bD9BK uhEY44l2wLycWJNTtspunF14uHFYpug8jjhDMWJC6vwbl5lPslnHgUQeJM6gGphjChOM PTcA== X-Gm-Message-State: APf1xPDPddCUCGrSZCWfcRSvWQuyVpZmUnQ9af3tSkJWrkhEU5uAt9zi PQnIMmvT6k9b0uBznUbiwAm26D7j X-Google-Smtp-Source: AG47ELsgD5ToB+dFfauENYJM+hWTtY7C5WQRGByitlxYx+3UeMpXvGA2q3qlx7W2IimJGYSQqE924g== X-Received: by 10.223.199.71 with SMTP id b7mr27873627wrh.228.1520614465252; Fri, 09 Mar 2018 08:54:25 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id g78sm1623014wmc.31.2018.03.09.08.54.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 08:54:24 -0800 (PST) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 09 Mar 2018 17:54:23 +0100 In-Reply-To: <83zi3husrr.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 09 Mar 2018 18:18:32 +0200") Message-ID: <87vae5jikg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Robert Pluim >> Date: Fri, 09 Mar 2018 16:53:26 +0100 >> Cc: 30757@debbugs.gnu.org >> >> Here's what I've got so far. Suggestions welcome for wording, style >> changes, etc. > > Thanks. > >> --- a/etc/NEWS >> +++ b/etc/NEWS >> @@ -71,6 +71,12 @@ moved to the early init file (see above). >> >> * Changes in Emacs 27.1 >> >> ++++ > > "+++" means this change was documented in the manual(s), but this > change wasn't, AFAIU. Shkuld this be documented in the ELisp manual? > etc/NEWS says: +++ indicates that all necessary documentation updates are complete. (This means all relevant manuals in doc/ AND lisp doc-strings.) I'd looked through the manuals and couldn't see anywhere where I thought it should be documented, hence I only changed the doc-string. We can go for '---' in that case. >> +** Warning types can now be disabled from the warning buffer. >> +For each warning 'display-warning' now adds buttons to the buffer it >> +uses to allow permanent suppression of the warning popup or of the >> +warning itself. > > This entry should be made more clear. "Warning types" is never > explained, the reference to 'display-warning' is confusing (this is a > user-level feature, so why mention the function which is involved?), > it is unclear what buffer is alluded to by "the buffer it uses", and > the difference between "warning popup" and "warning itself" is left > unexplained. I've rewritten it. See attached. >> +(define-button-type 'warning-suppress-warning >> + 'action #'warning-suppress-action >> + 'help-echo "mouse-2, RET: Permanently disable popping up this warning") >> +(defun warning-suppress-action (button) >> + (customize-save-variable 'warning-suppress-types >> + (cons (list (button-get button 'warning-type)) >> + warning-suppress-types))) >> +(define-button-type 'warning-suppress-log-warning >> + 'action #'warning-suppress-log-action >> + 'help-echo "mouse-2, RET: Never generate this warning") > > Likewise here: the difference between "disable popping up" and "never > generate" is unclear. maybe a different wording will clarify that, > but I cannot suggest one because frankly I don't understand well > enough what each one does. Yes. I'm stuck between being precise but verbose, and more general and succinct, and expressing the permanence of the resulting change. I've make another attempt, although I'm still not entirely happy with it, especially since the button texts are now quite long (I thought about using the verb 'hide', but that's not accurate either). Robert --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Show-log-suppression-buttons-in-display-warning-buff.patch >From ba62307cfb0633637cc1fa9351c942cf79f34b90 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 9 Mar 2018 16:41:36 +0100 Subject: [PATCH] Show log suppression buttons in display-warning buffer * lisp/emacs-lisp/warnings.el (warning-suppress-warning): Define button. (warning-suppress-action): New function. (warning-suppress-log-warning): Define button. (warning-suppress-log-action): New function. (display-warning): Show buttons to allow permanent modification of warning-suppress-types and warning-suppress-log-types per warning. * etc/NEWS: Describe 'display-warning' button change. --- etc/NEWS | 10 +++++++++- lisp/emacs-lisp/warnings.el | 26 +++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 14926ba2e3..a36967d473 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -69,7 +69,15 @@ in your init file. However, if your init file changes the values of moved to the early init file (see above). -* Changes in Emacs 27.1 +* Changes in Emacs 27. + +--- +** Specific warnings can now be disabled from the warning buffer. +When a warning is displayed to the user, the resulting buffer now has +buttons which allow making permanent changes to the treatment of that +warning. Automatic showing of the warning can be disabled (although +it is still generated), or generation of the warning can be disabled +entirely. --- ** The new option 'tooltip-resize-echo-area' avoids truncating tooltip text diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 489611d4d1..245cd3f39a 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el @@ -197,6 +197,21 @@ warning-suppress-p ;; we return t. some-match)) +(define-button-type 'warning-suppress-warning + 'action #'warning-suppress-action + 'help-echo "mouse-2, RET: Don't display this warning automatically") +(defun warning-suppress-action (button) + (customize-save-variable 'warning-suppress-types + (cons (list (button-get button 'warning-type)) + warning-suppress-types))) +(define-button-type 'warning-suppress-log-warning + 'action #'warning-suppress-log-action + 'help-echo "mouse-2, RET: Never generate this warning again") +(defun warning-suppress-log-action (button) + (customize-save-variable 'warning-suppress-log-types + (cons (list (button-get button 'warning-type)) + warning-suppress-types))) + ;;;###autoload (defun display-warning (type message &optional level buffer-name) "Display a warning message, MESSAGE. @@ -223,7 +238,12 @@ display-warning See the `warnings' custom group for user customization features. See also `warning-series', `warning-prefix-function' and -`warning-fill-prefix' for additional programming features." +`warning-fill-prefix' for additional programming features. + +This will also display buttons allowing the user to permanently +disable automatic display of the warning or disable the warning +entirely by setting `warning-suppress-types' or +`warning-suppress-log-types' on their behalf." (if (not (or after-init-time noninteractive (daemonp))) ;; Ensure warnings that happen early in the startup sequence ;; are visible when startup completes (bug#20792). @@ -264,6 +284,10 @@ display-warning (insert (format (nth 1 level-info) (format warning-type-format typename)) message) + (insert " ") + (insert-button "Disable showing automatically" 'type 'warning-suppress-warning 'warning-type type) + (insert " ") + (insert-button "Never generate" 'type 'warning-suppress-log-warning 'warning-type type) (newline) (when (and warning-fill-prefix (not (string-match "\n" message))) (let ((fill-prefix warning-fill-prefix) -- 2.16.1.72.g5be1f00a9 --=-=-=-- From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 18:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim Cc: 30757@debbugs.gnu.org, npostavs@gmail.com Reply-To: Eli Zaretskii Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152062014422175 (code B ref 30757); Fri, 09 Mar 2018 18:30:03 +0000 Received: (at 30757) by debbugs.gnu.org; 9 Mar 2018 18:29:04 +0000 Received: from localhost ([127.0.0.1]:52817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euMlM-0005lb-Bf for submit@debbugs.gnu.org; Fri, 09 Mar 2018 13:29:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euMlK-0005l5-N3 for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 13:29:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euMlE-000492-FG for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 13:28:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euMl9-00047L-QN; Fri, 09 Mar 2018 13:28:51 -0500 Received: from [176.228.60.248] (port=1882 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1euMl9-0002uF-7X; Fri, 09 Mar 2018 13:28:51 -0500 Date: Fri, 09 Mar 2018 20:28:49 +0200 Message-Id: <83tvtpumqm.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87vae5jikg.fsf@gmail.com> (message from Robert Pluim on Fri, 09 Mar 2018 17:54:23 +0100) References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> <87vae5jikg.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Cc: 30757@debbugs.gnu.org, npostavs@gmail.com > Date: Fri, 09 Mar 2018 17:54:23 +0100 > > > "+++" means this change was documented in the manual(s), but this > > change wasn't, AFAIU. Shkuld this be documented in the ELisp manual? > > > > etc/NEWS says: > > +++ indicates that all necessary documentation updates are complete. > (This means all relevant manuals in doc/ AND lisp doc-strings.) > > I'd looked through the manuals and couldn't see anywhere where I > thought it should be documented, hence I only changed the > doc-string. We can go for '---' in that case. "---" is correct if a change needs not be documented, yes. In this case, I wonder whether we should document this where warning-suppress-types etc. are documented. > +--- > +** Specific warnings can now be disabled from the warning buffer. > +When a warning is displayed to the user, the resulting buffer now has > +buttons which allow making permanent changes to the treatment of that > +warning. Automatic showing of the warning can be disabled (although > +it is still generated), or generation of the warning can be disabled > +entirely. Instead of the vague "generation" I'd suggest to say explicitly that its logged in the *Messages* buffer. Otherwise, this text is a significant improvement, thanks. > +(define-button-type 'warning-suppress-warning > + 'action #'warning-suppress-action > + 'help-echo "mouse-2, RET: Don't display this warning automatically") > +(defun warning-suppress-action (button) > + (customize-save-variable 'warning-suppress-types > + (cons (list (button-get button 'warning-type)) > + warning-suppress-types))) > +(define-button-type 'warning-suppress-log-warning > + 'action #'warning-suppress-log-action > + 'help-echo "mouse-2, RET: Never generate this warning again") > +(defun warning-suppress-log-action (button) > + (customize-save-variable 'warning-suppress-log-types > + (cons (list (button-get button 'warning-type)) > + warning-suppress-types))) I think we should make similar changes in the help-echo strings. > + (insert-button "Disable showing automatically" 'type 'warning-suppress-warning 'warning-type type) > + (insert " ") > + (insert-button "Never generate" 'type 'warning-suppress-log-warning 'warning-type type) And here. From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Mar 2018 03:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152065169116478 (code B ref 30757); Sat, 10 Mar 2018 03:15:01 +0000 Received: (at 30757) by debbugs.gnu.org; 10 Mar 2018 03:14:51 +0000 Received: from localhost ([127.0.0.1]:53004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euUyB-0004Hi-CJ for submit@debbugs.gnu.org; Fri, 09 Mar 2018 22:14:51 -0500 Received: from mail-it0-f67.google.com ([209.85.214.67]:37477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euUy9-0004HU-Ax for 30757@debbugs.gnu.org; Fri, 09 Mar 2018 22:14:50 -0500 Received: by mail-it0-f67.google.com with SMTP id k79-v6so5200423ita.2 for <30757@debbugs.gnu.org>; Fri, 09 Mar 2018 19:14:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Wwh/fc/hXWfTZfE5+vuhwGO9R87bRxaFici9Grvc58o=; b=JGIklmw3WYXH6RF0ZYsgbxnoHXJKzDyVdZLhmpLXndSbk7rMYWe7Zb8hhEAuI6heVE 1KCimzmfOVHRcM+66vpVGRhMjDJZgKQMKZ6shi9YDY6H5k6zEs1xaZG1+qzDARpQ4TJb iMlkLpJO6SzlOo0+IugSg6VKr2hjKS/2GGzFi07MNc/euS/m4PceYfd73hfxwwe/Adtq GNMmjTmSi5nueVqOnwTADiDUsLDBmJX7LRAsL7tmF51r2sHZWJrOTYXzy+JCiU0AGmI0 FDKYnbsUYZypJQQ0YRJA7lTia6NunVGQWwnc2y4Fw/1QFMNLWPLrX9drSmtfIpt4MbWc wFSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Wwh/fc/hXWfTZfE5+vuhwGO9R87bRxaFici9Grvc58o=; b=rOQ4jmDEwPfJ2DSfxuvnG7w/CcLOX3v0oMZNvLw2GaVo63MrCKOnhL4CLxBb2Lg7aY 0Xqyo3J+1s7cRpFor4/Wu1V/8jdZluL/ymxWiJ2VDnqxwRXF1kTPncrqIMOSzSxl6JLw q1e1I3gPaiFVEzo5TXJn3w0h3hoHLt6iXV3HE8Q4Q/+lfeuXRkmyJiOJdKUz1DhtMYxX qGZXHiPYcidQYauvZhbhmYk23HgIPV6bAwPzp2GV3wFHd6kFVyTHyjkje0stIPyehKnG MGC+Bq1OmaHqDobUja70O49NuX37s0jiJCnSJSTxf4ZAUGob8bWZoPtBuaqgEI3tueLb VByw== X-Gm-Message-State: AElRT7FybRZh0DIR+/+9rey7qHOJb/xn+9PetNcPr4cjFPj5e/h1hctH wHLhX84EnHaUyOSqvcW3GyO43A== X-Google-Smtp-Source: AG47ELvkYSS6MS4+AybTB/X2LkG2f5MU6CRYBNISVJeEQJ9KM3t2gszBNEceaO93DIYsEvI5ykiw0A== X-Received: by 10.36.122.69 with SMTP id a66mr218884itc.117.1520651683731; Fri, 09 Mar 2018 19:14:43 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 12sm278122itm.0.2018.03.09.19.14.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Mar 2018 19:14:43 -0800 (PST) From: Noam Postavsky References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> <87vae5jikg.fsf@gmail.com> Date: Fri, 09 Mar 2018 22:14:42 -0500 In-Reply-To: <87vae5jikg.fsf@gmail.com> (Robert Pluim's message of "Fri, 09 Mar 2018 17:54:23 +0100") Message-ID: <87vae4zknx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Robert Pluim writes: > Yes. I'm stuck between being precise but verbose, and more general and > succinct, and expressing the permanence of the resulting change. I've > make another attempt, although I'm still not entirely happy with it, > especially since the button texts are now quite long (I thought about > using the verb 'hide', but that's not accurate either). Perhaps taking Drew's suggestion to popup a *Help* window would give more room to be descriptive? From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2018 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: Eli Zaretskii , 30757@debbugs.gnu.org Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.152085268226948 (code B ref 30757); Mon, 12 Mar 2018 11:05:01 +0000 Received: (at 30757) by debbugs.gnu.org; 12 Mar 2018 11:04:42 +0000 Received: from localhost ([127.0.0.1]:56026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evLFx-00070a-Pp for submit@debbugs.gnu.org; Mon, 12 Mar 2018 07:04:41 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:40979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evLFw-00070M-4B for 30757@debbugs.gnu.org; Mon, 12 Mar 2018 07:04:40 -0400 Received: by mail-wr0-f169.google.com with SMTP id f14so15204552wre.8 for <30757@debbugs.gnu.org>; Mon, 12 Mar 2018 04:04:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=BzSfds4s2XAOO1oLqhTFEjZdA+7fliDrRMLoolml7DI=; b=NYl9Lyvmc+JQNBLpiP/R/XTAct3KF77hcg5jKcFrZAEgD6tMkIYcgqYilE+xPt6Biz Bx0i9kEoAhMdgfqDgNiZ3cuYfdbUgWbVs2d3PNV0Hd2n/wh8FsEdtv3fGto1ZZgNL3gt koCwqeJA7KeCqPdpolIurEauCCPT0ZR1eeKt01cxgcYBdcZTCHFIZbYx4VkNxvvXJHvl cXQ1eMN81+AasCTJmyDeUqy/n5YFcrffN4DW9ihjhtjuVHMZBgXO433FmU60CO3z1YEL 3UQ3t2DK6LwRpY21PbLwdoij7++wMxVG/GC0xTQguIg+Lt3nDgoD1Obd5WbzHAEMIrvJ 6BCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=BzSfds4s2XAOO1oLqhTFEjZdA+7fliDrRMLoolml7DI=; b=NqYkVz+ZTrNW2+kebGsoK8MTBEo816SdMAHx9i0FbkM28l5W6B9G7Y4ucJuWw1S1q/ /CEMrikwDT9IHIgXqSdcIOKm0eQklozeNzd2IuH1tIz62Lc59kniyizTINV6HAm73wAr wDoOMylI9d693ZoCWdkvwwpbJhT3eYNe+ELVbTfmbCdhHB3TagKpVRT2U1lFlq4aTYUm ACuDqleOKrr1LgJG7VQ/M7gogANGWXXPhCYKx7fOkMVBtQd9TsrR4xUwJeBosVRwRR35 MFKuAItFHbsVl8TTOGJVriJnTTapOYDFUfYloNn+rVuhjW13h8jOfoWFVqx0XAX6/TAw CUuA== X-Gm-Message-State: AElRT7Ez7BDwYc7+UmsbGUt6/nu58X/fKXhg1bom4Wur4qu0viZMn2OU hd1PCWqVUFw/wCgOFsTgcCWSdxao X-Google-Smtp-Source: AG47ELs6z9ED41Vvwfi9XqhrYewofy0JB/LS8Uq6n1WKu6EqJXiREzeciu9bxKckJZD4Bo/S5jPplQ== X-Received: by 10.223.147.103 with SMTP id 94mr315358wro.240.1520852673945; Mon, 12 Mar 2018 04:04:33 -0700 (PDT) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 8sm6603272wmf.13.2018.03.12.04.04.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 04:04:33 -0700 (PDT) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> <87vae5jikg.fsf@gmail.com> <87vae4zknx.fsf@gmail.com> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Mon, 12 Mar 2018 12:04:31 +0100 In-Reply-To: <87vae4zknx.fsf@gmail.com> (Noam Postavsky's message of "Fri, 09 Mar 2018 22:14:42 -0500") Message-ID: <87k1uhk11c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Noam Postavsky writes: > Robert Pluim writes: > >> Yes. I'm stuck between being precise but verbose, and more general and >> succinct, and expressing the permanence of the resulting change. I've >> make another attempt, although I'm still not entirely happy with it, >> especially since the button texts are now quite long (I thought about >> using the verb 'hide', but that's not accurate either). > > Perhaps taking Drew's suggestion to popup a *Help* window would give > more room to be descriptive? It would, but I thought the target user here was someone who doesn't necessarily know much about how to configure stuff in Emacs, but just wants to disable an annoying warning, so a long verbose detailed *Help* window might be counter-productive. Robert From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 04:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , 30757@debbugs.gnu.org, npostavs@gmail.com Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.159919384828773 (code B ref 30757); Fri, 04 Sep 2020 04:31:02 +0000 Received: (at 30757) by debbugs.gnu.org; 4 Sep 2020 04:30:48 +0000 Received: from localhost ([127.0.0.1]:36875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE3NA-0007U1-5x for submit@debbugs.gnu.org; Fri, 04 Sep 2020 00:30:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE3N8-0007Tm-FE for 30757@debbugs.gnu.org; Fri, 04 Sep 2020 00:30:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Otfy9AJbi4OEhQ2yYOFmApnQtQ9BOk+VfqHE9BTLGlw=; b=qvT7hH3nyiGQiVmc/QFWQJOZfa xqEpY0/OtKvsErsaNsSbGdsu0Pq58SOPtVEyJiSbY87Q3xo8XRwjPZUlzfLqeOecydDrh6Tas64G/ z1Fc7r/GXkgoY5HHrOWo+NIZh4+WN0EQTn7+Q76b0EQrHojBX1bdrvf8CWXooEmQsM0A=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kE3Mu-0002Zv-Oo; Fri, 04 Sep 2020 06:30:39 +0200 From: Lars Ingebrigtsen References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> <87vae5jikg.fsf@gmail.com> X-Now-Playing: Machinedrum's _Vapor City Citizenship Programme_: "Vapor City - Vizion Centre Mix" Date: Fri, 04 Sep 2020 06:30:31 +0200 In-Reply-To: <87vae5jikg.fsf@gmail.com> (Robert Pluim's message of "Fri, 09 Mar 2018 17:54:23 +0100") Message-ID: <87v9guduzc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > Yes. I'm stuck between being precise but verbose, and more general and > succinct, and expressing the permanence of the resulting change. I've > make another attempt, although I'm still not entirely [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Robert Pluim writes: > Yes. I'm stuck between being precise but verbose, and more general and > succinct, and expressing the permanence of the resulting change. I've > make another attempt, although I'm still not entirely happy with it, > especially since the button texts are now quite long (I thought about > using the verb 'hide', but that's not accurate either). I think everybody agreed that the feature was good, but there was some discussion about the wording, so the patch was never applied. I've now respun the patch for Emacs 28, and tweaked the wording (and made it pretty brief). If anybody wants to change the wording, please do so, but I don't think we should let that stop us from adding the functionality, so I've now pushed it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 00:30:53 2020 Received: (at control) by debbugs.gnu.org; 4 Sep 2020 04:30:53 +0000 Received: from localhost ([127.0.0.1]:36878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE3NE-0007UH-GT for submit@debbugs.gnu.org; Fri, 04 Sep 2020 00:30:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE3ND-0007Ts-1w for control@debbugs.gnu.org; Fri, 04 Sep 2020 00:30:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ny3cLcVGAFtBaUA+BkLUbmN/VkdeocDQ+flioYuPkS8=; b=PmVn2KsCGUzrfzZJaDs4sRExts qsgZWR2G2x9k/4lXaaDJI+rlvHJqnGkf0OvPkdSfYHOn5lf/FgWFpSXvyTQ2zuFfb8FSet8kJEGAs VhD6QB+pc1iUvsIgaTEk0My4N77NulJ1bVHh9foI1sm2AyuRB2FVKhIn6mtbJHHuMF3U=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kE3N5-0002a5-9M for control@debbugs.gnu.org; Fri, 04 Sep 2020 06:30:45 +0200 Date: Fri, 04 Sep 2020 06:30:42 +0200 Message-Id: <87tuweduz1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #30757 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 30757 fixed close 30757 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 30757 fixed close 30757 28.1 quit From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 08:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: Eli Zaretskii , 30757@debbugs.gnu.org, npostavs@gmail.com Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.159920969532332 (code B ref 30757); Fri, 04 Sep 2020 08:55:02 +0000 Received: (at 30757) by debbugs.gnu.org; 4 Sep 2020 08:54:55 +0000 Received: from localhost ([127.0.0.1]:37254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE7Uk-0008PP-QH for submit@debbugs.gnu.org; Fri, 04 Sep 2020 04:54:54 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:33385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE7Ui-0008P8-N8 for 30757@debbugs.gnu.org; Fri, 04 Sep 2020 04:54:53 -0400 Received: by mail-wr1-f51.google.com with SMTP id m6so5963235wrn.0 for <30757@debbugs.gnu.org>; Fri, 04 Sep 2020 01:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=LGPItWqELgwE2Ou0p34nX0YuWdCFfaKecbNlILg0bLw=; b=uFMdNCp8aA/tO4IbZo4uiFa7tjUdY1uhDLOFEB9/qqj+QjUYrxD+KmummFOROQtOK6 EP5HKciqTi3EutnEi2MtTHpUTywpPNyT7wKn+xeZvxqWaYnuWB7GbsQBNqEgS7mymTAm 72DR228kvH8AKi0/vC07a0ShMA67MSO/MZA662RwY+wfQEWddocTDO4fZql8zwKZVm/m 2QP/AI94amwjtYnJY15ATpPEWuQu5AYMwT3ZYl5EsuVOItonP62X0c995MEkn/5mOL2+ 4gOWnTR9wW4ldrG0DGqTH8T7G+shgyJlQKuT9iofy5XsTT0SdLRQsITWWQWCX58ya0zz nVbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=LGPItWqELgwE2Ou0p34nX0YuWdCFfaKecbNlILg0bLw=; b=gfF6TzH2TSD4Omj/K70Q7VBYBcDD5Xi2RIdcbbmzD6sYkpHZ2KzVv8qyOl3FgavZx7 qCtQLRc6EFQtCWFTp4eaYu/Q92ORcWq/CqVGimKBW23EzC4rL8F/2xrY2lIUWro88K0o atjVzcrBNu3oxHUPFbKyiKFu+rbIb49i/WU44SC4z47Cc6YX/lFWBHYI15XExpD6dvzc 28TX1McHdLCkUu1McAX9MnbIhFM1iOzCmTkVA5F4x9DlvQNv3DCwO2jIn73GmbfNtiUL pUbYfTG+R4llPViHPfSz9LM91qVCLbLnR1tluAGdxUpUHt9YvMa4BNfz6tmLtVnd/YjD 79fQ== X-Gm-Message-State: AOAM5339cYIo+5CjajAYjflG0S1lgTKvHk2VL5T2ICeeasbHr7NHpuoo GFS5TjzfJbcdWeap61qIUlM= X-Google-Smtp-Source: ABdhPJwygLMHV3s1LTsblelmCTxbX3nV8GNZ+p/jtqNtcjh1jjqEIj6Vbc7ujdfKs39RXbAJAe7vDg== X-Received: by 2002:a5d:43cf:: with SMTP id v15mr7224149wrr.149.1599209686625; Fri, 04 Sep 2020 01:54:46 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:8409:1beb:8d81:9d2a]) by smtp.gmail.com with ESMTPSA id a83sm9553722wmh.48.2020.09.04.01.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 01:54:45 -0700 (PDT) From: Robert Pluim References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> <87vae5jikg.fsf@gmail.com> <87v9guduzc.fsf@gnus.org> Date: Fri, 04 Sep 2020 10:54:44 +0200 In-Reply-To: <87v9guduzc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 04 Sep 2020 06:30:31 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 04 Sep 2020 06:30:31 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> Yes. I'm stuck between being precise but verbose, and more general a= nd >> succinct, and expressing the permanence of the resulting change. I've >> make another attempt, although I'm still not entirely happy with it, >> especially since the button texts are now quite long (I thought about >> using the verb 'hide', but that's not accurate either). Lars> I think everybody agreed that the feature was good, but there was= some Lars> discussion about the wording, so the patch was never applied. I'= ve now Lars> respun the patch for Emacs 28, and tweaked the wording (and made = it Lars> pretty brief). If anybody wants to change the wording, please do= so, Lars> but I don't think we should let that stop us from adding the Lars> functionality, so I've now pushed it. I think this one was a victim of when I moved to a mac, and it got orphaned. Thanks for this, although you=CA=BCre running the risk of me just posting patches and waiting for you to apply them :-) Robert From unknown Mon Jun 23 00:36:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30757: Better manipulation (suppressing, examining type) of warnings from *Warnings* buffer Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 11:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Robert Pluim Cc: Eli Zaretskii , 30757@debbugs.gnu.org, npostavs@gmail.com Received: via spool by 30757-submit@debbugs.gnu.org id=B30757.159921858315767 (code B ref 30757); Fri, 04 Sep 2020 11:24:02 +0000 Received: (at 30757) by debbugs.gnu.org; 4 Sep 2020 11:23:03 +0000 Received: from localhost ([127.0.0.1]:37604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE9o6-00046E-SU for submit@debbugs.gnu.org; Fri, 04 Sep 2020 07:23:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE9o5-00045V-A0 for 30757@debbugs.gnu.org; Fri, 04 Sep 2020 07:23:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AtPvvOpvfnkhWokwTJ3Jv0LMvCFnj9p0Dyi+t751s4E=; b=hB3mmIRhWz3nggW5a9IrYCXkxC 8g44ta1tu1U0BVM7lvVFhTUNkegJz5yls+OQRqkNwG9kLbOYOav5+CoiYf4PeRGe8sxoK7IZLCv4r EzjMUpFcUJRxxJzCojqD3pNbimVMsXKaeFH0tWxFiBUfoszg2MjcQpmUjsiFBTZyJ810=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kE9nw-0006lu-32; Fri, 04 Sep 2020 13:22:54 +0200 From: Lars Ingebrigtsen References: <877eql1ld0.fsf@gmail.com> <871sgtnxth.fsf@gmail.com> <87woylminv.fsf@gmail.com> <873719kzyh.fsf@gmail.com> <83zi3husrr.fsf@gnu.org> <87vae5jikg.fsf@gmail.com> <87v9guduzc.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEUEBQIpLyBXZFGS mnBASzi5v5j////6jDnzAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJBAsWF1Bt2eMAAAGWSURBVDjL 5ZNRcusgDEVFmwVA6v43gvzXqP43hLeAN1T730olKC5pu4NqPGN8TyTEFQH4E+GsA/OLbnw4X/Ju nISxEzhFzJhtA24GBksuSwPLoZvSIpdgZbloTgcPNGJ/IN8WGBARnob+Bnks48YE10q0scRqmrjV rRJHBB6x/uNKsWcQTsBtklm5Ad2DmFul9zOTviXLoxAQ6FX5f+2J+uvW1ahUxkKawQnU5wGkMAkF ppzCjXetVDlSzNKxZEFRR8WGW3Tlslj1w6RkHJTUzDaegojTUNQ0sfpWqcbk7se3oDXigxwsp1n2 4t+jNFPJx1COeaAaLlZydxyPcvqZDFPtuhz7E6nR9on7HuKHjrPNXb/h2t0W+zqJtoE302eq/nWS Q1LwcsJJx9Buh4BozwL8AXo1ARfInvAr5O4FBXGHjHECQXRpmdDKFOeMToACfAdY5AFaTz9BwQD8 oheC5010c5m5WwE933el7dbHV4O+flXHEgQkePe7OfYoZZw8wUrWzFZ8RpK/2QDlLuCMYEL5nlDK B/IFmZCH6NapAAAAEGVYSWZJSSoACAAAAAAAAAAAAAAAnDy5KAAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMC0wOS0wNFQxMToyMjoyMiswMDowMM9U8PMAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDkt MDRUMTE6MjI6MjIrMDA6MDC+CUhPAAAAAElFTkSuQmCC X-Now-Playing: Tuxedomoon's _Live in Los Angeles (2005)_: "Cagli Five-O" Date: Fri, 04 Sep 2020 13:22:50 +0200 In-Reply-To: (Robert Pluim's message of "Fri, 04 Sep 2020 10:54:44 +0200") Message-ID: <87d031dbw5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > I think this one was a victim of when I moved to a mac, and it got > orphaned. Thanks for this, although =?UTF-8?Q?you=CA=BCre?= running the risk of me just > posting patches and waiting for you to apply them :-) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Robert Pluim writes: > I think this one was a victim of when I moved to a mac, and it got > orphaned. Thanks for this, although you=CA=BCre running the risk of me ju= st > posting patches and waiting for you to apply them :-) Eeek!! --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no