From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44236: [PATCH] xdisp: Apply nobreak-char-display also to NARROW NO-BREAK SPACE U+202F Date: Tue, 27 Oct 2020 17:24:11 +0200 Message-ID: <83imavelpg.fsf@gnu.org> References: <20201026111348.773761-1-bpeeluk.ref@yahoo.co.uk> <20201026111348.773761-1-bpeeluk@yahoo.co.uk> <837drdeyss.fsf@gnu.org> <878sbsownk.fsf@yahoo.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44236@debbugs.gnu.org To: Neil Roberts Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 27 16:25:37 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 1kXQqu-0002OY-NA for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 16:25:36 +0100 Original-Received: from localhost ([::1]:46206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXQqt-0001xO-M5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 11:25:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXQqN-0001v4-5e for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 11:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXQqM-0000b4-Ph for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 11:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXQqM-0005VR-M1 for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 11:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2020 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44236-submit@debbugs.gnu.org id=B44236.160381226421090 (code B ref 44236); Tue, 27 Oct 2020 15:25:02 +0000 Original-Received: (at 44236) by debbugs.gnu.org; 27 Oct 2020 15:24:24 +0000 Original-Received: from localhost ([127.0.0.1]:45472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXQpk-0005U6-8H for submit@debbugs.gnu.org; Tue, 27 Oct 2020 11:24:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXQpi-0005Ts-H4 for 44236@debbugs.gnu.org; Tue, 27 Oct 2020 11:24:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52609) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXQpc-0000SU-2I; Tue, 27 Oct 2020 11:24:16 -0400 Original-Received: from [176.228.60.248] (port=2684 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXQpb-0000bS-1a; Tue, 27 Oct 2020 11:24:15 -0400 In-Reply-To: <878sbsownk.fsf@yahoo.co.uk> (message from Neil Roberts on Tue, 27 Oct 2020 10:17:35 +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:191744 Archived-At: > From: Neil Roberts > Cc: 44236@debbugs.gnu.org > Date: Tue, 27 Oct 2020 10:17:35 +0100 > > > OTOH, if we make U+202F stand out, then why not others, for example > > U+2007? or U+2060? or U+2002? or U+2003? or U+2009 etc. > > I think it would make sense to highlight all of the spaces that look > exactly the same as a regular space. That would exclude U+2060 because > that is zero-width. Maybe we could use all of the characters from the > “space separator” Unicode class except U+0020. I'm okay with displaying all "space" characters that way. We already have a function which tests this category: blankp. Would you like to submit a patch which implements the above? Please also include a NEWS entry which calls out this new behavior. Thanks.