all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: visual-line-mode and line wrapping
Date: Tue, 25 May 2010 16:37:18 +0900	[thread overview]
Message-ID: <buo4ohw1lg1.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <jwvocg5cij2.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 24 May 2010 13:34:32 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> In the discussion of the trashbin feature, visual-line-mode came up.
>> It seems many of us would like it to be able to wrap lines at
>> a position other than the window edge.
>
> I still haven't heard any good argument for it, as compared to using
> wide fringes, wide margins, or by splitting windows.
>
> I do think it could make sense in one case: when you want the
> wrap-width to be larger than the window-width.  But AFAICT nobody has
> asked for that yet.

I thought I've said such in the past, but in case not:

One problem with the "fringe/margin approach" is that it always exactly
tracks physical window size, which is sometimes annoying.  For instance,
it would be nice to have word-wrapping that wraps to 80 or 72 columns
without having to result to multiple word-wrapping mechanisms (e.g., the
old lisp-based modes).

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 (the text is probably unreadable either way, but at least
with the bounded-width version, you can get a more sensible idea of the
document structure).

[Not commenting on the technical difficulty of doing these, just saying
there are reasonable use-cases.]

-Miles

-- 
Bacchus, n. A convenient deity invented by the ancients as an excuse for
getting drunk.



  parent reply	other threads:[~2010-05-25  7:37 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 [this message]
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
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=buo4ohw1lg1.fsf@dhlpc061.dev.necel.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@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.