From: Spencer Baugh <sbaugh@janestreet.com>
To: emacs-devel@gnu.org
Subject: Re: adaptive-wrap
Date: Mon, 07 Aug 2023 12:01:51 -0400 [thread overview]
Message-ID: <ierbkfi6du8.fsf@janestreet.com> (raw)
In-Reply-To: 874jlc7ifu.fsf@yahoo.com
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
next prev parent reply other threads:[~2023-08-07 16:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <874jlc7ifu.fsf.ref@yahoo.com>
2023-08-06 7:12 ` adaptive-wrap Po Lu
2023-08-06 7:20 ` adaptive-wrap Eli Zaretskii
2023-08-06 7:24 ` adaptive-wrap Po Lu
2023-08-07 16:01 ` Spencer Baugh [this message]
2023-08-07 16:49 ` adaptive-wrap Eli Zaretskii
2023-08-07 20:40 ` adaptive-wrap Spencer Baugh
2023-08-08 10:59 ` adaptive-wrap Eli Zaretskii
2023-08-07 16:50 ` adaptive-wrap Ihor Radchenko
2023-08-07 20:42 ` adaptive-wrap Spencer Baugh
2023-08-10 5:37 ` adaptive-wrap Po Lu
2023-08-09 17:34 ` Pixel Fill + Justify Madhu
2023-08-10 7:12 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ierbkfi6du8.fsf@janestreet.com \
--to=sbaugh@janestreet.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).