From: Kelly Dean <kellydeanch@yahoo.com>
To: 13009@debbugs.gnu.org
Subject: bug#13009: Logical line movement is illogical
Date: Tue, 27 Nov 2012 04:46:15 -0800 (PST) [thread overview]
Message-ID: <1354020375.37460.YahooMailClassic@web141101.mail.bf1.yahoo.com> (raw)
Using 24.2 on X, not in a terminal emulator:
emacs -Q
(column-number-mode t)
(set-face-attribute 'default nil :font "DejaVu Sans")
(set-face-attribute 'default nil :height 90)
(global-set-key '[S-up] 'previous-logical-line)
(global-set-key '[S-down] 'next-logical-line)
[ret] C-u 40 W [ret] C-u 40 i
So you have 40 "W"s and 40 "i"s, and point is on column 40 at the end of the "i"s.
Now press [up]. Point moves to the "W" at column 10, which is correct since visual line movement is the default.
Now press [S-down]. Where should point go? If the rule is visual line movement, it should move to column 40 at the end of the "i"s. If the rule is to stay on the same column, it should move to the "i" at column 10. But it does neither; instead, it moves to the "i" at column 17. There's no way this is correct.
Now press [S-up]. Point moves to the "W" at column 17, suggesting that the rule is to stay on the same column, which is what the rule ought to be.
Now do:
[C-end] [ret] [ret] C-u 40 W [ret] C-u 40 u
Leaving point on column 40 at the end of the "u"s. Press [up], and point moves to the "W" at column 29, which is correct. Now press [S-down]. Point moves to column 40 at the end of the "u"s, suggesting that the rule is visual line movement, contradicting both the [S-down] and the [S-up] behavior shown previously.
Even if there is some sense to this, it isn't user friendly.
next reply other threads:[~2012-11-27 12:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 12:46 Kelly Dean [this message]
2021-01-20 4:13 ` bug#13009: Logical line movement is illogical Lars Ingebrigtsen
2021-02-22 15:17 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1354020375.37460.YahooMailClassic@web141101.mail.bf1.yahoo.com \
--to=kellydeanch@yahoo.com \
--cc=13009@debbugs.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.