all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Andrew Pennebaker <andrew.pennebaker@gmail.com>
Cc: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: Down arrow key skips lines when window too short
Date: Tue, 12 Mar 2013 11:04:35 +0100	[thread overview]
Message-ID: <C1171166-96A5-4C4A-B0CB-FDD5201DD250@Web.DE> (raw)
In-Reply-To: <CAHXt_SXuRcMTYKJjC8V3ZOp3cXktS9=RVjdtyOBZNaD4H1ewrA@mail.gmail.com>


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	other threads:[~2013-03-12 10:04 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 [this message]
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
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=C1171166-96A5-4C4A-B0CB-FDD5201DD250@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=andrew.pennebaker@gmail.com \
    --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.