Subject: bug#77917: 31.0.50; [PATCH] Stop using the "stop" sign for all warning levels

From: Ihor Radchenko <[email-masked]>
Date: Mon, 05 May 2025 17:17:57 +0000

Juri Linkov <[email-masked]> writes:

>> Then, what about
>>
>> +                (insert (buttonize (concat (icon-string 'warnings-suppress) " [Suppress?]")
>> +                                   #'warnings-suppress
>> +                                   type
>> +                                   "Click to suppress this warning type")
>
> This adds too much visual clutter to users who don't need to click this button.
> A better place for this button would be at the end.

Then, maybe partially revert 0db604a9149, resurrecting

-              ;; Don't output the buttons when doing batch compilation
-              ;; and similar.
-              (unless (or noninteractive (eq type 'bytecomp))
-                (insert " ")
-                (insert-button "Disable showing"
-                               'type 'warning-suppress-warning
-                               'warning-type type)
-                (insert " ")
-                (insert-button "Disable logging"
-                               'type 'warning-suppress-log-warning

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>