Subject: Re: bug#66599: 29.1; Visual line mode behaves strangely on line with contiguous stretch of whitespace

From: Eli Zaretskii <[email-masked]>
Date: Wed, 18 Oct 2023 14:37:44 +0300

tags 66599 notabug
thanks

> Date: Tue, 17 Oct 2023 22:10:43 +0200
> From:  Rahguzar via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> Dear Emacs maintainers,
>  Starting with emacs -Q
>  Paste the following lines two lines in the buffer,
> sage: V = VectorSpace(RationalField(), 3)                                       # optional - sage.modules
> sage: v = V.gen(1)                                                              # optional - sage.modules
> 
> Now shrink the window so that these lines cannot fit on one screen line.
> When this happens Emacs wraps lines strangely. It doesn't break the
> contiguous stretch of whitespace instead it breaks the word preceding
> it. I have attached a screenshot of what I see with this email.

This is the expected behavior.  Visual line mode never breaks the line
in the middle of a stretch of whitespace characters, it always breaks
the line at a non-whitespace character _after_ a stretch of whitespace
characters.

This is not a bug.