all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anders Lindgren <andlind@gmail.com>
To: Alan Mackenzie <acm@muc.de>
Cc: 23347@debbugs.gnu.org
Subject: bug#23347: 25.0.92; Follow mode scrolling broken -- scrolls only one page
Date: Sun, 24 Apr 2016 14:36:27 +0200	[thread overview]
Message-ID: <CABr8ebbGaN+vL2U5yfnfsongNt8H8orDSt58jw8Kj+A=DKo0GQ@mail.gmail.com> (raw)
In-Reply-To: <20160424090035.87856.qmail@mail.muc.de>

[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]

Hi!

The normal `scroll-up-command' and `scroll-down-command' (typically bound
to C-v and M-v) can scroll a page at a time, there is no need for a Follow
mode-specific command for that, as the normal Follow mode machinery can
reposition the other windows. (The only difference is that when using C-v
the original window is still selected, whereas with the new
follow-scroll-up command the windows where the original point ends up is
selected.)


I admit it didn't occur to me that there might be use cases other than my
> own.  What I think we need here is a customisable option.  How about
> `follow-scroll-single-page-flag'?  The cleanest default for it would
> probably be nil, since that better observes the abstraction that the
> collection of all visible windows should be regarded as a single page.
>

A cleaner solution would be to define two sets of functions, e.g.
follow-scroll-up-one-page. Many users might want to use both kind of
scrolling (I use both C-v and C-c . C-v several time every day, depending
on how I would like to scroll the display). With two sets of functions it's
easier to do this. (Also, it's easier to write documentation for a function
designed to do one thing.)

    -- Anders

[-- Attachment #2: Type: text/html, Size: 1568 bytes --]

  reply	other threads:[~2016-04-24 12:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23 17:25 bug#23347: 25.0.92; Follow mode scrolling broken -- scrolls only one page Anders Lindgren
     [not found] ` <mailman.843.1461432366.7477.bug-gnu-emacs@gnu.org>
2016-04-24  9:00   ` Alan Mackenzie
2016-04-24 12:36     ` Anders Lindgren [this message]
2016-04-24 14:23       ` Alan Mackenzie
2016-04-24 15:37         ` Anders Lindgren
2016-04-26 11:51           ` Alan Mackenzie
2016-04-26 13:08             ` Anders Lindgren
2016-04-29 15:02       ` Alan Mackenzie

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='CABr8ebbGaN+vL2U5yfnfsongNt8H8orDSt58jw8Kj+A=DKo0GQ@mail.gmail.com' \
    --to=andlind@gmail.com \
    --cc=23347@debbugs.gnu.org \
    --cc=acm@muc.de \
    /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.