From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 11:11:33 +0100 Message-ID: <877db1wboq.fsf@gnus.org> References: <87y23hl729.fsf@gnus.org> <87zgnxnwkf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: ndame , 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 11:13:10 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 1n8g3Z-00028h-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 11:13:09 +0100 Original-Received: from localhost ([::1]:41686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8g3Y-0000TS-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 05:13:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8g2U-0000D4-1e for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:12:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46225) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8g2T-0001ZT-OE for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:12:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8g2T-0005Bf-Kx for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 10:12:01 +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.164224150419911 (code B ref 53255); Sat, 15 Jan 2022 10:12:01 +0000 Original-Received: (at 53255) by debbugs.gnu.org; 15 Jan 2022 10:11:44 +0000 Original-Received: from localhost ([127.0.0.1]:39128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8g2C-0005B5-9W for submit@debbugs.gnu.org; Sat, 15 Jan 2022 05:11:44 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:47716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8g2A-0005Ar-W0 for 53255@debbugs.gnu.org; Sat, 15 Jan 2022 05:11:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=rzEy2Jd89lQw5yDD8lJma+FwB9GlaCkXZAjoWIHlZOI=; b=h0JiLT5wM3zr4xyMqnKRluTytx aXr0lGp2QhIPPMIIINmXYvy85pr2x57Lhk3nIVr9GzKDN4YRt8SjIcwOT+Ub90saLHpGsYm5iDp3E +19egU04Yw4QSvqeO/cGthc8TwLmogElYaQ81sskagxkqtT67E/RhqIFHNaeigibufG4=; Original-Received: from [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 1n8g22-0003Ry-Et; Sat, 15 Jan 2022 11:11:36 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWXYk5pQjbWkmTm 1Mb///8wsQAzAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YBDwoKEfQCJncAAAFzSURBVDjLdZOBuYMg DIQvsED0LYCwgMr+u71LQKG20n7a5ucil0SIyrIoAN78DoQEVGzLWMYWZzkTmEL4x/ZLJw4Y7wpl WsUEWgZZmsLWBJqEG3zPBJhFVCHwf+GpABV29Ce41wsQUySVEYFut2IG9GCAVTIA5Ue0H1eHgocw t90l2tENUGgWpJPg9rsCfFLbihxCTuiKUfJWgWVSsDkezQh7YCeGQR1m5FawdhrFnqKul+W7Vto7 8nEqyxaQAjp4qy5PHXxi5AFe+/E71fpbQffxJdUHwAjnF8V6SpwejuuylpJnRbBLsfy1pjLAWg8D 5nNNe0Wp9O7xfefmYhu1porqa6fXWhgpPk6RqS7QmoWY0H1MYG7lBY4xDU/QpnaV3vYbaHKnf0cD coOYT+U8lN1fmyTXqQ4OIEOxnByCwOsFtpAMBAexnhtB6cDGJebsb/lJg2fIuVb0QfU44slane31 8Ank139rFtYqf6+Eu4jf6x+SEFWWIwkzTgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMS0xNVQx MDoxMDoxNyswMDowMF1dOdkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDEtMTVUMTA6MTA6MTcr MDA6MDAsAIFlAAAAAElFTkSuQmCC X-Now-Playing: Joni Mitchell's _Archives: The Early Years (5)_: "Intro To "Ballerina Valerie"" In-Reply-To: <87zgnxnwkf.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Sat, 15 Jan 2022 11:05:20 +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:224278 Archived-At: K=C3=A9vin Le Gouguec writes: > In addition to the odd sizes, some face names become completely > unreadable (e.g. the ansi-color-* ones). Yes. But perhaps that's OK? You don't want to choose those faces here anyway. >> But it does accurately tell you what the result is doing to be, so >> perhaps it's OK? Anybody have any opinions? > > 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no