unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vitalie Spinu <spinuvit@gmail.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 13273@debbugs.gnu.org
Subject: bug#13273: 24.3.50; [PATCH] enhancement request: repeatable `visual-line-mode' line	movements
Date: Thu, 27 Dec 2012 11:08:39 +0100	[thread overview]
Message-ID: <87623n9594.fsf@gmail.com> (raw)
In-Reply-To: <6A3A32185AC5419EB8F0550D57356710@us.oracle.com> (Drew Adams's message of "Tue, 25 Dec 2012 22:32:26 -0800")



May I also suggest yet a another user pattern: in visual line mode, on
repeated invocation move to next _logical_ line. That is, C-a moves to
beginning of visual line, but C-a C-a moves to the beginning of logical
line. May be it could be an user option, something like
repeated-line-movement-pattern.


  >> "Drew Adams" <drew.adams@oracle.com>
  >> on Tue, 25 Dec 2012 22:32:26 -0800 wrote:

  >> > >    * `home' - `beginning-of-line'
  >> > >    * `end'  - `end-of-line'
  >> > >    * `C-a'  - `beginning-of-visual-line'
  >> > >    * `C-e'  - `end-of-visual-line'
  >> > 
  >> > I think it would be better the other way around: leave C-a and C-e
  >> > move by physical lines, and make Home and End move by visual lines,
  >> > which I think is consistent with other applications.
  >> 
  >> OK, go for it, please.  Doesn't matter to me either way.  I 
  >> was thinking of `home' and `end' as being the stronger, more 
  >> distant movements, based on their names and based on (I guess 
  >> misunderstanding) some of the discussion in emacs-devel.  I 
  >> am certainly no expert on what the "standard"/"conventional" 
  >> meanings are.

  > However, I wonder what most Emacs users would really prefer.

  > To be clear, I don't use visual line mode, and I have no preference regarding
  > it.

  > But I would imagine that:

  > 1. It is more common in visual line mode to want to move incrementally up/down
  > visual line bols/eols than it is to move incrementatlly up/down logical line
  > bols/eols.

Indeed this is the case, otherwise why would you need visual-line-mode
in the first place? With wrapping at window edge (aka truncate-lines set
to nil) C-a and C-e move according to logical lines. If also in
visual-line-mode C-a/C-e would start moving on logical lines, that would
make these two modes highly redundant.


    Vitalie





  reply	other threads:[~2012-12-27 10:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24 22:27 bug#13273: 24.3.50; [PATCH] enhancement request: repeatable `visual-line-mode' line movements Drew Adams
2012-12-25 17:41 ` Eli Zaretskii
2012-12-26  5:59   ` Drew Adams
2012-12-26  6:32   ` Drew Adams
2012-12-27 10:08     ` Vitalie Spinu [this message]
2012-12-27 16:16       ` Drew Adams
2012-12-27 19:13         ` Vitalie Spinu
2012-12-27 19:35           ` Drew Adams
2012-12-28 18:06 ` Vitalie Spinu
2012-12-28 18:51   ` Drew Adams
2012-12-28 19:22     ` Vitalie Spinu
2012-12-28 19:36       ` Eli Zaretskii
2012-12-28 19:55         ` Vitalie Spinu
2012-12-28 20:13           ` Eli Zaretskii
2012-12-28 20:04       ` Drew Adams
2012-12-28 20:33         ` Vitalie Spinu
2012-12-28 21:05           ` Drew Adams
2019-06-27 12:04 ` Lars Ingebrigtsen

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=87623n9594.fsf@gmail.com \
    --to=spinuvit@gmail.com \
    --cc=13273@debbugs.gnu.org \
    --cc=drew.adams@oracle.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 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).