From unknown Tue Jun 24 17:26:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47316 <47316@debbugs.gnu.org> To: bug#47316 <47316@debbugs.gnu.org> Subject: Status: 27.1; commands with color input should use a common color chooser Reply-To: bug#47316 <47316@debbugs.gnu.org> Date: Wed, 25 Jun 2025 00:26:03 +0000 retitle 47316 27.1; commands with color input should use a common color ch= ooser reassign 47316 emacs submitter 47316 scame severity 47316 normal tag 47316 fixed moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 07:01:29 2021 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 11:01:29 +0000 Received: from localhost ([127.0.0.1]:56296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOIJM-0000CD-Md for submit@debbugs.gnu.org; Mon, 22 Mar 2021 07:01:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:42416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOIJK-0000C5-Pw for submit@debbugs.gnu.org; Mon, 22 Mar 2021 07:01:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOIJK-0001gn-7R for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 07:01:26 -0400 Received: from mail-40135.protonmail.ch ([185.70.40.135]:33385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOIJH-0008QY-Cd for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 07:01:25 -0400 Date: Mon, 22 Mar 2021 11:01:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616410880; bh=W4lkQlQFS4kUMWdNX8XcC/Xlu0PODMThgkLSO5/Axd4=; h=Date:To:From:Reply-To:Subject:From; b=VR8lU8zo1VBumJvOHdwYVhgHsBf93eUnDk2MXiZGCAdSX/BIL+ZmrP/4gh/Uym799 lOK/s4Bz7tNqtRzQAdkA7ZbXPhpGd2eCxoLbng0bKE1U/3wq1w9MOyUBQmwtCKK8lb U6ECOcif4xoMb2iZgJWxXgYwIs49FDBisP+mWY2c= To: "bug-gnu-emacs@gnu.org" From: scame Subject: 27.1; commands with color input should use a common color chooser Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_T6HWCeMWYDMuXb9d3c0M63zsLy3xRGKJHIYwFtbSM" 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.135; envelope-from=laszlomail@protonmail.com; helo=mail-40135.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-Debbugs-Envelope-To: submit 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: , Reply-To: scame 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_T6HWCeMWYDMuXb9d3c0M63zsLy3xRGKJHIYwFtbSM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 c2V0LWZvcmVncm91bmQtY29sb3IgdXNlcyBhIGNvbG9yIGNob29zZXI6IHJlYWQtY29sb3IuCgpj dXN0b21pemUtZmFjZSB1c2VzIHNvbWV0aGluZyBlbHNlIHdoaWNoIGxvb2tzIG1vcmUgcmVhZGFi bGUgSU1PLCB0aG91Z2gKdGhlIHVzZWZ1bG5lc3Mgb2YgdGhlIHVuZGVybGluZSBpcyBkZWJhdGFi bGU6CgpodHRwczovL25lY3JvbXVyYWxpc3QuZ2l0aHViLmlvL3Bvc3RzL2NoYW5naW5nLWVtYWNz LWZvbnQtY29sb3JzL2NvbG9yX3NlbGVjdG9yLnBuZwoKT3RoZXIgY29tbWFuZHMgbGlrZSBzZXQt ZmFjZS1mb3JlZ3JvdW5kLCBoaWdobGlnaHQtcmVnZXhwIGFuZCBvdGhlcnMgc2hvdyBvbmx5CmNv bG9yIG5hbWVzLCBidXQgbm90IHRoZSBjb2xvcnMgdGhlbXNlbHZlcy4KCkFsbCBjb2xvciBpbnB1 dCBjb21tYW5kcyBzaG91bGQgdXNlIGEgY29tbW9uIGNvbG9yIHNlbGVjdG9yIHdoaWNoIHNob3dz IHRoZQphY3R1YWwgY29sb3JzIHRvby4= --b1_T6HWCeMWYDMuXb9d3c0M63zsLy3xRGKJHIYwFtbSM Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdj5zZXQtZm9yZWdyb3VuZC1jb2xvciB1c2VzIGEgY29sb3IgY2hvb3NlcjogcmVhZC1jb2xv ci48YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj4gY3VzdG9taXplLWZhY2UgdXNlcyBzb21l dGhpbmcgZWxzZSZuYnNwO3doaWNoIGxvb2tzIG1vcmUgcmVhZGFibGUgSU1PLCB0aG91Z2g8YnI+ PC9kaXY+PGRpdj50aGUgdXNlZnVsbmVzcyBvZiB0aGUgdW5kZXJsaW5lIGlzIGRlYmF0YWJsZTo8 YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj48YSBocmVmPSJodHRwczovL25lY3JvbXVyYWxp c3QuZ2l0aHViLmlvL3Bvc3RzL2NoYW5naW5nLWVtYWNzLWZvbnQtY29sb3JzL2NvbG9yX3NlbGVj dG9yLnBuZyI+aHR0cHM6Ly9uZWNyb211cmFsaXN0LmdpdGh1Yi5pby9wb3N0cy9jaGFuZ2luZy1l bWFjcy1mb250LWNvbG9ycy9jb2xvcl9zZWxlY3Rvci5wbmc8L2E+PGJyPjwvZGl2PjxkaXY+PGJy PjwvZGl2PjxkaXY+T3RoZXIgY29tbWFuZHMgbGlrZSBzZXQtZmFjZS1mb3JlZ3JvdW5kLCBoaWdo bGlnaHQtcmVnZXhwIGFuZCBvdGhlcnMgc2hvdyBvbmx5PGJyPjwvZGl2PjxkaXY+Y29sb3IgbmFt ZXMsIGJ1dCBub3QgdGhlIGNvbG9ycyB0aGVtc2VsdmVzLjxicj48L2Rpdj48ZGl2Pjxicj48L2Rp dj48ZGl2PkFsbCBjb2xvciBpbnB1dCBjb21tYW5kcyBzaG91bGQgdXNlIGEgY29tbW9uIGNvbG9y IHNlbGVjdG9yIHdoaWNoIHNob3dzIHRoZSA8YnI+PC9kaXY+PGRpdj5hY3R1YWwgY29sb3JzJm5i c3A7IHRvby48YnI+PC9kaXY+ --b1_T6HWCeMWYDMuXb9d3c0M63zsLy3xRGKJHIYwFtbSM-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 07:34:14 2021 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 11:34:14 +0000 Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOIp3-00038i-SN for submit@debbugs.gnu.org; Mon, 22 Mar 2021 07:34:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:34964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOIot-00038F-JW for submit@debbugs.gnu.org; Mon, 22 Mar 2021 07:34:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOIos-0006P0-DU for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 07:34:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55031) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOIos-0002Qf-6S; Mon, 22 Mar 2021 07:34:02 -0400 Received: from [2a02:14f:0:e4d9::1] (port=60584) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1lOIoq-0003Kj-I3; Mon, 22 Mar 2021 07:34:01 -0400 Date: Mon, 22 Mar 2021 13:33:57 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#47316: 27.1; commands with color input should use a common color chooser To: scame , "scame via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 47316@debbugs.gnu.org From: Eli Zaretskii Message-ID: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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: -3.3 (---) On March 22, 2021 1:01:13 PM GMT+02:00, "scame via Bug reports for GNU Emac= s, the Swiss army knife of text editors" wrote: > set-foreground-color uses a color chooser: read-color=2E >=20 > customize-face uses something else which looks more readable IMO, > though > the usefulness of the underline is debatable: >=20 > https://necromuralist=2Egithub=2Eio/posts/changing-emacs-font-colors/col= or_selector=2Epng >=20 > Other commands like set-face-foreground, highlight-regexp and others > show only > color names, but not the colors themselves=2E >=20 > All color input commands should use a common color selector which > shows the > actual colors too=2E read-color will show you the colors from which you can select if you type = '?', the standard Emacs command that requests the list of possible candidat= e values=2E From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 08:12:13 2021 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 12:12:13 +0000 Received: from localhost ([127.0.0.1]:56394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOJPp-0004CH-CY for submit@debbugs.gnu.org; Mon, 22 Mar 2021 08:12:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:48276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOJPn-0004CA-Lf for submit@debbugs.gnu.org; Mon, 22 Mar 2021 08:12:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOJPm-0000H0-MO for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 08:12:11 -0400 Received: from mail-40135.protonmail.ch ([185.70.40.135]:10954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOJPi-0007Kd-NC for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 08:12:09 -0400 Date: Mon, 22 Mar 2021 12:11:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616415122; bh=AzQdvBxnffRg6573ZKtNzVrQuJQU31Ywf/CFG/Tux6s=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=FnMaHKexQxTbeRTkKHBb/yi6wjHnkY09uFT/qVdLsDvUh4nG/FQsN1ibFxhplhpdj 63W4ZK3MIdGWD70ZNfyUdrqpeRSSyanyKI+lLw26ZEX4fauKSXC94AdK/gu2rxJyFI ZkRfrRHvhOIliicKneyk7niqWs7AHX6KR1U6aCnQ= To: Eli Zaretskii From: scame Subject: Re: bug#47316: 27.1; commands with color input should use a common color chooser Message-ID: In-Reply-To: References: 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 Received-SPF: pass client-ip=185.70.40.135; envelope-from=laszlomail@protonmail.com; helo=mail-40135.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, 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: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "scame via Bug reports for GNU Emacs, the Swiss army knife of text editors" , "47316@debbugs.gnu.org" <47316@debbugs.gnu.org> 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: , Reply-To: scame Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > read-color will show you the colors from which you can select if you type= '?', the standard Emacs command that requests the list of possible candida= te values. Yes, I mentioned it in my mail: > > set-foreground-color uses a color chooser: read-color. But customize use a different implementation, not read-color (at least on 2= 7) and other commands do not use read-color at all, despite getting color inpu= t, they just list the color names without coloring them. Other commands which read a face, not a color, show just face names for completion. Showing face colors and other attributes inline (like in case of list-faces-display) could be a nice improvement. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 13:42:11 2021 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 17:42:11 +0000 Received: from localhost ([127.0.0.1]:58489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOZ8-0002Zt-Uf for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:42:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:58342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOZ4-0002Zi-2f for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:42:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOOZ3-0005gx-Qf for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:42:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35341) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOZ3-0004ja-Ig; Mon, 22 Mar 2021 13:42:05 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3463 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOOZ1-0004uc-Uf; Mon, 22 Mar 2021 13:42:04 -0400 Date: Mon, 22 Mar 2021 19:42:09 +0200 Message-Id: <83r1k79jbi.fsf@gnu.org> From: Eli Zaretskii To: scame In-Reply-To: (message from scame on Mon, 22 Mar 2021 12:11:56 +0000) Subject: Re: bug#47316: 27.1; commands with color input should use a common color chooser References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, 47316@debbugs.gnu.org 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: -3.3 (---) > Date: Mon, 22 Mar 2021 12:11:56 +0000 > From: scame > Cc: "scame via Bug reports for GNU Emacs, the Swiss army knife of text editors" , "47316@debbugs.gnu.org" <47316@debbugs.gnu.org> > > > read-color will show you the colors from which you can select if you type '?', the standard Emacs command that requests the list of possible candidate values. > > Yes, I mentioned it in my mail: > > > > set-foreground-color uses a color chooser: read-color. The way it was written, together with the rest of the message, could cause people to interpret that as if read-color didn't display the colors. My intent was to point out that it does. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 14:50:22 2021 Received: (at 47316) by debbugs.gnu.org; 22 Mar 2021 18:50:22 +0000 Received: from localhost ([127.0.0.1]:58632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPd7-0004In-Rb for submit@debbugs.gnu.org; Mon, 22 Mar 2021 14:50:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPd4-0004IR-1w for 47316@debbugs.gnu.org; Mon, 22 Mar 2021 14:50:20 -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=xUFW/fzj9l+8oc17+ZtsO2ReVOMhm6d5HMLBnEy4FJc=; b=HLLBzLye9DoD24CTTyCmkXb+P4 6qWoHWzF6zXbSRCd13H5hGnFp448jgAm0hLu1KfFYth+zXu3FzZWekSOVP2ZLuZgJKpI3gsICfBoB HRDJ5p44DjXB7AdaP4Zwbum2MZnEuOUQC/7/jVKV/8KXHEqxJ4OXIoyeS0bWkG4BjCcM=; 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 1lOPcl-0000D4-1K; Mon, 22 Mar 2021 19:50:11 +0100 From: Lars Ingebrigtsen To: scame Subject: Re: bug#47316: 27.1; commands with color input should use a common color chooser References: X-Now-Playing: Tuxedomoon's _Holy Wars_: "St. John" Date: Mon, 22 Mar 2021 19:49:57 +0100 In-Reply-To: (scame's message of "Mon, 22 Mar 2021 11:01:13 +0000") Message-ID: <87mtuvhvl6.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: > set-foreground-color uses a color chooser: read-color. > > customize-face uses something else which looks more readable IMO, though > the usefulness of the underline is debatable: > > https://necrom [...] 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: 47316 Cc: 47316@debbugs.gnu.org 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: > set-foreground-color uses a color chooser: read-color. > > customize-face uses something else which looks more readable IMO, though > the usefulness of the underline is debatable: > > https://necromuralist.github.io/posts/changing-emacs-font-colors/color_selector.png I think the Customize face interface probably should remain separate... > Other commands like set-face-foreground, highlight-regexp and others show only > color names, but not the colors themselves. > > All color input commands should use a common color selector which shows the > actual colors too. I've now fixed set-face-*, but highlight-regexp does not prompt for a colour name -- it prompts for a face, so it can't use read-color. Are there any other commands that prompts for colours that doesn't use read-color? -- (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:50:25 2021 Received: (at control) by debbugs.gnu.org; 22 Mar 2021 18:50:25 +0000 Received: from localhost ([127.0.0.1]:58635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPdB-0004J2-4V for submit@debbugs.gnu.org; Mon, 22 Mar 2021 14:50:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOPd8-0004Ib-HK for control@debbugs.gnu.org; Mon, 22 Mar 2021 14:50:22 -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=kXr3qHrHG79AN+Eui/WONY2+lDq6iG/TXHMA0rYkseI=; b=ksbo4f+UbzrJizoeTphPNadRc1 AZ/v9uvzOi83JhM3lX+i9zBGFhluBw315pnZEbgMVYx9sSXGuPjdXAW7+PIRbki0nogT3bcQvH7yG uCuHqv/CiKyDzO2wNDvtib6eEsiXIctwHHovfoSSPQqVBV2DOci5Rkjyp+rSJoRh301Y=; 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 1lOPd0-0000DT-QC for control@debbugs.gnu.org; Mon, 22 Mar 2021 19:50:16 +0100 Date: Mon, 22 Mar 2021 19:50:13 +0100 Message-Id: <87lfafhvkq.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47316 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 47316 + moreinfo 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 47316 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 15:58:16 2021 Received: (at 47316) by debbugs.gnu.org; 22 Mar 2021 19:58:16 +0000 Received: from localhost ([127.0.0.1]:58740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQgq-00086V-4a for submit@debbugs.gnu.org; Mon, 22 Mar 2021 15:58:16 -0400 Received: from mail4.protonmail.ch ([185.70.40.27]:12496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQgn-00086F-DJ for 47316@debbugs.gnu.org; Mon, 22 Mar 2021 15:58:14 -0400 Date: Mon, 22 Mar 2021 19:57:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616443086; bh=+Rsv6qWv8ROjTkS++I0EHrrbrYE8oTAFtakr70MheMk=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=O5S/0t+OEJhkWItMSMhzWpO32cWXjMSQHiFDIwhjXMthew78DPeQxEZ4GOkKopSwP I2yRoN96KiUr7LpBd7xqn12PkooacbJHdp0ZMsbY9AKno5zWwu61H7yTIcazX3IEjm t9DtjnI5BxOGp7eDPggaCm7kRVxM0OEBnC7aEAQ8= To: Lars Ingebrigtsen From: scame Subject: Re: bug#47316: 27.1; commands with color input should use a common color chooser Message-ID: In-Reply-To: <87mtuvhvl6.fsf@gnus.org> References: <87mtuvhvl6.fsf@gnus.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.7 (/) X-Debbugs-Envelope-To: 47316 Cc: "47316@debbugs.gnu.org" <47316@debbugs.gnu.org> 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: , Reply-To: scame Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > > I've now fixed set-face-*, but highlight-regexp does not prompt for a > colour name -- it prompts for a face, so it can't use read-color. > > Are there any other commands that prompts for colours that doesn't use > read-color? I encountered this problem with the set-face- commands only. Other color commands seem to use read-color. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 16:02:10 2021 Received: (at 47316) by debbugs.gnu.org; 22 Mar 2021 20:02:10 +0000 Received: from localhost ([127.0.0.1]:58763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQkc-0008Ex-Ay for submit@debbugs.gnu.org; Mon, 22 Mar 2021 16:02:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQka-0008EU-EF for 47316@debbugs.gnu.org; Mon, 22 Mar 2021 16:02:09 -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=YA7D3ot3FB65oC+t7AnD8g1N0D1WJNbWh4klpVs/HFI=; b=c8QUGvSwyzJERZ46Ml5ssFW7zA cCtzW9gLcBSO8Y+bFnENNq4ypYD+J9/v0P2X3V3PYFNAQVbG0bF1NnxAUPNYXy/SrVTKoo1Fe6UUD BYB5+Qxb+peYZ9dw2QUP/T8m1sIOeUwRYqmGUrYSwtTDn2L2QgvMbY00gPURKKJNU40s=; 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 1lOQkJ-0001i1-Aa; Mon, 22 Mar 2021 21:02:01 +0100 From: Lars Ingebrigtsen To: scame Subject: Re: bug#47316: 27.1; commands with color input should use a common color chooser References: <87mtuvhvl6.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUCAQIcFiFGNUGx hnv///8kfBkOAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UDFhMZLA83itAAAAGrSURBVDjLjVMLjsQg CAV7AZALKFzAyv3vtmBnpp/ZTZakNfJ7PECAJQgESPFHBiaOG1TtRVWrctean3ZVbuHceqmtV1BK h4br7JGkhVNE1HBMf+U4S0YQUmRmDowEC6wDthL8LtiB94eOCXpkgvg/nKE4UAn87zwTDsD/Cf6l 1V8NXlpm/jKaL9byYMBhkAwo+DTInHmA3A2FxFftQfAiBN5kMWvyaIaD9MDWtiIu/cVtGsG2i887 USyDobq6X8uVdB5UA55wXJDZWSb1w/ksFxUmyl7bKrTOj2ELRbNYj1RVryfC7NLNaU3NhpyF7s2q elsR1uxsax+utL0M0bEXO7Wpn+K35MFH93bbNx8vutXszaNMG9o+lc9zgCT7W9+L3AabF8wV3IsT PCTmrYDu7aLjXLuYt1X3ewRlCRAD8dlvakK1zhb+952SeG6uYZh6n7eWod5jr/YF8O4u5g5GhM0F jHKuT8w/8x+92OxMF6MI/RFQ7VIAenGXRY3TA/IlMxPaytTjGqcqHQas3v1gHHGTLgDePOe6CI5L RUtiY6Msnw+1N/RlOBL9ANSoPGHnxH7sAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAzLTIyVDE5 OjI1OjQ0KzAwOjAwP6SCzQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMy0yMlQxOToyNTo0NCsw MDowME75OnEAAAAASUVORK5CYII= X-Now-Playing: Tuxedomoon's _Suite En Sous-Sol-Time To Lose-Short Stories_: "Music #2" Date: Mon, 22 Mar 2021 21:01:49 +0100 In-Reply-To: (scame's message of "Mon, 22 Mar 2021 19:57:59 +0000") Message-ID: <874kh3gdoy.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've now fixed set-face-*, but highlight-regexp does not prompt for a >> colour name -- it prompts for a face, so it can't use read-color. >> >> Are there any other commands that prompts for colour [...] 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: 47316 Cc: "47316@debbugs.gnu.org" <47316@debbugs.gnu.org> 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've now fixed set-face-*, but highlight-regexp does not prompt for a >> colour name -- it prompts for a face, so it can't use read-color. >> >> Are there any other commands that prompts for colours that doesn't use >> read-color? > > I encountered this problem with the set-face- commands only. Other color > commands seem to use read-color. OK; thanks for checking. I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 16:02:20 2021 Received: (at control) by debbugs.gnu.org; 22 Mar 2021 20:02:20 +0000 Received: from localhost ([127.0.0.1]:58770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQkl-0008Fo-RX for submit@debbugs.gnu.org; Mon, 22 Mar 2021 16:02:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOQkk-0008F6-8h for control@debbugs.gnu.org; Mon, 22 Mar 2021 16:02:18 -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=oFtVRXfOQuHh3BdVP80yjoj8oMWa5lheuLROQB+WD8c=; b=gReAcdkhSY0y5+aw+xQfvSr2iE vRaTlnxW+OA5eRlEqMO4Q4L8/eoH0sRQRW5ySQ7TWTxQ3jWNtGadCh4Ya4PiNbHuNKQ0QAj8N8vwR A1RAZJsYvfax83KkoDD/XjtT7sF3zQuF6tbiUZND2HaI6m0xnXPxeuv4sTSsP0nQ3cOA=; 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 1lOQkc-0001iF-It for control@debbugs.gnu.org; Mon, 22 Mar 2021 21:02:12 +0100 Date: Mon, 22 Mar 2021 21:02:09 +0100 Message-Id: <8735wngdoe.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47316 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 47316 fixed close 47316 28.1 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 47316 fixed close 47316 28.1 quit From unknown Tue Jun 24 17:26:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Apr 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator