GNU bug report logs - #28391
line-pixel-height works at bol but not at eol

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>

Date: Fri, 8 Sep 2017 12:46:02 UTC

Severity: normal

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: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
To: 28391 <at> debbugs.gnu.org
Cc: tkk <at> misasa.okayama-u.ac.jp
Subject: bug#28391: line-pixel-height works at bol but not at eol
Date: Fri, 08 Sep 2017 21:23:57 +0900 (JST)
When point is at the end of line with an inline image,
line-pixel-height returns height of text instead of that of image.  I
wonder if following response is because of bug or spec.

GNU Emacs 25.2.1 (x86_64-w64-mingw32)
emacs -Q
M-x about-emacs
M-x beginning-of-buffer
M-: (line-pixel-height) => 188
M-x move-end-of-line
M-: (line-pixel-height) => 22

-- Function: line-pixel-height
    This function returns the height in pixels of the line at point in
    the selected window.  The value includes the line spacing of the
    line (*note Line Height::).




This bug report was last modified 7 years and 314 days ago.

Previous Next


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