From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Need for colorful completing read Date: Tue, 6 Sep 2022 00:07:45 +0300 Message-ID: References: <87k06hy27y.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: Help GNU Emacs To: Lars Ingebrigtsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 06 06:06:23 2022 Return-path: Envelope-to: geh-help-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 1oVPqx-00082o-JY for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 06:06:23 +0200 Original-Received: from localhost ([::1]:36516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVPqv-0001r5-UH for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 00:06:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVPpx-0001qv-EI for help-gnu-emacs@gnu.org; Tue, 06 Sep 2022 00:05:21 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:47063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVPpu-00038g-Oo for help-gnu-emacs@gnu.org; Tue, 06 Sep 2022 00:05:21 -0400 Original-Received: from localhost ([::ffff:197.239.4.20]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B09.000000006316C6DA.00005C3B; Mon, 05 Sep 2022 21:04:42 -0700 Mail-Followup-To: Lars Ingebrigtsen , Help GNU Emacs Content-Disposition: inline In-Reply-To: <87k06hy27y.fsf@gnus.org> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139270 Archived-At: * Lars Ingebrigtsen [2022-09-05 23:51]: > Jean Louis writes: > > > 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? > > `read-color' Thanks, that is great. I am inspecting it. There are 754 completion possibilities. Do you think this number is changeable over few years? I am asking as I think I should rather put the list of colors into the database so that a column references other table of these colors. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/