unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Scot Becker <scot.becker@gmail.com>
To: "Johan Myréen" <jem@iki.fi>
Cc: "Stephen J. Turnbull" <stephen@xemacs.org>, emacs-devel@gnu.org
Subject: Re: line-move-visual
Date: Fri, 10 Jul 2009 23:14:03 +0100	[thread overview]
Message-ID: <e0e1fe620907101514q67755d50jcd1d5c74582eb9a6@mail.gmail.com> (raw)
In-Reply-To: <200907110019.08226.jem@iki.fi>

@ Johan

Yes, thanks for stirring up this conversation.

I would have thought that 'the goal here' should be conceived as a
third option: making both linewise and paragraph-wise work possible,
each in its appropriate setting (or for the users who want it). In
coding, working linewise makes the most sense.  In writing natural
language texts, it's an unsemantic cludge, which we made work for a
while.  (We still need to output hardwrapped paragraphs for certain
purposes, but that can be a matter of export.)

It makes sense that many people want to see a dual default.  Code
should work linewise, unless you don't want it to, text should
soft-wrap (as with v-l-m), except when you don't want it to.  The
current default doesn't do that AFAIK, and you're not the only one
that doesn't like that.

So the introduction of visual-line-mode and line-move-visual is (I
don't think) intended to move towards any new mental model, but rather
to make a new one possible.  Exactly how the defaults are set up is a
separate matter.  Some (like me) will like a dual default, depending
on the mode.  Others will want consistent behaviour across modes.
Since the options will be there for either, we need ways to make it
easy for the user to identify what they want, where they want it, and
to understand any implications of their choices they may not easily
think of.  That can be done with good purpose-written documentation,
or with some kind of assisted settings modification mechanism like the
'custom' customize buffers which Lennnart has hacked up.

@Lennart,

I like it.  It could be a matter of my Emacs installation
(emacs-snapshot on ubuntu) but the Info link doesn't go through to
"Easy Customization", though I have the node.  Likewise the links to
the cua-mode function, give the error "You didn't specify a function."
 Otherwise, the new version seems like it would work for assembling
custom lists of settings for users to consider.

Thanks also for drawing our attention to
      (custom-add-to-group 'my-group 'my-variable 'custom-variable))
This seems like another way to accomplish something similar, if I'm
not mistaken.

Scot




  reply	other threads:[~2009-07-10 22:14 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 18:12 line-move-visual Johan Myréen
2009-07-10  4:26 ` line-move-visual Bastien
2009-07-10  4:43   ` line-move-visual Miles Bader
2009-07-10  5:48     ` line-move-visual Bastien
2009-07-10  6:14       ` line-move-visual Kenichi Handa
2009-07-10  6:58         ` line-move-visual Bastien
2009-07-10  8:13           ` line-move-visual Alfred M. Szmidt
2009-07-10 10:10             ` line-move-visual Bastien
2009-07-10  8:43           ` line-move-visual Scot Becker
2009-07-10  8:57             ` line-move-visual Eli Zaretskii
2009-07-10  9:04               ` line-move-visual Lennart Borgman
2009-07-10 10:32                 ` line-move-visual Bastien
2009-07-10  9:08               ` line-move-visual Scot Becker
2009-07-10  9:13               ` line-move-visual joakim
2009-07-10  9:22                 ` line-move-visual Scot Becker
2009-07-10 16:11                   ` line-move-visual Drew Adams
2009-07-10 16:22                     ` line-move-visual Lennart Borgman
2009-07-10 17:20                       ` line-move-visual Drew Adams
2009-07-10 17:40                         ` line-move-visual Drew Adams
2009-07-10  9:52                 ` line-move-visual Miles Bader
2009-07-10 16:11                   ` line-move-visual Drew Adams
2009-07-10 11:35               ` line-move-visual Stephen J. Turnbull
2009-07-10 13:38                 ` line-move-visual Eli Zaretskii
2009-07-10 16:11                   ` line-move-visual Drew Adams
2009-07-10 18:01                     ` line-move-visual Eli Zaretskii
2009-07-10 18:16                       ` line-move-visual Drew Adams
2009-07-11 19:34                   ` line-move-visual Juri Linkov
2009-07-10 13:56                 ` line-move-visual Lennart Borgman
2009-07-10 15:07                   ` line-move-visual Scot Becker
2009-07-10 20:29                     ` line-move-visual Lennart Borgman
2009-07-10 15:43               ` line-move-visual Alfred M. Szmidt
2009-07-10 15:56             ` line-move-visual Sean O'Rourke
2009-07-10  9:14           ` line-move-visual Tassilo Horn
2009-07-10  9:56             ` line-move-visual Miles Bader
2009-07-10 10:22               ` line-move-visual Scot Becker
2009-07-10 16:11                 ` line-move-visual Drew Adams
2009-07-10 10:36               ` line-move-visual Ulrich Mueller
2009-07-10 10:56                 ` line-move-visual Eli Zaretskii
2009-07-10 11:07                   ` line-move-visual Christian Faulhammer
2009-07-10 11:29                   ` line-move-visual Ulrich Mueller
2009-07-10 18:15                     ` line-move-visual Bastien
2009-07-10 20:40     ` line-move-visual Richard Stallman
2009-07-11  1:58       ` line-move-visual Stephen J. Turnbull
2009-07-11  2:29         ` line-move-visual Miles Bader
2009-07-11  2:44           ` line-move-visual Bastien
2009-07-11 18:30             ` line-move-visual Richard Stallman
2009-07-10  6:12   ` line-move-visual Stephen J. Turnbull
2009-07-10 21:19     ` line-move-visual Johan Myréen
2009-07-10 22:14       ` Scot Becker [this message]
2009-07-11  1:34       ` line-move-visual Miles Bader
2009-07-11  2:46       ` line-move-visual Bastien
2009-07-11  5:25         ` line-move-visual Miles Bader
2009-07-11  5:49           ` line-move-visual Kenichi Handa
2009-07-11  6:13             ` line-move-visual Miles Bader
2009-07-11  9:22           ` line-move-visual Bastien
2009-07-10  4:35 ` line-move-visual Miles Bader
2009-07-10 13:31 ` line-move-visual Chong Yidong
2009-07-11  6:42 ` line-move-visual Andrey Paramonov
2009-07-11  7:21   ` line-move-visual Teemu Likonen

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=e0e1fe620907101514q67755d50jcd1d5c74582eb9a6@mail.gmail.com \
    --to=scot.becker@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jem@iki.fi \
    --cc=stephen@xemacs.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).