From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#61413: [PATCH] Make warnings show a "warning" emoji instead of a stop-sign Date: Sat, 11 Feb 2023 11:45:59 +0300 Message-ID: <20230211084559.516124-1-Hi-Angel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28357"; mail-complaints-to="usenet@ciao.gmane.io" To: 61413@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 11 09:47:16 2023 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 1pQlXP-00078N-QU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Feb 2023 09:47:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQlXE-00025s-Mx; Sat, 11 Feb 2023 03:47:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQlXD-00025j-5D for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 03:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQlXC-0000Yk-On for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 03:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQlXC-0001h2-Fh for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 03:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Feb 2023 08:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16761051946467 (code B ref -1); Sat, 11 Feb 2023 08:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Feb 2023 08:46:34 +0000 Original-Received: from localhost ([127.0.0.1]:38620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQlWk-0001gF-CE for submit@debbugs.gnu.org; Sat, 11 Feb 2023 03:46:34 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:45340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQlWf-0001g4-Py for submit@debbugs.gnu.org; Sat, 11 Feb 2023 03:46:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQlWd-0001c6-P3 for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 03:46:29 -0500 Original-Received: from forward107o.mail.yandex.net ([2a02:6b8:0:1a2d::205]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQlWX-0000NM-Tf for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 03:46:26 -0500 Original-Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward107o.mail.yandex.net (Yandex) with ESMTP id 07BDD6AF9BAF for ; Sat, 11 Feb 2023 11:46:16 +0300 (MSK) Original-Received: from vla3-178a3f795968.qloud-c.yandex.net (vla3-178a3f795968.qloud-c.yandex.net [IPv6:2a02:6b8:c15:2584:0:640:178a:3f79]) by forward102q.mail.yandex.net (Yandex) with ESMTP id 03BDEBF00002 for ; Sat, 11 Feb 2023 11:46:16 +0300 (MSK) Original-Received: by vla3-178a3f795968.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 7kbVIuIZg8c1-iO48YmyH; Sat, 11 Feb 2023 11:46:15 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1676105175; bh=6JADneGncjqUsPjryOVj1A8SAiAtBFsVltiffVFFqIE=; h=Message-Id:Date:Subject:To:From; b=ft+4Xz2dIzVwnQHJVXBxrLTpcpuDg0Gpya8/KiONQ50zsl4LfB4PKTVXoluwq0I9X CRqQQhKWAVSB1r+rAigZwFsgaC7Z8IUT6HkM6cvkak2GSCqvA+phR8jWAk2IEwxik7 OAsRREzGUgHQyqmQMCavsJkf6+UGx5sCpu+gnauo= Authentication-Results: vla3-178a3f795968.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru X-Mailer: git-send-email 2.39.0 Received-SPF: pass client-ip=2a02:6b8:0:1a2d::205; envelope-from=Hi-Angel@yandex.ru; helo=forward107o.mail.yandex.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255319 Archived-At: 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)) -- 2.39.0