unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
Date: Thu, 31 Aug 2006 17:04:54 +0200	[thread overview]
Message-ID: <m33bbd9ca1.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <m3zmg95znf.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Mon, 19 Jun 2006 10:16:04 +0200")

storm@cua.dk (Kim F. Storm) writes:

> David Kastrup <dak@gnu.org> 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 <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2006-08-31 15:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16 23:14 [dak@gnu.org: Strange scrolling with partially visible lines.] Richard Stallman
2006-06-18 22:07 ` David Kastrup
2006-06-19  8:16   ` Kim F. Storm
2006-08-31 15:04     ` Kim F. Storm [this message]
2006-08-31 15:13       ` David Kastrup
2006-08-31 21:45         ` Kim F. Storm
2006-09-05 22:59       ` Kim F. Storm
2006-09-06 19:06         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m33bbd9ca1.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).