From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#60854: Adjust icons shown with warnings Date: Mon, 16 Jan 2023 11:30:10 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60854@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= , Pedro Andres Aranda Gutierrez Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 16 20:31:24 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 1pHVCV-000AV9-II for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Jan 2023 20:31:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHVCJ-0005cy-OP; Mon, 16 Jan 2023 14:31:11 -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 1pHVCA-0005az-O2 for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2023 14:31: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 1pHVC9-000164-V9 for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2023 14:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHVC9-0007bd-Mx for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2023 14:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jan 2023 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60854 X-GNU-PR-Package: emacs Original-Received: via spool by 60854-submit@debbugs.gnu.org id=B60854.167389742329193 (code B ref 60854); Mon, 16 Jan 2023 19:31:01 +0000 Original-Received: (at 60854) by debbugs.gnu.org; 16 Jan 2023 19:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:34902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHVBX-0007an-BS for submit@debbugs.gnu.org; Mon, 16 Jan 2023 14:30:23 -0500 Original-Received: from mail-pl1-f180.google.com ([209.85.214.180]:39765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHVBT-0007aV-6v for 60854@debbugs.gnu.org; Mon, 16 Jan 2023 14:30:22 -0500 Original-Received: by mail-pl1-f180.google.com with SMTP id z13so3468344plg.6 for <60854@debbugs.gnu.org>; Mon, 16 Jan 2023 11:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=0CAX0beJFiNohfOGKcRAwAc1WYaqjNvSvB4+5D2trLU=; b=QQyqnned4lhh2jx8yck0WRRZ2nt/gZk3SGItOkVaa+n/KSJVc/Td3wu1DCnTRdhAaw 0gpMwff80MdSJDJ/va91OHSxMhBYAseSsvlQppoUEwHBkvPBRUUcBDVHH5tUq57QqaTi bKTQGCIDK9LoGKOn10/IQyRfzqFXSyWlwZtjQ0zU+lX6D0aihZR31Pvt3hAAWajXgl9n 2miRZivER2/ACadRY66CzjA1MSQxxTxbtkkSs03HNZsYdSuSeU2XNJMufqrh6GgjOSMZ kDDrZf3wv5S8/YzZjQodum39/m3sdFyyFAdaJggd0V7IFcZcBXkky+O+GNjCnJeZXRr6 5E3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0CAX0beJFiNohfOGKcRAwAc1WYaqjNvSvB4+5D2trLU=; b=YsGp9WOC57T1BAUqpVBZIOo+k538eOzACsj+rtqIOjU8u75CjNIFrzo6bIi3Np98Uu TH3xPZrkbGZVcMSERgmEOrv2QgsqHtybT4nF9E3v4OfPvbFDeDvgiZhiZuPzOJRCNiuM Z732hQvvAa9as+W65m32hk7j9ZzwwAOWl83nEe7l6KkRL6NJTmOyqKhMdsC+PjPmZj4E 3aEgiBN18qh4q82shmomyfcmP7Y98uT61BkIOadDjWO4w6g62eSVJlhGkS5AoN4PTYu2 z3VKsZfgSUsUqdE94GFUVtXqjZ925B/X9SaAEURVTZUoliQKt2nt/8qscgnGKO9MUTNX g5sQ== X-Gm-Message-State: AFqh2kpC3mWSk3QQ3Pk+w2RzjL39NN+BNH7BHrVh1z3poMeUmwrFTxOn PINB7y8+f6Ar9t22ik483tc= X-Google-Smtp-Source: AMrXdXv7oHJorOObztVYX+sHJr4OKtlmr3q/p2K3NnnX0Y/fiFspcxAf8mcZrAqswdHOeeJ8151cyg== X-Received: by 2002:a17:902:f786:b0:192:c426:d83f with SMTP id q6-20020a170902f78600b00192c426d83fmr912790pln.64.1673897413110; Mon, 16 Jan 2023 11:30:13 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id f5-20020a170902684500b0019488a36e2asm3594058pln.277.2023.01.16.11.30.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Jan 2023 11:30:12 -0800 (PST) Content-Language: en-US In-Reply-To: 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:253516 Archived-At: On 1/16/2023 1:58 AM, Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Pedro Andres Aranda Gutierrez writes: > >> Currently, warnings are visually "enhanced" with a ⛔ sign. >> However, the warning signs are ⚠️ or its slightly different European >> version. > > I had the same question as you, but it turns out that the ⛔ icon is not > intended to represent a warning, it is a button that you can click to > *suppress* that warning type. I think the confusion is that the literal meaning of the ⛔ icon is "No Entry", so it's very easy to read it as, "Stop! Don't go this way because there's a problem ahead." Perhaps a bit better would be 🚫, whose official name is apparently "No Entry Sign", even though the slashed circle visual usually just means "No ____", e.g. "No Smoking". Hence, some sources call it the Prohibited emoji. Another way to handle the UI (which I see more often, and personally prefer) is that the button is a toggle, and its icon indicates the current state. This would require adding a bit of code so that clicking the button again *un*suppresses the warning, but then you could use something like ⚠️ to indicate that the warning is currently enabled (and clicking it will suppress it), and maybe ⚪ or ⚬ to indicate that the warning is currently suppressed (and clicking it will reenable it). Or maybe ❗ and ❕, respectively? We could also add actual images for this icon if none of these are quite right, and use the emoji as a fallback.