help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to achieve desired automatic scrolling behavior


From: Barry OReilly
Subject: Re: How to achieve desired automatic scrolling behavior
Date: Wed, 29 May 2013 19:02:09 -0400

> By default, Evil's "j" command moves by "physical" lines, not be screen
> lines even if visual-line-mode is enabled. Please use "gj" instead (or
> rebind "j", e.g. (define-key evil-motion-mode-map "j" "gj")).

Thanks, that improves the behavior of scroll-conservatively quite a bit.

> I just tried what I think you are doing, when lines are wrapped, and
> didn't have any recentering.  How about a recipe to reproduce this
> starting from "emacs -Q"?

After Frank's fix, there's still an issue with recentering during line by
line scrolling with scroll-conservatively==1, so I submitted a bug report.

> Customize scroll-conservatively to 0
> Advise line-move:
>   (defadvice line-move (around my-advice-line-move activate)
>     (let ((scroll-conservatively 101))
>       ad-do-it))

Why does the let bound scroll-conservatively not seem to take effect for
the around advice?


reply via email to

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