bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17942: 24.3.92; pos-visible-in-window-p with PARTIALLY is wrong for


From: Eli Zaretskii
Subject: bug#17942: 24.3.92; pos-visible-in-window-p with PARTIALLY is wrong for the first row only containing a single image
Date: Sat, 05 Jul 2014 11:25:23 +0300

> Date: Sat, 05 Jul 2014 17:00:40 +0900
> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> Cc: 17942-done@debbugs.gnu.org
> 
> > Fixed in revision 117352 on the emacs-24 branch.
> 
> Thanks for the quick fix.  But it still returns a wrong value when an
> image is not at the beginning of buffer but located at the first row:
> 
> (let ((p (point)))
>   (insert-image (create-image "splash.png"))
>   (insert ?\n)
>   (set-window-start nil p)
>   (pos-visible-in-window-p p nil t))
> 
> This returns (0 188) instead of (0 0).  If we replace (insert ?\n)
> with (insert ?a ?\n), then it returns (0 0) as expected.

Fixed again in r117353.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]