GNU bug report logs - #43467
28.0.50; [PATCH] defcustom warning-show-suppression-buttons

Previous Next

Package: emacs;

Reported by: No Wayman <iarchivedmywholelife <at> gmail.com>

Date: Thu, 17 Sep 2020 15:53:02 UTC

Severity: normal

Tags: patch, wontfix

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 43467 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: No Wayman <iarchivedmywholelife <at> gmail.com>
Cc: 43467 <at> debbugs.gnu.org
Subject: Re: bug#43467: [PATCH] defcustom warning-show-suppression-buttons
 correction
Date: Thu, 17 Sep 2020 18:13:57 +0200
>>>>> On Thu, 17 Sep 2020 12:04:20 -0400, No Wayman <iarchivedmywholelife <at> gmail.com> said:

    No> Sorry, just woke up. The attached patch corrects the logic of the
    No> first one.

    No> From 0f5caefcfe496ebccfedf24cfc75b249e1e7bf76 Mon Sep 17 00:00:00 2001
    No> From: Nicholas Vollmer <iarchivedmywholelife <at> gmail.com>
    No> Date: Thu, 17 Sep 2020 11:40:41 -0400
    No> Subject: [PATCH] Allow customization of warning suppression button display

    No> * lisp/emacs-lisp/warnings.el (warning-show-suppression-buttons):
    No> new defcustom to disable/enable display of warning suppression buttons
    No> in *Warnings* buffer.
    No> ---
    No>  lisp/emacs-lisp/warnings.el | 7 ++++++-
    No>  1 file changed, 6 insertions(+), 1 deletion(-)

    No> diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
    No> index e10c149d89..8ed4e425f3 100644
    No> --- a/lisp/emacs-lisp/warnings.el
    No> +++ b/lisp/emacs-lisp/warnings.el
    No> @@ -116,6 +116,11 @@ warning-suppress-types
    No>  See also `warning-suppress-log-types'."
    No>    :type '(repeat (repeat symbol))
    No>    :version "22.1")
    No> +
    No> +(defcustom warning-show-suppression-buttons t
    No> +  "Whether or not to show suppresion buttons in the *Warnings* buffer.
    No> +If t, buttons are shown, else they are not."
    No> +  :type 'boolean)

Your defcustom needs a :version "28.1"

Robert




This bug report was last modified 4 years and 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.