all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'David Reitter'" <david.reitter@gmail.com>
Cc: emacs-devel@gnu.org
Subject: RE: please make line-move-visual nil
Date: Sun, 24 May 2009 17:52:06 -0700	[thread overview]
Message-ID: <2A3A0621C3974D8A8BD4F58FFD63C61D@us.oracle.com> (raw)
In-Reply-To: <DC87752C-73E9-4340-86A9-6BBCF3D97210@gmail.com>

> > If you absolutely feel the need to make the default value be t for  
> > modes such as text-mode, which (you are convinced) are likely to
> > benefit from it, then do so.  But PLEASE leave the rest of Emacs
> > alone, by default. This is a bad choice for
> > Emacs - please reconsider this.
> 
> You didn't give any reason to support your view.

I did too, though perhaps not explicitly enough.

Most buffers in Emacs are code buffers or formatted text, with non-proportional
fonts and hard-returns (newlines) as line separators. For _at least_ those
contexts, we should keep the normal behavior. The traditional line movement fits
well with lines as they are defined in those contexts. Lines defined by newlines
fit well with newline-oriented movement.

If a poll indicates that most people want to use the new behavior for buffers
such as text-mode, then the default can be non-nil for such buffers. I don't
have a problem with that. But my crystal ball says that those buffers are in the
minority, in Emacs.

And even if they were in the majority, it wouldn't make sense to impose non-nil
for the other buffers, which have newline-delineated lines and provide a good
fit for the traditional line movement.

This is a widespread change, and it should not be. Impose the change, if you
must impose it, on only text-oriented buffers - the kind of buffers for which
you might use a proportional font, for instance. (Yes, the two things are
different, but the use cases overlap considerably.)

Use it for mail messages and text-mode. Do not use it, by default, for code and
formatted buffers, whose content is split into newline-delineated lines by
design.

> I can see where you're coming from, though.

Even though you didn't notice the reasons I gave? ;-) Good. Maybe you sense the
reasons yourself?

> I believe line-move-visual should be t because in this mode of  
> operation, cursor movement commands correspond most closely to the  
> visual representation of the buffer.

Visual representation is not all that is important in a buffer. In code and
formatted (e.g. tabular) text, the positions of hard newlines can make a
difference.

Look, GNU Emacs Dev itself demands that Emacs-Lisp code you submit not have
lines longer than N columns. Why? Why do we format Info and *Help* and *Man* and
*Dired* buffers? Shouldn't you be proposing that we do away with all that, and
just have lines that are a zillion chars long? Let the display take care of it
all, right?

That's a different discussion, perhaps, but I sense that the door is being
opened here...

> Note that I have bound C-n/p to non-visual movement in Aquamacs,
> while arrow keys are visual.

Why would you even want non-visual movement? ;-) What's the use case/reason? Let
me guess... code? formatted buffers? most Emacs buffers?

> How about a newbie-mode, which can be en/disabled directly from the  
> startup screen?

I don't think this is about newbies at all (except that some Emacs developers
might be hoping that many newbies will be likely to use mainly Emacs for text,
mail, etc.).

I think it is about different line movements being appropriate for different
kinds of "line". The solution, in terms of finding good default behavior, is to
do this based on the buffer, that is, on its mode.

Use newline-oriented line movement for buffers where "lines" are typically
delineated by newlines. Use, if you like, visual-line-oriented movement for
buffers where "lines" have no use for newlines.

When I write a paragraph in this mail client (Outlook), there is no auto-fill or
anything that chops the text by inserting newlines. Visual line movement might
be appropriate here (and that's in fact the line movement I have).

When you read this plain-text mail, it will have had newlines inserted (for
better or, more likely, for worse), and newline-oriented line movement might be
appropriate. If I instead sent the mail as HTML, then visual line movement might
be appropriate.

> Ps.: I think it's too late in the game for 23.1 for this sort 
> of change.

Dunno if it's too late, but if time is really an argument here, then we can
argue that this change of default came too late. But I think it doesn't really
matter when we have the discussion. ;-)






  parent reply	other threads:[~2009-05-25  0:52 UTC|newest]

