all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Damien Wyart <damien.wyart@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: Down arrow key skips lines when window too short
Date: Tue, 12 Mar 2013 14:03:08 +0100	[thread overview]
Message-ID: <513f278c$0$3727$426a74cc@news.free.fr> (raw)
In-Reply-To: mailman.21919.1363082690.855.help-gnu-emacs@gnu.org

* 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


  parent reply	other threads:[~2013-03-12 13:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 19:31 Down arrow key skips lines when window too short Andrew Pennebaker
2013-03-12 10:04 ` Peter Dyballa
2013-03-12 16:18   ` Eli Zaretskii
2013-03-12 17:29     ` Peter Dyballa
2013-03-12 20:14       ` Andrew Pennebaker
2013-03-13  3:31         ` Andrew Pennebaker
     [not found] ` <mailman.21919.1363082690.855.help-gnu-emacs@gnu.org>
2013-03-12 13:03   ` Damien Wyart [this message]
2013-03-12 16:16 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='513f278c$0$3727$426a74cc@news.free.fr' \
    --to=damien.wyart@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.