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: Damien Wyart
Subject: Re: Down arrow key skips lines when window too short
Date: Tue, 12 Mar 2013 14:03:08 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50

* Peter Dyballa <Peter_Dyballa@Web.DE> in gnu.emacs.help:
> > 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.

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

The documentation for scroll-step says :

  If you want scrolling to always be a line at a time, you should set
  `scroll-conservatively' to a large value rather than set this to 1.

According to scroll-conservatively documentation, such a large value
should be more than 100.

-- 
DW


reply via email to

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