From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly Date: Tue, 03 Mar 2009 13:00:55 +0100 Message-ID: <87bpsilsso.fsf@thinkpad.tsdh.de> References: Reply-To: Tassilo Horn , 2549@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236083041 24171 80.91.229.12 (3 Mar 2009 12:24:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2009 12:24:01 +0000 (UTC) Cc: 2549@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 03 13:25:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LeTgM-0001YH-LE for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2009 13:25:10 +0100 Original-Received: from localhost ([127.0.0.1]:47361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeTf1-0004np-CT for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2009 07:23:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeTew-0004ne-MI for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2009 07:23:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeTew-0004nM-6M for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2009 07:23:42 -0500 Original-Received: from [199.232.76.173] (port=59646 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeTew-0004nH-3D for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2009 07:23:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60682) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeTev-0002FP-JQ for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2009 07:23:41 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n23CNduw031100; Tue, 3 Mar 2009 04:23:39 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n23C59YK025739; Tue, 3 Mar 2009 04:05:09 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 03 Mar 2009 12:05:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2549 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2549-submit@emacsbugs.donarmstrong.com id=B2549.123608166124359 (code B ref 2549); Tue, 03 Mar 2009 12:05:09 +0000 Original-Received: (at 2549) by emacsbugs.donarmstrong.com; 3 Mar 2009 12:01:01 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n23C0vtq024353 for <2549@emacsbugs.donarmstrong.com>; Tue, 3 Mar 2009 04:00:59 -0800 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 65552789B033; Tue, 3 Mar 2009 13:00:57 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26528-09; Tue, 3 Mar 2009 13:00:56 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp121.uni-koblenz.de [141.26.71.121]) by deliver.uni-koblenz.de (Postfix) with ESMTP id DC68D789AD3A; Tue, 3 Mar 2009 13:00:55 +0100 (CET) In-Reply-To: (Markus Triska's message of "Tue, 3 Mar 2009 02:39:43 +0100 (CET)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 03 Mar 2009 07:23:42 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25939 gmane.emacs.pretest.bugs:24053 Archived-At: Markus Triska 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