[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adaptive-wrap
From: |
Eli Zaretskii |
Subject: |
Re: adaptive-wrap |
Date: |
Mon, 07 Aug 2023 19:49:51 +0300 |
> From: Spencer Baugh <sbaugh@janestreet.com>
> Date: Mon, 07 Aug 2023 12:01:51 -0400
>
> This would be nice in combination with some kind of dynamic
> line-wrapping which simulates joining lines. Then comments would
> appear as if they've been filled to the screen width, no matter what
> the actual fill-column and screen width is. Which would be nice on
> small displays.
>
> By dynamic word-wrapping I mean something which would display:
>
> foo foo foo foo foo foo foo
> foo foo foo foo foo foo foo
>
> as
>
> foo foo foo foo foo
> foo foo foo foo foo
> foo foo foo foo
>
> on a 20-character width display. Instead of the default display
> behavior:
>
> foo foo foo foo foo
> foo foo
> foo foo foo foo foo
> foo foo
Dynamic wrapping is incompatible with hard newlines. Don't use
newlines except between paragraphs, and word-wrap we have in Emacs
will do what you want.