* Making scroll-other-window work with pdf-view/doc-view
@ 2015-08-26 12:52 Tassilo Horn
0 siblings, 0 replies; only message in thread
From: Tassilo Horn @ 2015-08-26 12:52 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
is there a way to make `scroll-other-window' work in such a way which
would consider what scrolling means in the other window buffer's mode?
Concretely, I'm writing a latex document and have the compiled PDF in
another buffer shown in the other window. When I press M-<prior> or
M-<next> to scroll the other window, it scrolls the image of the current
page up or down and then jumps back. What I like it to do was to scroll
and then jump to the next/previous page, e.g., scroll-other-window
should actually call `pdf-view-scroll-up-or-next-page' and
`pdf-view-scroll-down-or-previous-page'.
I've tried remapping `scroll-up', `scroll-up-command',
`image-scroll-up', and `image-scroll-down' in `pdf-view-mode-map' but
that didn't do the trick.
The same problem applies also to `doc-view-mode' where other window
scrolling "fails" in the same way.
Any idea how to get that right?
Bye,
Tassilo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-26 12:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 12:52 Making scroll-other-window work with pdf-view/doc-view Tassilo Horn
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.