From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>,
"'Miles Bader'" <miles@gnu.org>
Cc: 'Leo' <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: RE: visual-line-mode and line wrapping
Date: Tue, 25 May 2010 07:49:00 -0700 [thread overview]
Message-ID: <74579B87A49F42E092CEB1AF46764C27@us.oracle.com> (raw)
In-Reply-To: <jwvfx1gnkp0.fsf-monnier+emacs@gnu.org>
> > Also, it would be nice if one could bound the width used
> > for wrapping so that when a window becomes wider than a
> > certain size, the wrapping width would stick at some maximum
> > -- this is because extremely wide paragraphs can be hard to
> > read. Similarly, when windows become narrow than some
> > width, it would be nice if wrapping actually respected some
> > _minimum_ width, so that you don't end up with the text in
> > a single narrow vertical line...
>
> I'd be fine with a "wrap-width" if it's a buffer-local variable that
> completely overrides the window-width wrapping, so that the
> wrapping is purely determined by the buffer and not by the window.
> This would mean that in narrow windows, long lines would be wrapped
> *and* truncated.
Not to take away from the utility of the wrapping being discussed, or to divert
the discussion, but if it is sometimes useful to be able to wrap that way for
the reasons given, I would think that in at least some of those use cases users
would also want to recuperate the "wasted" window width by automatically
resizing the window.
IOW, I would think that in some cases a user would want window fitting to
accompany the text wrapping: You want text to be wrapped for easy reading (not
too wide), and you want the window to be fit to that text, to not waste real
estate to the right of the wrapped text.
next prev parent reply other threads:[~2010-05-25 14:49 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-24 14:09 visual-line-mode and line wrapping Leo
2010-05-24 14:12 ` Lennart Borgman
2010-05-24 15:08 ` Leo
2010-05-24 15:29 ` Lennart Borgman
2010-05-24 16:42 ` Leo
2010-05-24 17:41 ` Lennart Borgman
2010-05-24 17:34 ` Stefan Monnier
2010-05-24 19:18 ` Leo
2010-05-24 19:31 ` Chong Yidong
2010-05-24 19:53 ` Leo
2010-05-24 20:33 ` Lennart Borgman
2010-05-24 19:58 ` Lennart Borgman
2010-05-24 20:27 ` Leo
2010-05-24 20:36 ` Lennart Borgman
2010-05-25 1:05 ` Johan Bockgård
2010-05-24 20:26 ` Stefan Monnier
2010-05-24 21:26 ` Lennart Borgman
2010-05-25 12:59 ` Sean Sieger
2010-05-25 5:10 ` Leo
2010-05-25 7:37 ` Miles Bader
2010-05-25 10:05 ` João Távora
2010-05-25 11:11 ` Lennart Borgman
2010-05-25 13:27 ` João Távora
2010-05-25 11:09 ` Lennart Borgman
2010-05-25 14:04 ` Stefan Monnier
2010-05-25 14:18 ` Lennart Borgman
2010-05-25 15:06 ` Drew Adams
2010-05-25 14:49 ` Drew Adams [this message]
2010-05-25 16:33 ` Leo
2010-05-25 8:36 ` Uday S Reddy
2010-05-25 11:48 ` Stephen J. Turnbull
2010-05-25 13:16 ` Uday S Reddy
2010-05-25 14:40 ` Drew Adams
2010-06-05 9:21 ` Uday S Reddy
2010-06-07 20:34 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2010-05-25 2:52 MON KEY
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74579B87A49F42E092CEB1AF46764C27@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=sdl.web@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.