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

[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 08:59:07 +0200

> Date: Fri, 12 Feb 2016 08:56:51 +0800
> From: Shiyao Ma <i@introo.me>
> Cc: help-gnu-emacs@gnu.org
> 
>  > 1. go to the info node (elisp)Top > Positions > Excursions
>  > 2. go to the beginning of the window: (goto-char (point-min))
>  > 3. scroll the window, (scroll-down 0)
>  >
>  > Oops, the window scrolls down by 1.
>  >
>  > What's happening here and how to rectify this ?
> 
>  What is the problem, exactly? What do you want (scroll-down 0) to do,
>  and why?
> 
> The observed behavior is "the window scrolls down by 1.
> 
> The desired behavior is "the window doesn't scroll down at all"

Sorry, I should have been more clear.  The question I wanted to ask
is: if you don't want the window to scroll, why do you invoke
scroll-down at all?  I assumed you did that because you wanted some
effect other than scrolling, so I asked what was that effect.



reply via email to

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