From: Akib Azmain Turja <akib@disroot.org>
To: Jean Louis <bugs@gnu.support>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Need for colorful completing read
Date: Tue, 06 Sep 2022 11:05:32 +0600 [thread overview]
Message-ID: <87sfl5w0rn.fsf@disroot.org> (raw)
In-Reply-To: <courier.00000000631660BB.00003308@stw1.rcdrun.com> (Jean Louis's message of "Mon, 05 Sep 2022 23:48:32 +0300")
[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]
Jean Louis <bugs@gnu.support> writes:
> Hello,
>
> I would like to make a function similar to `completing-read' for the
> choice of colors as shown by {M-x list-colors-display RET} so that I
> can choose or select a color and that I can see the color while
> selecting it.
>
> Is that possible or maybe already exists somewhere?
It should be possible. Marginalia shows faces (on *Completion* buffer,
or Vertico, or Selectrum) when you call describe-face. So, you should
also be able to show the colors by show spaces with both background set
to the color you want to show. May be you can use Marginalia to do
this. See Marginalia README, C-h P marginalia RET (make sure you loaded
the package list with M-x package-show-package-list).
>
>
> Jean
>
> Take action in Free Software Foundation campaigns:
> https://www.fsf.org/campaigns
>
> In support of Richard M. Stallman
> https://stallmansupport.org/
>
--
Akib Azmain Turja
Find me on Mastodon at @akib@hostux.social.
This message is signed by me with my GnuPG key. Its fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2022-09-06 5:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-05 20:48 Need for colorful completing read Jean Louis
2022-09-05 20:51 ` Lars Ingebrigtsen
2022-09-05 21:07 ` Jean Louis
2022-09-06 4:11 ` Emanuel Berg
2022-09-06 10:02 ` Lars Ingebrigtsen
2022-09-06 10:20 ` Jean Louis
2022-09-06 5:06 ` Akib Azmain Turja
2022-09-06 8:59 ` Philip Kaludercic
2022-09-06 10:03 ` Lars Ingebrigtsen
2022-09-06 10:11 ` Philip Kaludercic
2022-09-06 10:27 ` Lars Ingebrigtsen
2022-09-06 16:50 ` Yuri Khan
2022-09-06 17:38 ` Philip Kaludercic
2022-09-06 5:05 ` Akib Azmain Turja [this message]
2022-09-11 6:26 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfl5w0rn.fsf@disroot.org \
--to=akib@disroot.org \
--cc=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).