all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: improper behavior of (scroll-down 0)
Date: Fri, 12 Feb 2016 13:54:23 +0200	[thread overview]
Message-ID: <83r3gi6t5c.fsf@gnu.org> (raw)
In-Reply-To: <CAJQX3Dx_X3xNvEGZoQgPoMcT6sG7ZXbX-aKb10Fdy4hFLTGS3w@mail.gmail.com> (message from Shiyao Ma on Fri, 12 Feb 2016 17:41:11 +0800)

> 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.



  reply	other threads:[~2016-02-12 11:54 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
2016-02-12 11:54         ` Eli Zaretskii [this message]
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=83r3gi6t5c.fsf@gnu.org \
    --to=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.