GNU bug report logs - #42811
26.1; visual-line-mode wraps at no-break space

Previous Next

Package: emacs;

Reported by: Marvin ‘quintus’ Gülker <post+ebugs <at> guelker.eu>

Date: Tue, 11 Aug 2020 14:05:02 UTC

Severity: normal

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 42811-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marvin ‘quintus’ Gülker <post+ebugs <at> guelker.eu>
Cc: 42811-done <at> debbugs.gnu.org
Subject: Re: bug#42811: 26.1; visual-line-mode wraps at no-break space
Date: Sat, 15 Aug 2020 13:33:52 +0300
> From: Marvin ‘quintus’ Gülker
>  <post+ebugs <at> guelker.eu>
> Cc: 42811 <at> 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.




This bug report was last modified 4 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.