From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#44236: [PATCH] xdisp: Apply nobreak-char-display also to NARROW NO-BREAK SPACE U+202F Date: Sun, 1 Nov 2020 14:43:32 -0800 (PST) Message-ID: <6cf060bd-cd0c-46e2-807f-f537d20cf145@default> References: <<20201026111348.773761-1-bpeeluk.ref@yahoo.co.uk>> <<20201026111348.773761-1-bpeeluk@yahoo.co.uk>> <<837drdeyss.fsf@gnu.org>> <<87h7q98p4q.fsf@mail.linkov.net>> <<87imapcjam.fsf@gnus.org>> <<87wnz4zz5k.fsf@mail.linkov.net>> <<83wnz4euxk.fsf@gnu.org>> <<87r1pcyib0.fsf@mail.linkov.net>> <<83lffketlt.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17965"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bpeeluk@yahoo.co.uk, larsi@gnus.org, 44236@debbugs.gnu.org To: Eli Zaretskii , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 23:46:15 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 1kZM73-0004VJ-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 23:46:13 +0100 Original-Received: from localhost ([::1]:60232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZM72-0005qv-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 17:46:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZM6r-0005ql-Vw for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 17:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZM6r-00016Z-Lt for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 17:46:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZM6r-0000GR-K1 for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 17:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2020 22:46:01 +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 fixed Original-Received: via spool by 44236-submit@debbugs.gnu.org id=B44236.1604270749997 (code B ref 44236); Sun, 01 Nov 2020 22:46:01 +0000 Original-Received: (at 44236) by debbugs.gnu.org; 1 Nov 2020 22:45:49 +0000 Original-Received: from localhost ([127.0.0.1]:38906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZM6e-0000G0-Sa for submit@debbugs.gnu.org; Sun, 01 Nov 2020 17:45:49 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:41608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZM6c-0000Fm-Kq for 44236@debbugs.gnu.org; Sun, 01 Nov 2020 17:45:48 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A1MiuPn125259; Sun, 1 Nov 2020 22:45:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=rY5UUtwAtDbI/uNeOsLyoIuC0dcjN7AeC6pNaX39odk=; b=qz+AO/j1U2xWazZ04OTuR2J01AM/24oTEzkQdjsDwJJzg+wJA6bBzjPuy0ffS4j4kYgr 3IuvcIQKdtfToobdCadxiEDPWWIv7J7k9tMjFaKFD3tOrGtWKDGTToQ47YN2aKE2KElr /wOKfqrhruEolD6zA+WZmB3J0G+C0964eR2wgyzwEU7utPieSCWwjR4TwckauRFC/3Q1 VUikkZM+X7yhEBY1RZc1j0HwgnyD3ihN1oz21T0yRFjeOjFqlW3nlj1y6/pXu9afnzLJ w+JqbNH7jzsSPaKfL0HcfFFvyrg7qNknrJj1Gnh/MpXuFvAbfXu7eLFGwuR+r/D10hVU pQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 34hhw29hur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 01 Nov 2020 22:45:40 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A1MeXWI065018; Sun, 1 Nov 2020 22:43:39 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 34hw0astcx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 01 Nov 2020 22:43:39 +0000 Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0A1MhW6r003391; Sun, 1 Nov 2020 22:43:33 GMT In-Reply-To: <<83lffketlt.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9792 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011010186 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9792 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011010187 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:192486 Archived-At: > Alternatively, if this new feature is so annoying, and people are > unwilling to customize their Emacs to get the old behavior back, maybe > we should make nobreak-char-display more than just a simple boolean, > so that people could control which characters are and aren't > emphasized? (Not speaking to how annoying anything might be, here.) `nobreak-char-display' is what it is. It can't be expected to do more than it does, IMO. Its aim is to highlight non-ASCII chars that look similar to ASCII space and hyphen. That's already too much, IMO. I've said before that it's a weakness that users can't separate those two (highlighting look-alikes for SPC and hyphen). They shouldn't be hard-coupled together (IMO). And I mentioned my library `highlight-chars.el', which lets you highlight different sets of chars. And code can control that. It sounds like that's maybe what's being looked for here: highlight certain chars in certain contexts (not just everywhere). ___ Description: https://www.emacswiki.org/emacs/ShowWhiteSpace#HighlightChars Code: https://www.emacswiki.org/emacs/download/highlight-chars.el