From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Parital scrolling of image Date: Tue, 22 Feb 2005 00:15:06 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109029076 19286 80.91.229.2 (21 Feb 2005 23:37:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 23:37:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 22 00:37:56 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3N7W-0006Vy-T8 for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 00:37:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3NOZ-00029u-7S for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2005 18:55:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3NOL-000299-LZ for emacs-devel@gnu.org; Mon, 21 Feb 2005 18:55:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3NM1-0001ll-68 for emacs-devel@gnu.org; Mon, 21 Feb 2005 18:52:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3NLx-0001aW-Nr for emacs-devel@gnu.org; Mon, 21 Feb 2005 18:52:37 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3Mlg-0001zT-Lv; Mon, 21 Feb 2005 18:15:08 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 0E03047FE52; Tue, 22 Feb 2005 00:15:05 +0100 (CET) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Mon, 24 Jan 2005 16:27:37 +0100") 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33700 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33700 David Kastrup writes: >>> a) an "open preview" that starts on a line of its own in preview-latex >>> has an overlay starting at the beginning of the line. This overlay >>> has a before-string consisting of an image (display-property on a >>> single x character IIRC) followed by \n (so that the image will appear >>> on a line of its own). Note that the image as well as the \n are not >>> connected to a character in the buffer, but appear just as >>> before-string. Nevertheless, previous-line in the first _real_ line >>> of the overlay will be sufficiently confused as to not move at all. >>> Never. This effect is probably not related to the very latest >>> changes, though. I just noticed it when playing with the new code. >>> It leads to pretty unintuitive results, though. >> >> I tried various things with your circ.tex, but I cannot reproduce this >> with my latest fixes. > > I can. Generate previews, then walk with cursor left-right into a > preview that starts in the first column > (\begin{equation}...\end{equation} is a good candidate). Then walk a > few cursor positions to the right, then cursor up. The cursor will > just stick. See bottom half of included screen shot for a scenario. Does this still happen with my latest fixes? > > Then there is another one: if you have a small window with a partial > graphic at the bottom, and you use scroll-down, then the partial > graphic gets moved down pretty much as expected, only to scroll up > back on-screen when the cursor blinks. That is: in some instances the > scrolling decisions do not survive cursor blinking. I think I have fixed this. Please test. > Seems to work. One thing that surprised me is that the scroll bars (I > have no-toolkit scrollbars) do not seem to fall into the pixel-based > scrolling category: only whole images get moved, no vscroll effects > noticeable. This is particularly obvious when dragging. I put this on the FOR-RELEASE list. I also fixed it so that when you move backwards into an image, emacs now shows that bottom part of the image, rather than the top part (which triggers the crash in sit-for). -- Kim F. Storm http://www.cua.dk