unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Markus Triska <markus.triska@gmx.at>
Cc: 2549@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org
Subject: bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly
Date: Tue, 03 Mar 2009 13:00:55 +0100	[thread overview]
Message-ID: <87bpsilsso.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <mailman.2246.1236045825.31690.bug-gnu-emacs@gnu.org> (Markus Triska's message of "Tue, 3 Mar 2009 02:39:43 +0100 (CET)")

Markus Triska <markus.triska@gmx.at> writes:

Hi Markus,

> With p.ps from:
>
>    http://www.logic.at/prolog/p.ps
>
> when I do:
>
>    $ emacs -Q p.ps
>
> and press:
>
>    C-c C-c C-x 2
>
> and then press C-M-v repeatedly, the other window eventually wraps
> around instead of stopping at the image border like C-v does.

That's because `scroll-other-window' calls scroll-up/down in the other
window, but if the other window contains an doc-view buffer it should
ideally call image-scroll-up/down.

The only good solution I see is to define buffer local variables
`scroll-up-function' and `scroll-down-function' which are used by
`scroll-up' and `scroll-down' and then binding them appropriate in each
mode.

Anyway, that's not really related to doc-view.  All non-text modes are
pertained here.  Comments?

Bye,
Tassilo






       reply	other threads:[~2009-03-03 12:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2246.1236045825.31690.bug-gnu-emacs@gnu.org>
2009-03-03 12:00 ` Tassilo Horn [this message]
2009-03-03 16:44   ` bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly Stefan Monnier
2009-03-03 19:14     ` Tassilo Horn
2009-03-04  1:16       ` Stefan Monnier
2009-03-04 12:44   ` martin rudalics
2009-03-03  1:39 Markus Triska

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpsilsso.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=2549@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=markus.triska@gmx.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).