From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#53255: highlight-regexp should show faces with their properties applied when selecting a face Date: Sat, 15 Jan 2022 21:14:37 +0200 Organization: LINKOV.NET Message-ID: <864k6424ma.fsf@mail.linkov.net> References: <87y23hl729.fsf@gnus.org> <87zgnxnwkf.fsf@gmail.com> <877db1wboq.fsf@gnus.org> <87v8ylnsc1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7636"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: ndame , Lars Ingebrigtsen , 53255@debbugs.gnu.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 20:17:14 2022 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 1n8oY5-0001qM-Ti for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 20:17:13 +0100 Original-Received: from localhost ([::1]:41300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8oY3-00071K-U1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 14:17:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8oXu-00070U-Ph for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 14:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8oXu-0000w3-GP for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 14:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8oXu-000591-Dq for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 14:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53255 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 53255-submit@debbugs.gnu.org id=B53255.164227417519702 (code B ref 53255); Sat, 15 Jan 2022 19:17:02 +0000 Original-Received: (at 53255) by debbugs.gnu.org; 15 Jan 2022 19:16:15 +0000 Original-Received: from localhost ([127.0.0.1]:41774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8oX8-00057h-Pb for submit@debbugs.gnu.org; Sat, 15 Jan 2022 14:16:14 -0500 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:59685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8oX6-00057G-AD for 53255@debbugs.gnu.org; Sat, 15 Jan 2022 14:16:12 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id C35FC1C0004; Sat, 15 Jan 2022 19:16:04 +0000 (UTC) In-Reply-To: <87v8ylnsc1.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Sat, 15 Jan 2022 12:36:46 +0100") 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" Xref: news.gmane.io gmane.emacs.bugs:224332 Archived-At: >>> Maybe using an affixation function (like read-char-by-name) would make >>> things less jarring? E.g. fontifying the same string for every face >>> (say "x" or "example") and using that as suffix (rather than prefix, to >>> keep the face names aligned)? >> Hm, yes, that sounds like a good idea. > > Serving suggestion attached, for discussion purposes; there might be > smarter things to do wrt alignment (using :align-to specs? let-binding > tab-width?). > > FWIW it looks pretty good with icomplete-vertical-mode, IMO. So this is like `M-x list-faces-display'? But OTOH, indeed maybe better to use completion-tab-width like read-char-by-name does?