all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [dak@gnu.org: Strange scrolling with partially visible lines.]
@ 2006-06-16 23:14 Richard Stallman
  2006-06-18 22:07 ` David Kastrup
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Stallman @ 2006-06-16 23:14 UTC (permalink / raw)


Could someone please DTRT with this, and ack?

------- Start of forwarded message -------
To: emacs-devel@gnu.org
From: David Kastrup <dak@gnu.org>
Date: Thu, 01 Jun 2006 22:30:49 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Strange scrolling with partially visible lines.
X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed 
	version=3.0.4


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.

This is with a version from today.  I don't know for sure how long
this weird behavior has been there already, but a month ago or so
things were still behaving reasonably.

There are also several cases now in a buffer with multiple large
images where repeated scroll-up gets stuck in a loop because one of
the scroll-up commands makes backward progress.

- -- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  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
  0 siblings, 1 reply; 8+ messages in thread
From: David Kastrup @ 2006-06-18 22:07 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Could someone please DTRT with this, and ack?
>
> From: David Kastrup <dak@gnu.org>
> Subject: Strange scrolling with partially visible lines.
> To: emacs-devel@gnu.org
> Date: Thu, 01 Jun 2006 22:30:49 +0200
>
>
> 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.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  2006-06-18 22:07 ` David Kastrup
@ 2006-06-19  8:16   ` Kim F. Storm
  2006-08-31 15:04     ` Kim F. Storm
  0 siblings, 1 reply; 8+ messages in thread
From: Kim F. Storm @ 2006-06-19  8:16 UTC (permalink / raw)
  Cc: rms, emacs-devel

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.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  2006-06-19  8:16   ` Kim F. Storm
@ 2006-08-31 15:04     ` Kim F. Storm
  2006-08-31 15:13       ` David Kastrup
  2006-09-05 22:59       ` Kim F. Storm
  0 siblings, 2 replies; 8+ messages in thread
From: Kim F. Storm @ 2006-08-31 15:04 UTC (permalink / raw)
  Cc: rms, emacs-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  2006-08-31 15:04     ` Kim F. Storm
@ 2006-08-31 15:13       ` David Kastrup
  2006-08-31 21:45         ` Kim F. Storm
  2006-09-05 22:59       ` Kim F. Storm
  1 sibling, 1 reply; 8+ messages in thread
From: David Kastrup @ 2006-08-31 15:13 UTC (permalink / raw)
  Cc: rms, emacs-devel

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

> storm@cua.dk (Kim F. Storm) writes:
>
>> David Kastrup <dak@gnu.org> writes:
>>
>>> Last time I looked, there were still scrolling peculiarities
>>> remaining.
>
> 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...

At the moment I am not trying to reproduce anything in particular
(usually taking the example file of preview-latex, running it through
preview-document and paging back and forth is still giving enough
trouble as to not require looking for it) because we are supposed to
go into pretest tomorrow and I am still trying to wrap my head around
making key-binding follow events.  That's pretty urgent, since while
it will fix a few bugs, it is somewhat feature-flavored.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  2006-08-31 15:13       ` David Kastrup
@ 2006-08-31 21:45         ` Kim F. Storm
  0 siblings, 0 replies; 8+ messages in thread
From: Kim F. Storm @ 2006-08-31 21:45 UTC (permalink / raw)
  Cc: rms, emacs-devel

David Kastrup <dak@gnu.org> writes:

> storm@cua.dk (Kim F. Storm) writes:
>
>> storm@cua.dk (Kim F. Storm) writes:
>>
>>> David Kastrup <dak@gnu.org> writes:
>>>
>>>> Last time I looked, there were still scrolling peculiarities
>>>> remaining.
>>
>> 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...
>
> At the moment I am not trying to reproduce anything in particular
> (usually taking the example file of preview-latex, running it through
> preview-document and paging back and forth is still giving enough
> trouble as to not require looking for it) because we are supposed to
> go into pretest tomorrow and I am still trying to wrap my head around
> making key-binding follow events.  That's pretty urgent, since while
> it will fix a few bugs, it is somewhat feature-flavored.

I still have the sample you sent me a while back.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  2006-08-31 15:04     ` Kim F. Storm
  2006-08-31 15:13       ` David Kastrup
@ 2006-09-05 22:59       ` Kim F. Storm
  2006-09-06 19:06         ` Richard Stallman
  1 sibling, 1 reply; 8+ messages in thread
From: Kim F. Storm @ 2006-09-05 22:59 UTC (permalink / raw)
  Cc: rms, emacs-devel

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

> 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...

I have just installed some changes to line-move and scrolling which
should make scrolling of partially visible lines _better_.

It is still not perfect -- particularly in Gnus article buffers, it
doesn't behave quite well with very wide images, probably due to the
way Gnus inserts the image in the buffer [using overlays or some such
on a newline].

But the random forward/backward jumping doesn't seem to happen anymore
-- at least not for normal images.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dak@gnu.org: Strange scrolling with partially visible lines.]
  2006-09-05 22:59       ` Kim F. Storm
@ 2006-09-06 19:06         ` Richard Stallman
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Stallman @ 2006-09-06 19:06 UTC (permalink / raw)
  Cc: emacs-devel

    But the random forward/backward jumping doesn't seem to happen anymore
    -- at least not for normal images.

Thanks for working on this.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-09-06 19:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.