From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Scrolling in doc-view Date: Thu, 18 Oct 2007 10:29:32 +0200 Message-ID: <87ve94su4z.fsf@baldur.tsdh.de> References: <87bqbhkhc6.fsf@baldur.tsdh.de> <58152.128.165.0.81.1191330286.squirrel@webmail.lanl.gov> <878x6ljwb4.fsf@baldur.tsdh.de> <87fy0r2u3z.fsf@baldur.tsdh.de> <87wsu1sear.fsf@baldur.tsdh.de> <878x6gqqfa.fsf@baldur.tsdh.de> <87abqt2x52.fsf@jurta.org> <87ejg47z87.fsf@baldur.tsdh.de> <87abqkyu1p.fsf@baldur.tsdh.de> <87myuhuwrr.fsf_-_@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192696248 16164 80.91.229.12 (18 Oct 2007 08:30:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 08:30:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 10:30:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IiQm8-0008T9-Be for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 10:30:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiQm1-0005Yf-02 for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 04:30:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IiQl8-0004SZ-1t for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:29:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IiQl7-0004QX-2r for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:29:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiQl6-0004QL-OS for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:29:36 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IiQl6-0002Cj-6N for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:29:36 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id BDF3632D29; Thu, 18 Oct 2007 04:29:35 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 18 Oct 2007 04:29:35 -0400 X-Sasl-enc: hnS93yc+wkIUUAw9sr0Z5bigxFf3mVYet+dEIfFvg5Ul 1192696175 Original-Received: from baldur.tsdh.de (dslb-084-063-061-048.pools.arcor-ip.net [84.63.61.48]) by mail.messagingengine.com (Postfix) with ESMTP id 9E3F4239E8; Thu, 18 Oct 2007 04:29:34 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAIAAACI8LKTAAAACXBIWXMAAAsSAAALEgHS3X78 AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAw NGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAAB hklEQVRo3u2awQ3CMAxFvQNDcOkELMZeDMImcEcCiQMXpKrBjv83jptLTmmTvH47P07l9Xie78s+ 2+vhcjzdvtt1H5lo2piEMUy7Z2Y063kKbxhrzzxoggD1TSgPoE8r+kBgQInEtDWKSkHticag+Reg 9hrFH6XxmPQorT1/5CDU1GNC1aMXAyD/tPrChKc71HzMCkJ9K9QGjMpohm3eM4AVRx7rQHHSfapB JXuP3q1rcQHSK8J6NOlzLqjP5gLESMN+d8PzR2BA8Scy7ObgArS1bH34ZDiyWjOpeEj7bcF/CyCa 0YXnUyIB9b2HqCD25pohuGCAIp1Un+HwPCWMAmu8glAHi1JFe//BCBZi+THxlCujQ5mAwBZhMEAa S4kC1PesZNBCjL0oAohXAxgGkP+KKdJ5SQY0jDohKnNJtj2IXRJJCoh3fcRuZaJJBCh/CS0IEPvG vSCgEdFQAGUOlnSAavzuKVM7dEBV0UxAfEC10cAA1f4nfwJait9qJAW0B+1MBanaN8/hXhJvKAwx AAAAGnpUWHRqcGVnOmNvbG9yc3BhY2UAAHjaMwIAADMAM4k4IzUAAAAmelRYdGpwZWc6c2FtcGxp bmctZmFjdG9yAAB42jOqMNIxrDAEYQARgwLpPZcvTwAAAABJRU5ErkJggg== Mail-Followup-To: Chong Yidong , emacs-devel@gnu.org In-Reply-To: <87myuhuwrr.fsf_-_@stupidchicken.com> (Chong Yidong's message of "Wed, 17 Oct 2007 19:49:44 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81143 Archived-At: Chong Yidong writes: > The newly-installed doc-view package doesn't properly handle images > that are wider or taller than the Emacs window. The left/right keys > don't scroll the image horizontally, and scrolling vertically is > cumbersome (because once you reach the bottom of the image, it > disappears without warning, whereupon trying to scroll back up jumps > back to the top of the image). > > Image-mode used to have the same problems, but I recently enhanced it > so that large images can be scrolled vertically and horizontally. It > would be good to avoid re-introducing these annoyances with doc-view > mode. Could you take a look at the relevant functions in > image-mode.el (image-forward-hscroll, image-backward-hscroll, > image-previous-line, image-next-line, etc.) and try to use them in > doc-view mode? Thanks for the hint. Now I use your commands and it works brilliant! See my message <874pgou8xm.fsf@baldur.tsdh.de>. Bye, Tassilo