all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Marvin ‘quintus’ Gülker" <post+ebugs@guelker.eu>
Cc: 42811-done@debbugs.gnu.org
Subject: bug#42811: 26.1; visual-line-mode wraps at no-break space
Date: Sat, 15 Aug 2020 13:33:52 +0300	[thread overview]
Message-ID: <83pn7sjizz.fsf@gnu.org> (raw)
In-Reply-To: <87v9ho4d79.fsf@guelker.eu> (post+ebugs@guelker.eu)

> From: Marvin ‘quintus’ Gülker
>  <post+ebugs@guelker.eu>
> 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.





      reply	other threads:[~2020-08-15 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 14:03 bug#42811: 26.1; visual-line-mode wraps at no-break space Marvin ‘quintus’ Gülker
2020-08-11 15:02 ` Eli Zaretskii
2020-08-12  5:59   ` Marvin ‘quintus’ Gülker
2020-08-15 10:33     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pn7sjizz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=42811-done@debbugs.gnu.org \
    --cc=post+ebugs@guelker.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.