unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Kastrup <dak@gnu.org>
Cc: David Reitter <david.reitter@gmail.com>,
	Chong Yidong <cyd@stupidchicken.com>,
	Emacs-Devel devel <emacs-devel@gnu.org>,
	"Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
	Miles Bader <miles@gnu.org>
Subject: Re: visual-line-mode
Date: Fri, 11 Jul 2008 21:49:54 -0400	[thread overview]
Message-ID: <jwvod53j2q3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <85ej60ru6t.fsf@lola.goethe.zz> (David Kastrup's message of "Fri,  11 Jul 2008 23:23:54 +0200")

> I think it depends on what you use it for.  If you are editing code,
> there is usually little overflow, and the overflow you have ends at an
> easily recognizable place, and the hard newlines carry meaning.

> If you are editing a novel where every paragraph is written without
> newlines, wrapping just being done to accommodate the editing window
> (but irrelevant for the result), you want to be able to edit and
> navigate with finer grained units than whole paragraphs.

Agreed.  That's why I think we need a separate minor mode for it.

So, if we consider the difference between TL (text lines) and VL (visual
lines), and also the difference between C-n/C-p and the other line
commands (C-a, C-e, C-k, others?):

It clearly makes sense to use TL for all commands (what we've done until
now), and it also makes sense to use VL for all commands (as provided by
David Reitter's code).  I don't think it makes sense to use TL for
C-n/C-p and VL for the rest.  But should we support the combination of
VL for C-n/C-p and TL for the rest?  That's what I've been using
recently and I like it, so I think it makes sense.  I'm even tempted to
make it the default.  But its internal inconsistence is
a bit troublesome.


        Stefan





  parent reply	other threads:[~2008-07-12  1:49 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-29  6:30 visual-line-mode David Reitter
2008-06-29  7:05 ` visual-line-mode Miles Bader
2008-06-29  7:19   ` visual-line-mode Miles Bader
2008-06-29 14:01   ` visual-line-mode Stefan Monnier
2008-06-29 15:29     ` visual-line-mode Chong Yidong
2008-06-30  3:07     ` visual-line-mode Miles Bader
2008-06-30  3:15       ` visual-line-mode Chong Yidong
2008-06-30  5:13         ` visual-line-mode Miles Bader
2008-06-30  5:15           ` visual-line-mode Miles Bader
2008-06-30 10:39             ` visual-line-mode Miles Bader
2008-06-30 11:20               ` visual-line-mode Miles Bader
2008-06-30 14:01               ` visual-line-mode Chong Yidong
2008-06-30 16:10                 ` visual-line-mode Chong Yidong
2008-07-01  9:10               ` visual-line-mode David Reitter
2008-07-03 19:20           ` visual-line-mode Chong Yidong
2008-07-03 23:56             ` visual-line-mode David Reitter
2008-07-04 10:23               ` visual-line-mode Chong Yidong
2008-07-04 10:58                 ` visual-line-mode Miles Bader
2008-07-04 13:04                   ` visual-line-mode Chong Yidong
2008-07-04 15:04                     ` visual-line-mode David Reitter
2008-07-04 15:49                       ` visual-line-mode Stefan Monnier
2008-07-04 16:21                         ` visual-line-mode David Reitter
2008-07-05 18:41                       ` visual-line-mode Chong Yidong
2008-07-06  1:29                         ` visual-line-mode Miles Bader
2008-07-09 14:28                         ` visual-line-mode David Reitter
2008-07-10  3:05                           ` visual-line-mode Chong Yidong
2008-07-10 12:39                             ` visual-line-mode David Reitter
2008-07-10 13:55                               ` visual-line-mode Chong Yidong
2008-08-03 13:47                                 ` visual-line-mode David Reitter
2008-08-11 13:38                                   ` word-wrap in echo area (was Re: visual-line-mode) David Reitter
2008-08-11 16:03                                     ` word-wrap in echo area Chong Yidong
2008-07-10 16:37                               ` visual-line-mode Chong Yidong
2008-07-10 17:32                                 ` visual-line-mode Miles Bader
2008-07-10 17:40                                   ` visual-line-mode Miles Bader
2008-07-10 20:23                                   ` visual-line-mode Stefan Monnier
2008-07-10 23:23                                     ` visual-line-mode Chong Yidong
2008-07-10 23:44                                       ` visual-line-mode Miles Bader
2008-07-10 23:49                                         ` visual-line-mode Chong Yidong
2008-07-11 13:10                                         ` visual-line-mode David Reitter
2008-07-14  3:58                                           ` visual-line-mode Miles Bader
2008-07-14  3:59                                             ` visual-line-mode Miles Bader
2008-07-11  1:36                                       ` visual-line-mode Stefan Monnier
2008-07-11  2:30                                         ` visual-line-mode Miles Bader
2008-07-11  4:36                                         ` visual-line-mode Chong Yidong
2008-07-11 14:56                                           ` visual-line-mode David Reitter
2008-07-11 15:57                                             ` visual-line-mode Chong Yidong
2008-07-11 18:27                                               ` visual-line-mode Chong Yidong
2008-07-11 20:36                                             ` visual-line-mode Miles Bader
2008-07-11 21:18                                               ` visual-line-mode Stefan Monnier
2008-07-11 21:23                                                 ` visual-line-mode David Kastrup
2008-07-11 21:41                                                   ` visual-line-mode David Reitter
2008-07-12  1:49                                                   ` Stefan Monnier [this message]
2008-07-12  8:09                                                     ` visual-line-mode David Kastrup
2008-07-12 16:35                                                       ` visual-line-mode Richard M Stallman
2008-07-12 17:42                                                         ` visual-line-mode Chong Yidong
2008-07-16  4:21                                                     ` visual-line-mode Chong Yidong
2008-07-16  4:37                                                       ` visual-line-mode Miles Bader
2008-07-11 21:10                                     ` visual-line-mode Chong Yidong
2008-07-12  1:43                                       ` visual-line-mode Stefan Monnier
2008-07-10 18:08                                 ` visual-line-mode David Reitter
2008-07-10 23:18                                   ` visual-line-mode Miles Bader
2008-07-10 23:35                                     ` visual-line-mode Chong Yidong
2008-07-10 23:49                               ` visual-line-mode Chong Yidong
2008-07-09 14:31                         ` visual-line-mode David Reitter
2008-07-04 11:09                 ` visual-line-mode David Reitter
2008-07-04 12:39                   ` visual-line-mode Paul R
2008-06-30  7:32   ` visual-line-mode David Reitter
2008-06-30  7:43     ` visual-line-mode Miles Bader
2008-06-30  7:58       ` visual-line-mode David Reitter
2008-06-30  8:05         ` visual-line-mode Miles Bader
2008-06-30  8:25           ` visual-line-mode David Reitter
2008-06-30  8:30             ` visual-line-mode Miles Bader
2008-07-10  4:53 ` visual-line-mode Chong Yidong

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=jwvod53j2q3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=dak@gnu.org \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=miles@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).