[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to scroll other window backwards? C-M-v does forwards
From: |
Lowell Gilbert |
Subject: |
Re: How to scroll other window backwards? C-M-v does forwards |
Date: |
Wed, 08 Dec 2010 15:17:15 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) |
Daniel <unagimiyagi@gmail.com> writes:
> I think that the control + meta + v function is great. However, is
> there a way to scroll the other window's file backwards without having
> to leave my current window?
> C-M-v runs the command scroll-other-window, which is an interactive
> built-in function in `C source code'.
>
> It is bound to <M-next>, C-M-v, ESC <next>.
>
> (scroll-other-window &optional ARG)
>
> Scroll next window upward ARG lines; or near full screen if no ARG.
> A near full screen is `next-screen-context-lines' less than a full screen.
> The next window is the one below the current one; or the one at the top
> if the current one is at the bottom. Negative ARG means scroll downward.
> If ARG is the atom `-', scroll downward by nearly full screen.
> When calling from a program, supply as argument a number, nil, or `-'.
>
> If `other-window-scroll-buffer' is non-nil, scroll the window
> showing that buffer, popping the buffer up if necessary.
> If in the minibuffer, `minibuffer-scroll-window' if non-nil
> specifies the window to scroll. This takes precedence over
> `other-window-scroll-buffer'.
So a negative prefix is all you need.