GNU bug report logs - #61413
[PATCH] Make warnings show a "warning" emoji instead of a stop-sign

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>

Date: Sat, 11 Feb 2023 08:47:02 UTC

Severity: wishlist

Tags: patch

Merged with 60854

Full log


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

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 61413 <at> debbugs.gnu.org, Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
Subject: Re: bug#61413: [PATCH] Make warnings show a "warning" emoji instead
 of a stop-sign
Date: Wed, 12 Feb 2025 08:21:52 +0100
Stefan Kangas <stefankangas <at> gmail.com> writes:

> Konstantin Kharlamov <Hi-Angel <at> yandex.ru> writes:
>
>> Stop-sign emoji is confusing in context of warnings, because it
>> typically has red color, and looks like there was some error. Let's use
>> instead a "warning" emoji, which is typically shown in yellow color and
>> doesn't look as if immediate attention is needed.
>>
>> * lisp/emacs-lisp/warnings.el (warnings-suppress): replace stop-sign emoji
>> with a warning emoji.
>> ---
>>  lisp/emacs-lisp/warnings.el | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
>> index 31b840d6c83..3f18ed89808 100644
>> --- a/lisp/emacs-lisp/warnings.el
>> +++ b/lisp/emacs-lisp/warnings.el
>> @@ -204,7 +204,7 @@ warning-suppress-p
>>      some-match))
>>  
>>  (define-icon warnings-suppress button
>> -  `((emoji "⛔")
>> +  `((emoji "⚠️")
>>      ;; Many MS-Windows console fonts don't have good glyphs for U+25A0.
>>      (symbol ,(if (and (eq system-type 'windows-nt)
>>                        (null window-system))
>
> This definitely risks going deep into bikeshedding territory, but in my
> view, the Unicode code point "WARNING SIGN" is clearly the better
> choice, as it directly conveys a warning.
>
> The Unicode code point "NO ENTRY", meanwhile, is just completely
> incomprehensible.  No entry to what?
>
> Can we install this?

Given the purpose of the button (_suppress_ the warning, not merely
report it) & Konstantin's remark¹ about the intuitive connotations of
red, ISTM

(a) adding an 'image' icon presentation using a neutral-colored SVG, or
(b) as Konstantin suggested, ditching pictograms entirely, and replacing
that icon with a regular text button clearly labeled "suppress",

would be preferable to s/⛔/⚠️: I would not expect users to intuit that
they can suppress warnings by interacting with the warning sign.


¹ Filed under bug#60854 after the merge, FTR.




This bug report was last modified 56 days ago.

Previous Next


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