[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improper behavior of (scroll-down 0)
From: |
Eli Zaretskii |
Subject: |
Re: improper behavior of (scroll-down 0) |
Date: |
Fri, 12 Feb 2016 13:54:23 +0200 |
> Date: Fri, 12 Feb 2016 17:41:11 +0800
> From: Shiyao Ma <i@introo.me>
> Cc: help-gnu-emacs@gnu.org
>
> yup, I'd admit the plain (scroll-down 0) is meaningless.
>
> Actually the scrolling down part is of the form (scroll-down scrollable), the
> origin is here:
> https://github.com/emacsmirror/evil/blob/master/evil-commands.el#L870
>
> When `scrollable' becomes 0, the undesired behavior happens.
>
> Another observation is, the undesired behavior doesn't happen under *scratch*
> buffer or others alike.
>
> The info mode has sort of a navigation bar, "(elisp)Top > Positions >
> Excursions", maybe (scroll-down)
> doesn't handle that well.
The first line you see in an Info buffer is not normal text, it is a
specially displayed string. That is the reason for the somewhat
strange behavior.