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#9790: Cleaning up nobreak-char-display Date: Tue, 08 Dec 2020 10:55:23 +0200 Organization: LINKOV.NET Message-ID: <87blf4908s.fsf@mail.linkov.net> References: <87wrc1eso2.fsf@gnu.org> <87pn3lbjo0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 9790@debbugs.gnu.org, Chong Yidong To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 08 10:12:10 2020 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 1kmZ2X-0007Xu-1O for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 10:12:09 +0100 Original-Received: from localhost ([::1]:45094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmZ2W-0005Yp-3h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 04:12:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmZ1V-0004so-Mp for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 04:11:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmZ1T-0003iW-AS for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 04:11:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmZ1T-0005L6-5u for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 04:11:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 09:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9790 X-GNU-PR-Package: emacs Original-Received: via spool by 9790-submit@debbugs.gnu.org id=B9790.160741862720435 (code B ref 9790); Tue, 08 Dec 2020 09:11:03 +0000 Original-Received: (at 9790) by debbugs.gnu.org; 8 Dec 2020 09:10:27 +0000 Original-Received: from localhost ([127.0.0.1]:56545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmZ0t-0005JW-Aj for submit@debbugs.gnu.org; Tue, 08 Dec 2020 04:10:27 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:50779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmZ0p-0005JE-V3 for 9790@debbugs.gnu.org; Tue, 08 Dec 2020 04:10:25 -0500 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 0E17D100006; Tue, 8 Dec 2020 09:10:16 +0000 (UTC) In-Reply-To: <87pn3lbjo0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Dec 2020 18:38:55 +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:195318 Archived-At: >> After Emacs 24.1, we should clean up the nobreak-char-display mechanism. >> The highlighted chars should be in a variable, not hardcoded. The name >> `nobreak-char-display' should probably be changed. Also, we should >> figure out how to deal with the different Unicode space characters. > > The latter was fixed earlier this year, I think? > > As for having the former in a variable -- is that warranted? It would > mean slowing redisplay down a bit, I guess? I don't know whether that's > worth it. > > Any opinions? To address specific needs for highlighting Unicode space characters, in bug#44236 I resorted to the GNU ELPA package 'markchars' that has the variable 'markchars-nobreak-space-pattern' with a list of Unicode space characters.