From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Parital scrolling of image Date: Sat, 22 Jan 2005 17:55:28 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106414082 6734 80.91.229.6 (22 Jan 2005 17:14:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Jan 2005 17:14:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 22 18:14:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CsOqD-00030D-00 for ; Sat, 22 Jan 2005 18:14:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsP2J-0002aV-BO for ged-emacs-devel@m.gmane.org; Sat, 22 Jan 2005 12:26:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CsP29-0002aN-Q1 for emacs-devel@gnu.org; Sat, 22 Jan 2005 12:26:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CsP29-0002aB-Gy for emacs-devel@gnu.org; Sat, 22 Jan 2005 12:26:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsP1a-0002MI-Ol for emacs-devel@gnu.org; Sat, 22 Jan 2005 12:26:14 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CsOXo-0008Sy-7p for emacs-devel@gnu.org; Sat, 22 Jan 2005 11:55:28 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CsOWF-0006aL-4v; Sat, 22 Jan 2005 11:53:51 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Sat, 22 Jan 2005 02:46:54 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: main.gmane.org gmane.emacs.devel:32495 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32495 storm@cua.dk (Kim F. Storm) writes: > storm@cua.dk (Kim F. Storm) writes: > >> A brief message to let you know that I've started to look into >> the problem of scrolling through images that are higher/wider >> than the current window. >> >> I've already have a working solution for tall images. > > I have installed my changes. They modify line-move and > scroll-up, scroll-down. > > If you have problems with this, set auto-window-vscroll to nil. Cough, cough. If I have a window with the upper half taken up by an image, and point is in some normal text below the image, then pressing C-n will _not_ move to the next line (which is perfectly on screen and quite far from the edge), but instead the window will get vscrolled a line. This process repeats a few time: just vscrolling happens, but point does not change the buffer position. At some point of time which does not appear overly related to how much of the image has already scrolled off-screen, the image jumps back fully into sight, and at the same time point moves one line down, finally. If you keep using C-n, again the very same image will vscroll off the screen for several keypresses (while point does not change), then jump back to fully visible at which time point finally moves one line down. This isn't it yet. As long as point can move down a line without causing scrolling, it should do so. Only when scrolling would occur on movement should vscrolling be considered as an alternative to actually moving point. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum