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#42811: 26.1; visual-line-mode wraps at no-break space Date: Sat, 15 Aug 2020 13:33:52 +0300 Message-ID: <83pn7sjizz.fsf@gnu.org> References: <878selb7pb.fsf@guelker.eu> <83imdp444s.fsf@gnu.org> <87v9ho4d79.fsf@guelker.eu> 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="39140"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42811-done@debbugs.gnu.org To: Marvin =?UTF-8?Q?=E2=80=98quintus=E2=80=99_?= =?UTF-8?Q?G=C3=BClker?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 15 12:35: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 1k6tWt-000A3I-GA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 12:35:15 +0200 Original-Received: from localhost ([::1]:38906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6tWs-0006c4-5y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 06:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6tWh-0006aW-0i for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 06:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6tWg-0007zA-NS for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 06:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6tWg-0004vn-Ku for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 06:35:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Aug 2020 10:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42811 X-GNU-PR-Package: emacs Mail-Followup-To: 42811@debbugs.gnu.org, eliz@gnu.org, post+ebugs@guelker.eu Original-Received: via spool by 42811-done@debbugs.gnu.org id=D42811.159748765018869 (code D ref 42811); Sat, 15 Aug 2020 10:35:02 +0000 Original-Received: (at 42811-done) by debbugs.gnu.org; 15 Aug 2020 10:34:10 +0000 Original-Received: from localhost ([127.0.0.1]:54307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6tVq-0004uH-5D for submit@debbugs.gnu.org; Sat, 15 Aug 2020 06:34:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6tVn-0004tx-Os for 42811-done@debbugs.gnu.org; Sat, 15 Aug 2020 06:34:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47618) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6tVg-0007wL-K8; Sat, 15 Aug 2020 06:34:00 -0400 Original-Received: from [176.228.60.248] (port=1749 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k6tVf-0001AS-ET; Sat, 15 Aug 2020 06:34:00 -0400 In-Reply-To: <87v9ho4d79.fsf@guelker.eu> (post+ebugs@guelker.eu) 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:185209 Archived-At: > From: Marvin ‘quintus’ Gülker > > Cc: 42811@debbugs.gnu.org > Date: Wed, 12 Aug 2020 07:59:06 +0200 > > Am Dienstag, dem 11. August 2020 schrieb Eli Zaretskii: > > If you set nobreak-char-display to nil, you get the behavior you want. > > Indeed, this works. But now the NBSP is not highlighted anymore as a > special character and I won't notice it is in there. Is there a way to > have both the highlighted display and the no-break behaviour? I made such a change (on the master branch), not without some trepidation, as the current behavior is very old (15 years), so I wonder whether some feature relies on that. We shall see, I guess. Note that when nobreak-char-display is non-nil and non-t, we still produce an ASCII space after the backslash-escape, so the display engine will still wrap at that spot. But here, I cannot make the same change, because the Emacs manual clearly documents this behavior. Thanks.