unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Vertical cursor movement in Emacs 23.1
@ 2009-12-07  6:23 D Yong
  2009-12-07 13:41 ` Teemu Likonen
  2009-12-07 15:59 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: D Yong @ 2009-12-07  6:23 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I recently upgraded from Emacs 21.3 to 23.1 on my Windows computer and
noticed that the cursor movement is now different in version 23.1.

When I use the arrow keys to move the cursor vertically from one line
to the next, the cursor does not stay in the same column *unless* the
previous key press was an up or down arrow.

Example: Say I have a buffer fill of text lines all the same length. I
click my mouse to position the cursor somewhere in the middle of the
text. If press "left up up up" or "right up up up" then the cursor
will move *left* one column and up one row after the first "up" key
but then remain in the same column for all subsequent "up" key
presses.

A similar thing will happen if I press "[backspace] up up up" or "q up
up up". The cursor will move left and up for the first "up" keypress,
then stay in the same column for all subsequent "up" key presses.

This is not the same thing as using picture-mode to maintain the same
column number when moving the cursor vertically. I'm assuming here
that all of the lines of text are long enough that the same column
number can be maintained.

I can confirm that in Emacs 21.3 this did not happen. When moving the
cursor vertically, Emacs always tries to maintain the same column
number. I also do not think this is a matter of some strange mode I'm
using or strange configuration. I can reproduce this behavior with
no .emacs file and while editing in the scratch buffer.

Can someone confirm that this is the case, or better yet, tell me how
to fix this strange behavior so that emacs will maintain the same
column when moving the cursor vertically from one line to the same?

Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-07 15:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07  6:23 Vertical cursor movement in Emacs 23.1 D Yong
2009-12-07 13:41 ` Teemu Likonen
2009-12-07 15:59 ` Stefan Monnier

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).