[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quick Emacs Question
From: |
Rupert Swarbrick |
Subject: |
Re: Quick Emacs Question |
Date: |
Fri, 02 May 2008 10:43:25 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
"Paul S" <paul22000@gmail.com> writes:
> Hi there!
>
> When you are in Emacs, and the cursor is at the top of the window, you press
> UP
> and it does a Page Up.
>
> Is there any way to scroll up line-by-line? (IE you press up, ONE line
> disappears at the bottom and ONE more line is visible at the top. Rather than
> 20 lines at a time). (Useful for when you want to keep looking at two
> different
> things in a C file.)
>
> Thanks!
> Paul
In addition to the other good answers you got, I'd mention
smooth-scroll.el [1] which I found on EmacsWiki and have been using
very very happily ever since. It basically doesn't scroll until you go
up/down lines near the top/bottom of the buffer.
Rupert
[1] http://files.adamspiers.org/elisp/smooth-scrolling.el