From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: scame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 09:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 47313@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Reply-To: scame Received: via spool by submit@debbugs.gnu.org id=B.161640539420053 (code B ref -1); Mon, 22 Mar 2021 09:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 09:29:54 +0000 Received: from localhost ([127.0.0.1]:56194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOGsk-0005DN-Dd for submit@debbugs.gnu.org; Mon, 22 Mar 2021 05:29:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:53446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOGsi-0005DF-18 for submit@debbugs.gnu.org; Mon, 22 Mar 2021 05:29:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOGsf-0001vw-Lx for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 05:29:50 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:15901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOGsd-000485-B6 for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 05:29:49 -0400 Date: Mon, 22 Mar 2021 09:29:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616405376; bh=qe/MEsuA4l59teu0Hx5IxQdeJ3laGQtbkK3f5FBac8c=; h=Date:To:From:Reply-To:Subject:From; b=yVHESCSjKlx2LUpS7ZYcJRw4NvsliW+VqsFneCaCvL9cc9rPebRC5cKdBVx5a3CKH X3mRFC38IAdYcnE8ysWyuYFs+YP/QdMXkuOfFDYpBelyuLWjF4Eswsq13pM4+CrXfC 3FdwP88UXQyv0eGfDzUP1tYr01ehRvyUcE405FZU= From: scame Message-ID: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_Q9TJHRKxr2V89MT6Zn6AEpAHMwvbQAAbnHnWbs2w28" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.130; envelope-from=laszlomail@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_Q9TJHRKxr2V89MT6Zn6AEpAHMwvbQAAbnHnWbs2w28 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SSB3YW50ZWQgdG8gdXNlIGhpZ2hsaWdodC1yZWdleHAgdG8gY29sb3Igc29tZSBsaW5lcyBncmF5 LCBidXQgdGhlIGNvbW1hbmQKZGlkIG5vdCBhY2NlcHQgdGhlIGNvbG9yLCBpdCBvbmx5IGFjY2Vw dCBmYWNlcywgc28gSSBoYWQgdG8gbG9vayBmb3IgYSBzdWl0YWJsZQpmYWNlLgoKVGhlc2UgaGln aGxpZ2h0LSogY29tbWFuZHMgc2hvdWxkIGFjY2VwdCBjb2xvciBuYW1lcyB0b28gaWYgdGhlIHVz ZXIKd2FudHMgYSBzcGVjaWZpYyBjb2xvciwgbm90IGEgc3BlY2lmaWMgZmFjZSw= --b1_Q9TJHRKxr2V89MT6Zn6AEpAHMwvbQAAbnHnWbs2w28 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdj5JIHdhbnRlZCB0byB1c2UgaGlnaGxpZ2h0LXJlZ2V4cCB0byBjb2xvciBzb21lIGxpbmVz IGdyYXksIGJ1dCB0aGUgY29tbWFuZDxicj48L2Rpdj48ZGl2PmRpZCBub3QgYWNjZXB0IHRoZSBj b2xvciwgaXQgb25seSBhY2NlcHQgZmFjZXMsIHNvIEkgaGFkIHRvIGxvb2sgZm9yIGEgc3VpdGFi bGU8YnI+PC9kaXY+PGRpdj5mYWNlLjxicj48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PlRoZXNl IGhpZ2hsaWdodC0qIGNvbW1hbmRzIHNob3VsZCBhY2NlcHQgY29sb3IgbmFtZXMgdG9vIGlmIHRo ZSB1c2VyPGJyPjwvZGl2PjxkaXY+d2FudHMgYSBzcGVjaWZpYyBjb2xvciwgbm90IGEgc3BlY2lm aWMgZmFjZSw8YnI+PC9kaXY+ --b1_Q9TJHRKxr2V89MT6Zn6AEpAHMwvbQAAbnHnWbs2w28-- From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: scame Cc: 47313@debbugs.gnu.org Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.16164344909203 (code B ref 47313); Mon, 22 Mar 2021 17:35:02 +0000 Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 17:34:50 +0000 Received: from localhost ([127.0.0.1]:58480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOS1-0002OM-UD for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:34:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOS0-0002O7-9A for 47313@debbugs.gnu.org; Mon, 22 Mar 2021 13:34:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35231) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOORu-0001d7-Qk; Mon, 22 Mar 2021 13:34:42 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3009 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOORt-0001LT-57; Mon, 22 Mar 2021 13:34:41 -0400 Date: Mon, 22 Mar 2021 19:34:45 +0200 Message-Id: <83v99j9jnu.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> (bug-gnu-emacs@gnu.org) References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Date: Mon, 22 Mar 2021 09:29:24 +0000 > From: scame via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I wanted to use highlight-regexp to color some lines gray, but the command > did not accept the color, it only accept faces, so I had to look for a suitable > face. > > These highlight-* commands should accept color names too if the user > wants a specific color, not a specific face, Faces are not just colors, they have many additional attributes. I'm not sure it is a good idea to make these commands accept both faces and colors, as this could make the UI confusing and error prone. It may be better to provide new commands, similar to the existing ones, but which will accept only the colors instead of faces. (You could of course define a face which specifies just the color, and use that with highlight-* commands, but that is less user-friendly.) From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: scame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: "47313@debbugs.gnu.org" <47313@debbugs.gnu.org> Reply-To: scame Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.161643509210199 (code B ref 47313); Mon, 22 Mar 2021 17:45:01 +0000 Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 17:44:52 +0000 Received: from localhost ([127.0.0.1]:58506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOObk-0002eQ-3f for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:44:52 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:47052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOObi-0002eC-3c for 47313@debbugs.gnu.org; Mon, 22 Mar 2021 13:44:50 -0400 Date: Mon, 22 Mar 2021 17:44:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616435083; bh=EEgVfBBJFWPgs0qvjTyRVKI5ZMw7Y9T6tlI/GmnIY8I=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=o+qSC64eRICKDHtQFESM/DHIK9kciXLb2zarOA83Uo+1MisO6iZWzbZEtQ+EpZUj+ PKjqI0DuOjFeRhaoL88p7I/Yvlq8mzWezwDW8Hj/xt4maSlkFXPHuUFVHBAxVLn32a 2P48KD4JTpRCype6XTBQ5uzzjT2Th+T1kYZhs64E= From: scame Message-ID: In-Reply-To: <83v99j9jnu.fsf@gnu.org> References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> <83v99j9jnu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > I'm not sure it is a good idea to make these commands accept both > faces and colors, as this could make the UI confusing and error prone. > It may be better to provide new commands, similar to the existing > ones, but which will accept only the colors instead of faces. I thought people only used colors to temporarily highlight certain phrases, etc. If it's not true then you have a point that faces can do more. At least, the face completion prompt should be improved, so that it shows the face's style inline like with list-faces-display.This could solve the color selection problem, because if the face's style is instantly visible then the user can simply choose a face which is similar to the color he wants. From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: scame Cc: 47313@debbugs.gnu.org Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.161643644512431 (code B ref 47313); Mon, 22 Mar 2021 18:08:01 +0000 Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 18:07:25 +0000 Received: from localhost ([127.0.0.1]:58541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOxZ-0003ER-9e for submit@debbugs.gnu.org; Mon, 22 Mar 2021 14:07:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOxX-0003EE-KI for 47313@debbugs.gnu.org; Mon, 22 Mar 2021 14:07:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35918) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOxQ-0007WT-Cj; Mon, 22 Mar 2021 14:07:18 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1367 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOOxJ-0002lG-5V; Mon, 22 Mar 2021 14:07:16 -0400 Date: Mon, 22 Mar 2021 20:07:13 +0200 Message-Id: <83h7l39i5q.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from scame on Mon, 22 Mar 2021 17:44:40 +0000) References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> <83v99j9jnu.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Date: Mon, 22 Mar 2021 17:44:40 +0000 > From: scame > Cc: "47313@debbugs.gnu.org" <47313@debbugs.gnu.org> > > At least, the face completion prompt should be improved, so that it shows > the face's style inline like with list-faces-display.This could solve > the color selection problem, because if the face's style is instantly > visible then the user can simply choose a face which is similar to the > color he wants. We could try that, but I fear that the result of showing many faces in the same buffer one besides the other will look ugly, while displaying them one face per line would make a very long buffer, scrolling through which could be impractical. From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: scame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: "47313@debbugs.gnu.org" <47313@debbugs.gnu.org> Reply-To: scame Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.161643836215494 (code B ref 47313); Mon, 22 Mar 2021 18:40:02 +0000 Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 18:39:22 +0000 Received: from localhost ([127.0.0.1]:58611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPSU-00041q-Fa for submit@debbugs.gnu.org; Mon, 22 Mar 2021 14:39:22 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:56566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPSS-00041Y-I3 for 47313@debbugs.gnu.org; Mon, 22 Mar 2021 14:39:21 -0400 Date: Mon, 22 Mar 2021 18:39:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616438353; bh=k3PEsj+Z1oyBZD/6/vVEWs/jTNdcJLSdCrCp99f6kcI=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=IRehdQlEc0N42y7/ietlj8RHR/4hWDIOZHXiAFqq94i9P5iEY6HuF1wMPo1jkMAmX 5wHFK9SusZfaRXXh5vLDXdZcBqWdGbTQpgS81KGLyXnYEX6zJnrFjyyGuZjfzNNbFi iHUHs1xlu/uCZOcKNXMUaH2j2zRdBWcbMeRn0JAU= From: scame Message-ID: In-Reply-To: <83h7l39i5q.fsf@gnu.org> References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> <83v99j9jnu.fsf@gnu.org> <83h7l39i5q.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > We could try that, but I fear that the result of showing many faces in > the same buffer one besides the other will look ugly, while displaying > them one face per line would make a very long buffer, scrolling > through which could be impractical. It can't be uglier than the completions of read-color which is pretty bad. It's a cacophony of colors and some of them are hard to read: https://i.imgur.com/NtIDihs.png IMO the list-colors-display UI is much better even if it's longer (and if it's a completion list then it's easy to narrow it down): https://www.valenciatech.com/wp-content/uploads/2019/08/gnu-emacs-list-colo= rs-display.png From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: scame Cc: "47313@debbugs.gnu.org" <47313@debbugs.gnu.org>, Eli Zaretskii Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.161643919616847 (code B ref 47313); Mon, 22 Mar 2021 18:54:01 +0000 Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 18:53:16 +0000 Received: from localhost ([127.0.0.1]:58641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPfw-0004Nf-KG for submit@debbugs.gnu.org; Mon, 22 Mar 2021 14:53:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPfu-0004NR-Pc for 47313@debbugs.gnu.org; Mon, 22 Mar 2021 14:53:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/HdAziVNN1jwyDmyOYYYALo5687+PCVM5R0RwN5bX28=; b=NWeMm9dmOU6oelNjtP7GJ9ctap Av/adv0jKVv3GzsGprj83he6PXBWv4a+1fBTFf3YFB2GWi0ZB7SuYFWK7IFiIdtYl3zh3tXOgpLjN umBSJhkEXH0yu8EFFARnIu82cduWlwQmgQJwy29SVDCuFMx2+AOvxxCsXfeSsqV79dIk=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOPfm-0000HA-4A; Mon, 22 Mar 2021 19:53:08 +0100 From: Lars Ingebrigtsen References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> <83v99j9jnu.fsf@gnu.org> X-Now-Playing: Tuxedomoon's _Holy Wars_: "Bonjour Tristesse" Date: Mon, 22 Mar 2021 19:53:04 +0100 In-Reply-To: (scame's message of "Mon, 22 Mar 2021 17:44:40 +0000") Message-ID: <87h7l3hvfz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: scame writes: > I thought people only used colors to temporarily highlight certain phrases, > etc. If it's not true then you have a point that faces can do more. I think it makes sense to continue to use faces here (and not colours) -- people may want underlining or overstrike or whatever. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) scame writes: > I thought people only used colors to temporarily highlight certain phrases, > etc. If it's not true then you have a point that faces can do more. I think it makes sense to continue to use faces here (and not colours) -- people may want underlining or overstrike or whatever. Adding colours in addition to faces would be a confusing interface, I think, so I don't think that would work well. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 14:53:22 2021 Received: (at control) by debbugs.gnu.org; 22 Mar 2021 18:53:22 +0000 Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPg1-0004O0-TP for submit@debbugs.gnu.org; Mon, 22 Mar 2021 14:53:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPg0-0004NX-2r for control@debbugs.gnu.org; Mon, 22 Mar 2021 14:53:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9aoKwX3nMpDycnO5dd2kkQUfaNALi1EXSWIqfLbMDaM=; b=B2R7rRZK7W2C2OIlgRd9qFUI7I H0F5PCmAxHKCr5W4Yomqcml/zJqDC703gBNTf563KPAZLGFKJnBY1fsFjQDPLLIqItYM5ENt0jOPh cDJE4gbx74K275QrVqgC1/Flxl5SHfXDEhpG0xw8s0VLscIRPzSJqwAD2T4jvXMXjbxo=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOPfs-0000HN-C5 for control@debbugs.gnu.org; Mon, 22 Mar 2021 19:53:14 +0100 Date: Mon, 22 Mar 2021 19:53:11 +0100 Message-Id: <87ft0nhvfs.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47313 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 47313 wontfix close 47313 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 47313 wontfix close 47313 quit From unknown Mon Jun 23 18:32:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47313: 27.1; highlight functions should accept colors too Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: scame Cc: 47313@debbugs.gnu.org Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.161643971023633 (code B ref 47313); Mon, 22 Mar 2021 19:02:02 +0000 Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 19:01:50 +0000 Received: from localhost ([127.0.0.1]:58670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPoD-00068r-Sx for submit@debbugs.gnu.org; Mon, 22 Mar 2021 15:01:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPoB-00063n-NL for 47313@debbugs.gnu.org; Mon, 22 Mar 2021 15:01:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37063) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOPo6-0005kM-7K; Mon, 22 Mar 2021 15:01:42 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4717 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOPo4-0007qd-NH; Mon, 22 Mar 2021 15:01:41 -0400 Date: Mon, 22 Mar 2021 21:01:45 +0200 Message-Id: <8335wn9fmu.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from scame on Mon, 22 Mar 2021 18:39:11 +0000) References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> <83v99j9jnu.fsf@gnu.org> <83h7l39i5q.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Date: Mon, 22 Mar 2021 18:39:11 +0000 > From: scame > Cc: "47313@debbugs.gnu.org" <47313@debbugs.gnu.org> > > > We could try that, but I fear that the result of showing many faces in > > the same buffer one besides the other will look ugly, while displaying > > them one face per line would make a very long buffer, scrolling > > through which could be impractical. > > It can't be uglier than the completions of read-color which is pretty bad. I think it can. But again, you are welcome to try that, perhaps I'm wrong. > It's a cacophony of colors and some of them are hard to read: > > https://i.imgur.com/NtIDihs.png I don't see any cacophony, and have no difficulty reading the names. Besides, when you see the color itself, why does it matter how it is named? > > IMO the list-colors-display UI is much better even if it's longer (and if > it's a completion list then it's easy to narrow it down): > > https://www.valenciatech.com/wp-content/uploads/2019/08/gnu-emacs-list-colors-display.png FWIW, I'd be annoyed by the length of this long before I found the color I was after. But that's me.