help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Down arrow key skips lines when window too short


From: Peter Dyballa
Subject: Re: Down arrow key skips lines when window too short
Date: Tue, 12 Mar 2013 11:04:35 +0100

Am 11.03.2013 um 20:31 schrieb Andrew Pennebaker:

> When I use Emacs in full screen mode, the Down arrow key works just fine
> for navigating down a source code buffer. But when the window gets too
> short (e.g., C-x 2), then pressing Down begins to skip "paragraphs" of
> code, making it hard to edit the desired line.
> 
> This behavior occurs for the Down arrow key, `C-n`, and `M-x next-line`, as
> well as for the reverse functions Up, `C-l`, and `M-x previous-line`.

The reason for this is a user-friendly behaviour: near the vertical ends of the 
buffer performs some jump-scroll to instantly show more of the hidden buffer 
contents.

I don't know exactly how to cure the effect, maybe setting scroll-margin and 
scroll-step can adjust the behaviour to your likings.

Making the window higher would also help…

--
Greetings

  Pete

Increase the size of your bike by at least *five* inches!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]