From: Shiyao Ma <i@introo.me>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: improper behavior of (scroll-down 0)
Date: Fri, 12 Feb 2016 17:41:11 +0800 [thread overview]
Message-ID: <CAJQX3Dx_X3xNvEGZoQgPoMcT6sG7ZXbX-aKb10Fdy4hFLTGS3w@mail.gmail.com> (raw)
In-Reply-To: <83fuwy8ldw.fsf@gnu.org>
Hi, Eli
On 12 February 2016 at 14:59, Eli Zaretskii <eliz@gnu.org> wrote:
> 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.
>
> 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.
Regards.
--
吾輩は猫である。ホームーページはhttps://introo.me <http://introo.me>。
next prev parent reply other threads:[~2016-02-12 9:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-11 11:08 improper behavior of (scroll-down 0) Shiyao Ma
2016-02-11 21:01 ` Eli Zaretskii
2016-02-12 0:56 ` Shiyao Ma
2016-02-12 6:59 ` Eli Zaretskii
2016-02-12 9:41 ` Shiyao Ma [this message]
2016-02-12 11:54 ` Eli Zaretskii
2016-02-12 12:20 ` Shiyao Ma
2016-02-12 15:17 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJQX3Dx_X3xNvEGZoQgPoMcT6sG7ZXbX-aKb10Fdy4hFLTGS3w@mail.gmail.com \
--to=i@introo.me \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.