[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to achieve desired automatic scrolling behavior
From: |
Javier |
Subject: |
Re: How to achieve desired automatic scrolling behavior |
Date: |
Sat, 25 May 2013 16:37:50 +0000 (UTC) |
User-agent: |
tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.8.6-1-ARCH (x86_64)) |
I don't understand exactly what kind of behavoiur you want, but here's
what is in my .emacs to scroll line by line when I am in the top/bootm
of the screen and press arrow up/down:
; scroll line by line
(progn (setq scroll-step 1)
(setq scroll-preserve-screen-position t)
(setq scroll-conservatively 9999))
Barry OReilly <gundaetiapo@gmail.com> wrote:
> For the most part, I want the behavior of scroll-conservatively 1, where
> navigating line by line doesn't recenter, but jumping to a different part
> of the buffer does.
>
> One jarring behavior I wish to customize away is when going line by line
> across a line that wraps visually, the behavior is to recenter. How do I
> have it not recenter in this case?
>
> Also desirable is when scroll-conservatively==1 would cause a recenter, it
> would instead use the scroll-*-aggressively setting. Setting both of these
> does not have that effect.