Subject: Re: bug#19300: 24.4.51; visual-line-mode messes up after-string rendering when it spans all window columns

From: Dmitry Gutov <[email-masked]>
Date: Mon, 08 Dec 2014 12:14:35 +0200

On 12/08/2014 05:46 AM, Eli Zaretskii wrote:

> Please explain what exactly is not right about the results.
> visual-line-mode doesn't understand the text it renders, it just
> breaks lines at whitespace.  What would you expect it to do instead in
> this use case?

I'd expect the text not to be broken, because the `after-string' text 
already includes newlines, and the length of each line there equals to 
the value reported by (window-width).

Without overlays, even when visual-line-mode is enabled, I can make a 
window body 34 chars wide and type 34 characters (maybe including 
spaces) on a line without seeing them break up.