[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: word-wrap and wrapping before window-width

From: Stefan Monnier
Subject: Re: word-wrap and wrapping before window-width
Date: Mon, 29 Dec 2014 22:12:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> There’s an minor issue of how to display word-wrapped lines
>> while the window is scrolled horizontally.  Currently,
>> horizontal scrolling simply inhibits word-wrap.
> What other GUI application does something different in this case?

If the word-wrapped lines are wrapped at a text-specified column rather
than "at the end of the window", then it would make a lot of sense, to
just keep the lines "wrapped as before" and just visually shift them
according to the horizontal scrolling.

It might also make sense to consider that a "wrap-column" which is set past
the window-width would cause those lines to be displayed as "truncated
and wrapped".  E.g. display it as:

    here is t|he example|
    wrapped t|ext       |
             ^          |
       window border    |

IOW, the wrapping would be window (and hscrolling) independent.

And a "truncated line" could then "simply" be a line with an "infinite"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]