Subject: bug#47316: 27.1; commands with color input should use a common color chooser

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 22 Mar 2021 19:49:57 +0100

scame <[email-masked]> 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