unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* up/down arrow in buffer with wrapped lines stops on all the wraplines
@ 2009-07-15 18:40 David Karr
  2009-07-15 18:45 ` Teemu Likonen
  0 siblings, 1 reply; 3+ messages in thread
From: David Karr @ 2009-07-15 18:40 UTC (permalink / raw)
  To: help-gnu-emacs

Ok, I'm sure that subject line is confusing, but that's the best I
could do. :)

Emacs 23.0.92.1, Cygwin.

If I'm in a buffer with wrapped lines, and my cursor is at the
beginning of one line, and the line above is a wrapped line, I would
assume that "up arrow" would skip the wrapped part of the previous
line and go to the beginning of the real line. Instead, I find that
the cursor goes to the start of the "screen" line, not the start of
the real text line.

I can see some advantages with this current behavior, but I'd really
prefer "consistent" behavior, where "up arrow" goes to the next text
line, not the next screen line.

Is there a way to customize this behavior?


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

* Re: up/down arrow in buffer with wrapped lines stops on all the wraplines
  2009-07-15 18:40 up/down arrow in buffer with wrapped lines stops on all the wraplines David Karr
@ 2009-07-15 18:45 ` Teemu Likonen
  2009-07-15 20:03   ` up/down arrow in buffer with wrapped lines stops on all thewraplines KARR, DAVID (ATTCINW)
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2009-07-15 18:45 UTC (permalink / raw)
  To: help-gnu-emacs

On 2009-07-15 11:40 (-0700), David Karr wrote:

> If I'm in a buffer with wrapped lines, and my cursor is at the
> beginning of one line, and the line above is a wrapped line, I would
> assume that "up arrow" would skip the wrapped part of the previous
> line and go to the beginning of the real line. Instead, I find that
> the cursor goes to the start of the "screen" line, not the start of
> the real text line.
>
> I can see some advantages with this current behavior, but I'd really
> prefer "consistent" behavior, where "up arrow" goes to the next text
> line, not the next screen line.
>
> Is there a way to customize this behavior?

Yes:

    (setq line-move-visual nil)


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

* RE: up/down arrow in buffer with wrapped lines stops on all thewraplines
  2009-07-15 18:45 ` Teemu Likonen
@ 2009-07-15 20:03   ` KARR, DAVID (ATTCINW)
  0 siblings, 0 replies; 3+ messages in thread
From: KARR, DAVID (ATTCINW) @ 2009-07-15 20:03 UTC (permalink / raw)
  To: Teemu Likonen, help-gnu-emacs

> -----Original Message-----
> From: help-gnu-emacs-bounces+dk068x=att.com@gnu.org [mailto:help-gnu-
> emacs-bounces+dk068x=att.com@gnu.org] On Behalf Of Teemu Likonen
> Sent: Wednesday, July 15, 2009 11:46 AM
> To: help-gnu-emacs@gnu.org
> Subject: Re: up/down arrow in buffer with wrapped lines stops on all
> thewraplines
> 
> On 2009-07-15 11:40 (-0700), David Karr wrote:
> 
> > If I'm in a buffer with wrapped lines, and my cursor is at the
> > beginning of one line, and the line above is a wrapped line, I would
> > assume that "up arrow" would skip the wrapped part of the previous
> > line and go to the beginning of the real line. Instead, I find that
> > the cursor goes to the start of the "screen" line, not the start of
> > the real text line.
> >
> > I can see some advantages with this current behavior, but I'd really
> > prefer "consistent" behavior, where "up arrow" goes to the next text
> > line, not the next screen line.
> >
> > Is there a way to customize this behavior?
> 
> Yes:
> 
>     (setq line-move-visual nil)

Thanks, that did it.




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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 18:40 up/down arrow in buffer with wrapped lines stops on all the wraplines David Karr
2009-07-15 18:45 ` Teemu Likonen
2009-07-15 20:03   ` up/down arrow in buffer with wrapped lines stops on all thewraplines KARR, DAVID (ATTCINW)

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