Thread overview: 144+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24 12:30 please make line-move-visual nil Alfred M. Szmidt
2009-05-13 13:35 ` garyo
2009-05-13 23:59   ` Deniz Dogan
2009-05-14  0:06     ` garyo
2009-05-14  8:51       ` Teemu Likonen
2009-05-14  9:37         ` Antoine Levitt
2009-05-15  3:21           ` Lennart Borgman
2009-05-15  4:22             ` Stephen J. Turnbull
2009-05-17  6:29               ` Alfred M. Szmidt
2009-05-14 11:29         ` garyo
2009-05-14 15:37           ` Teemu Likonen
2009-05-15  2:45             ` Alfred M. Szmidt
2009-05-15 14:31               ` Davis Herring
2009-05-17  6:29                 ` Alfred M. Szmidt
2009-05-17 10:48                   ` Eli Zaretskii
2009-05-17 20:28                     ` Davis Herring
2009-05-24 22:33                       ` Drew Adams
2009-05-24 23:18                         ` Bastien
2009-05-24 23:18                         ` Leo
2009-05-24 23:50                           ` Chong Yidong
2009-05-24 23:58                             ` Lennart Borgman
2009-05-25  8:05                               ` Miles Bader
2009-05-25  0:53                             ` Drew Adams
2009-05-25  1:03                               ` Chong Yidong
2009-05-25  1:59                                 ` Drew Adams
2009-05-25 13:23                                   ` Stefan Monnier
2009-05-25 17:51                                     ` Drew Adams
2009-05-25  2:32                                 ` Stephen J. Turnbull
2009-05-25  3:01                                   ` Eli Zaretskii
2009-05-25  4:16                                     ` Alfred M. Szmidt
2009-05-25  8:34                                       ` Bastien
2009-05-25 20:21                                       ` Eli Zaretskii
2009-05-25 20:46                                         ` Drew Adams
2009-05-27 12:48                                       ` Andrew W. Nosenko
2009-05-27 12:51                                         ` Andrew W. Nosenko
2009-05-31 11:45                                         ` Alfred M. Szmidt
2009-05-31 12:08                                           ` Andreas Schwab
2009-05-31 17:00                                             ` Miles Bader
2009-05-31 22:29                                               ` Bob Rogers
2009-06-01  2:33                                                 ` Miles Bader
2009-06-01  9:22                                                   ` Lennart Borgman
2009-06-01  9:54                                                     ` Miles Bader
2009-06-01  9:59                                                       ` Lennart Borgman
2009-06-05 22:13                                                         ` Thien-Thi Nguyen
2009-05-31 13:09                                           ` Deniz Dogan
2009-06-01  2:39                                             ` Miles Bader
2009-05-31 21:19                                           ` Chong Yidong
2009-06-01  7:24                                             ` Mathias Megyei
2009-06-01 13:29                                           ` Stefan Monnier
2009-06-01 14:36                                             ` T.V. Raman
2009-06-01 16:20                                               ` Drew Adams
2009-06-01 17:56                                                 ` Chong Yidong
2009-06-01 18:26                                                   ` bug#3438: " Drew Adams
2009-06-01 18:26                                                   ` Drew Adams
2009-06-01 20:11                                                     ` Stefan Monnier
2009-06-01 21:00                                                       ` Drew Adams
2009-06-01 21:25                                                         ` Lennart Borgman
2009-06-01 21:33                                                           ` Drew Adams
2009-06-01 21:56                                                             ` Lennart Borgman
2009-06-01 21:56                                                             ` bug#3438: " Lennart Borgman
2009-06-01 21:33                                                           ` Drew Adams
2009-06-01 21:25                                                         ` Lennart Borgman
2009-06-01 22:33                                                         ` Stefan Monnier
2009-06-01 22:33                                                         ` Stefan Monnier
2009-06-01 22:52                                                           ` Drew Adams
2009-06-01 23:12                                                             ` Lennart Borgman
2009-06-01 23:57                                                               ` bug#3438: " Drew Adams
2009-06-01 23:57                                                               ` Drew Adams
2009-06-01 23:12                                                             ` bug#3438: " Lennart Borgman
2009-06-01 23:13                                                             ` Eli Zaretskii
2009-06-01 23:23                                                               ` Drew Adams
2009-06-02 15:59                                                                 ` Eli Zaretskii
2009-06-02 15:59                                                                 ` bug#3438: " Eli Zaretskii
2009-06-01 23:23                                                               ` Drew Adams
2009-06-01 23:13                                                             ` Eli Zaretskii
2009-06-01 22:52                                                           ` Drew Adams
2009-06-12 17:16                                                           ` Drew Adams
2009-06-12 21:45                                                             ` bug#3438: " Stefan Monnier
2009-06-12 21:45                                                             ` Stefan Monnier
2009-06-13  0:19                                                               ` Drew Adams
2009-06-14 20:45                                                                 ` Stefan Monnier
2009-06-13  0:19                                                               ` bug#3438: " Drew Adams
2009-06-12 17:16                                                           ` Drew Adams
2009-06-01 21:00                                                       ` Drew Adams
2009-06-01 20:11                                                     ` Stefan Monnier
2009-06-01 23:18                                                     ` Drew Adams
2009-06-02  1:29                                                       ` Stefan Monnier
2009-06-01 17:56                                                 ` bug#3438: " Chong Yidong
2009-05-25  8:18                                     ` Drew Adams
2009-05-25 20:46                                       ` Eli Zaretskii
2009-05-25 21:06                                         ` Drew Adams
2009-05-25 21:28                                           ` Eli Zaretskii
2009-05-25  2:57                             ` Eli Zaretskii
2009-05-25  8:10                               ` Miles Bader
2009-05-26  3:48                               ` Chong Yidong
2009-05-24 23:53                         ` David Reitter
2009-05-25  0:03                           ` Lennart Borgman
2009-05-25  0:52                           ` Drew Adams [this message]
2009-05-25  2:32                             ` David Reitter
2009-05-25  8:35                               ` Drew Adams
2009-05-25  2:26                           ` Stephen J. Turnbull
2009-05-25  2:02                         ` Stefan Monnier
2009-05-25  4:16                           ` Alfred M. Szmidt
2009-05-25  8:16                             ` Miles Bader
2009-05-25  9:29                               ` Ulrich Mueller
2009-05-25 10:16                                 ` Miles Bader
2009-05-26  0:13                                 ` Richard M Stallman
2009-05-28 10:38                                   ` David Kastrup
2009-05-28 11:23                                     ` Bastien
2009-05-28 13:38                                     ` Werner LEMBERG
2009-05-29  4:39                                     ` rms
2009-05-26  9:52                                 ` Alan Mackenzie
2009-05-26 12:08                                   ` Lennart Borgman
2009-05-26 12:36                                     ` Rupert Swarbrick
2009-05-26 20:12                                     ` Alfred M. Szmidt
2009-05-25  8:17                           ` Drew Adams
2009-05-25 13:29                             ` Stefan Monnier
2009-05-25 17:51                               ` Drew Adams
2009-05-25 21:14                                 ` Stefan Monnier
2009-05-25 21:26                                   ` Lennart Borgman
2009-05-26  6:56                                   ` Tassilo Horn
2009-05-26 11:37                                     ` Deniz Dogan
2009-05-26 12:24                                       ` Lennart Borgman
2009-05-26 12:42                                         ` David Reitter
     [not found]                                           ` <m3hbz8c9qy.fsf@verona.se>
2009-05-26 12:58                                             ` David Reitter
2009-05-26 12:42                                         ` joakim
2009-05-26 13:54                                         ` Jason Rumney
2009-05-26 20:21                                           ` Lennart Borgman
2009-05-27  2:50                                             ` Miles Bader
2009-05-26 16:56                                       ` Stefan Monnier
2009-05-26 19:17                                   ` Tobias C. Rittweiler
2009-05-14 17:14   ` Bob Nnamtrop
2009-05-14 16:00 ` Shaun Johnson
2009-05-14 16:20   ` David Reitter
2009-05-14 18:17     ` Alan Mackenzie
2009-05-15  5:32       ` David Reitter
2009-05-15  7:18         ` Stephen J. Turnbull
2009-05-15  7:40         ` Stephen Berman
2009-05-15  7:58           ` Miles Bader
2009-05-15 14:14             ` Drew Adams
2009-05-15 14:21             ` Stephen Berman
2009-05-15 14:27               ` Miles Bader
2009-05-16  6:13               ` Stephen J. Turnbull
2009-05-17  3:53       ` Stefan Monnier

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=2A3A0621C3974D8A8BD4F58FFD63C61D@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=david.reitter@gmail.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 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.