From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [dak@gnu.org: Strange scrolling with partially visible lines.] Date: Thu, 31 Aug 2006 17:04:54 +0200 Message-ID: References: <85zmgarucs.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157036861 13459 80.91.229.2 (31 Aug 2006 15:07:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2006 15:07:41 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 31 17:07:39 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GIo7t-0006AG-GY for ged-emacs-devel@m.gmane.org; Thu, 31 Aug 2006 17:06:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIo7t-0002IZ-3E for ged-emacs-devel@m.gmane.org; Thu, 31 Aug 2006 11:06:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIo7b-0002Eb-7P for emacs-devel@gnu.org; Thu, 31 Aug 2006 11:06:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIo7Z-0002Dc-H5 for emacs-devel@gnu.org; Thu, 31 Aug 2006 11:06:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIo7Z-0002DS-CW for emacs-devel@gnu.org; Thu, 31 Aug 2006 11:06:21 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GIoH9-000422-5N; Thu, 31 Aug 2006 11:16:15 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id A3132A5007C; Thu, 31 Aug 2006 17:06:05 +0200 (CEST) Original-To: David Kastrup In-Reply-To: (Kim F. Storm's message of "Mon, 19 Jun 2006 10:16:04 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.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: news.gmane.org gmane.emacs.devel:59160 Archived-At: storm@cua.dk (Kim F. Storm) writes: > David Kastrup writes: > >>> If I have a mail with an embedded image at the bottom (which runs off >>> the frame), and I try walking over it with forward-char, instead of >>> the cursor being displayed on the image itself (when it reaches >>> there), the cursor blinks at the top left corner of the window (where >>> it has no business whatsoever). When doing another forward-char, >>> scrolling commences to after the image. >> >> Kim did some changes after that, and I could not reproduce the effect. >> Last time I looked, there were still scrolling peculiarities >> remaining. > > I have looked at those problems, and I have some ideas how to fix > them, but IIRC, we agreed back when I made the changes to make images > scrollable (using vscroll) that we needed to rework thiscompletely > after the release. > > In any case, if I find a _simple_ way to improve the current code, > I'll install it. I have looked some more at this problem, and one basic flaw that need to be fixed is that to scroll through a partially visible image, we currently always adjusts the vscroll (and keep the window-start) also in cases where there is text above the image, so that adjusting window start makes more sense. This is not the only flaw though, so I'll keep looking at it... -- Kim F. Storm http://www.cua.dk