all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Move up and down through a wrapped line
@ 2011-04-06  7:20 Philip
  2011-04-06 11:22 ` hjuvi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Philip @ 2011-04-06  7:20 UTC (permalink / raw
  To: help-gnu-emacs

Is it possible to make Emacs emulate the behavior of modern text
editors with regard to wrapped lines -- that is, the Up and Down keys
move the cursor to one part of the wrapped line and then to the other?
For example, if the cursor is at position 0 on the wrapped line:

^abcd efgh abcd efgh abcd efgh -/
abcd efgh

then pressing Down will move it to the first part character of the
second fold of the line:

abcd efgh abcd efgh abcd efgh -/
^abcd efgh


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

* Re: Move up and down through a wrapped line
  2011-04-06  7:20 Move up and down through a wrapped line Philip
@ 2011-04-06 11:22 ` hjuvi
  2011-04-06 14:43 ` Lowell Gilbert
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjuvi @ 2011-04-06 11:22 UTC (permalink / raw
  To: help-gnu-emacs

The behaviour you are expecting is the actual one for me.
But this is quite new I believe. It used to skip the wrapped lines.

My version is: GNU Emacs 23.1.1


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

* Re: Move up and down through a wrapped line
  2011-04-06  7:20 Move up and down through a wrapped line Philip
  2011-04-06 11:22 ` hjuvi
@ 2011-04-06 14:43 ` Lowell Gilbert
  2011-04-07 17:37 ` Eli Zaretskii
       [not found] ` <mailman.0.1302197983.27822.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 5+ messages in thread
From: Lowell Gilbert @ 2011-04-06 14:43 UTC (permalink / raw
  To: help-gnu-emacs

Philip <phil.ganchev@gmail.com> writes:

> Is it possible to make Emacs emulate the behavior of modern text
> editors with regard to wrapped lines -- that is, the Up and Down keys
> move the cursor to one part of the wrapped line and then to the other?

This depends on the setting of "line-move-visual".
I'm not sure when it was introduced, but its default value 
became non-nil (the behaviour you want) in version 23.1.


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

* Re: Move up and down through a wrapped line
  2011-04-06  7:20 Move up and down through a wrapped line Philip
  2011-04-06 11:22 ` hjuvi
  2011-04-06 14:43 ` Lowell Gilbert
@ 2011-04-07 17:37 ` Eli Zaretskii
       [not found] ` <mailman.0.1302197983.27822.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2011-04-07 17:37 UTC (permalink / raw
  To: help-gnu-emacs

> From: Philip <phil.ganchev@gmail.com>
> Date: Wed, 6 Apr 2011 00:20:38 -0700 (PDT)
> 
> Is it possible to make Emacs emulate the behavior of modern text
> editors with regard to wrapped lines -- that is, the Up and Down keys
> move the cursor to one part of the wrapped line and then to the other?

This is the default in the latest versions, so upgrade.



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

* Re: Move up and down through a wrapped line
       [not found] ` <mailman.0.1302197983.27822.help-gnu-emacs@gnu.org>
@ 2011-04-08 20:30   ` Philip
  0 siblings, 0 replies; 5+ messages in thread
From: Philip @ 2011-04-08 20:30 UTC (permalink / raw
  To: help-gnu-emacs

On Apr 7, 1:37 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Philip <phil.ganc...@gmail.com>
> > Date: Wed, 6 Apr 2011 00:20:38 -0700 (PDT)
>
> > Is it possible to make Emacs emulate the behavior of modern text
> > editors with regard to wrapped lines -- that is, the Up and Down keys
> > move the cursor to one part of the wrapped line and then to the other?
>
> This is the default in the latest versions, so upgrade.

Thanks everyone. My department server is using Emacs 21.3 from 2002!


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

end of thread, other threads:[~2011-04-08 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06  7:20 Move up and down through a wrapped line Philip
2011-04-06 11:22 ` hjuvi
2011-04-06 14:43 ` Lowell Gilbert
2011-04-07 17:37 ` Eli Zaretskii
     [not found] ` <mailman.0.1302197983.27822.help-gnu-emacs@gnu.org>
2011-04-08 20:30   ` Philip

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.