From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: scame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47313: 27.1; highlight functions should accept colors too Date: Mon, 22 Mar 2021 17:44:40 +0000 Message-ID: References: <9Z87HwaBASS5vyB3il_aT_xphTn0UzaFsdlKvuDcPwWwUIUcwhJJj2Kv1tLFasLle8mPX2Rgo9KQ3Xo4KwsK6WqkGG5wRNKGwyXGiwPrg9M=@protonmail.com> <83v99j9jnu.fsf@gnu.org> Reply-To: scame Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38528"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "47313@debbugs.gnu.org" <47313@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 22 18:45:29 2021 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 1lOOcL-0009ub-AF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 18:45:29 +0100 Original-Received: from localhost ([::1]:34940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOcK-00006o-BC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 13:45:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOObu-00005K-3m for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOObt-00069y-R8 for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOObt-0002f2-Pj for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:45:01 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 47313-submit@debbugs.gnu.org id=B47313.161643509210199 (code B ref 47313); Mon, 22 Mar 2021 17:45:01 +0000 Original-Received: (at 47313) by debbugs.gnu.org; 22 Mar 2021 17:44:52 +0000 Original-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 Original-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 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= In-Reply-To: <83v99j9jnu.fsf@gnu.org> 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" X-ACL-Warn: , scame Xref: news.gmane.io gmane.emacs.bugs:202850 Archived-At: > > 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.