emacs-devel
[Top][All Lists]
Advanced

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

Re: adaptive-wrap


From: Spencer Baugh
Subject: Re: adaptive-wrap
Date: Mon, 07 Aug 2023 12:01:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu <luangruo@yahoo.com> writes:
> adaptive-wrap makes the wrapping of comments within buffers
> aesthetically pleasing, but doesn't offer any true functional advantage
> other than that.
>
> I think we should seek to distribute it and many other analogous small
> packages with Emacs itself, since these minor niceties will never
> provide a sufficient advantage for users to purposefully install them
> from ELPA.

I am learning about this package for the first time and I find it quite
minor, but nice.  I agree, it should be in core Emacs, it's such a minor
improvement that it's hard to justify taking the effort to install it.

It seems especially useful for small displays (such as on Android).

I wonder if adaptive-wrap should be on by default?  Or maybe many modes
should set a wrap-prefix overlay themselves?

-----
Tangent:

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





reply via email to

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