GNU bug report logs - #14881
24.3.50; Odd cursor movement with images (or lines with different heights?)

Previous Next

Package: emacs;

Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Date: Tue, 16 Jul 2013 17:59:02 UTC

Severity: normal

Found in version 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 14881 <at> debbugs.gnu.org
Subject: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?)
Date: Fri, 19 Jul 2013 17:04:14 +0300
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Cc: 14881 <at> debbugs.gnu.org
> Date: Fri, 19 Jul 2013 13:07:22 +0200
> 
> For me, `C-n' when standing on the sixth image (with the seventh
> half-visible) will put point on the fifth image (after scrolling).  I
> think putting point on the third would possibly seem more intuitive.

I misunderstood your original description.  Yes, I see this, too.  But
it is simply a matter of deciding what is the "middle" line of a
window.  Emacs currently looks, starting from the window's beginning,
for the first screen line whose Y pixel coordinate is _past_ the
middle of the window.  I think that is what you see.

> If we're at the first image, `C-p' will place point on the fifth image,

Not here.  I see point on the same 5th image (starting from the window
beginning) with both C-p and C-n.  Are you sure you type C-p slowly
enough to see the effect of each one of them separately?

In any case, "M-x trace-redisplay RET" shows that redisplay takes a
different path when scrolling forward and back in this case.




This bug report was last modified 12 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.