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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28391: closed (line-pixel-height works at bol but not at eol)
Date: Tue, 12 Sep 2017 02:36:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 12 Sep 2017 05:35:45 +0300
with message-id <83tw08r6da.fsf <at> gnu.org>
and subject line Re: bug#28391: line-pixel-height works at bol but not at eol
has caused the debbugs.gnu.org bug report #28391,
regarding line-pixel-height works at bol but not at eol
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
28391: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28391
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
To: bug-gnu-emacs <at> gnu.org
Cc: tkk <at> misasa.okayama-u.ac.jp
Subject: 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::).


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
Cc: 28391-done <at> debbugs.gnu.org
Subject: Re: bug#28391: line-pixel-height works at bol but not at eol
Date: Tue, 12 Sep 2017 05:35:45 +0300
> Date: Tue, 12 Sep 2017 07:59:00 +0900 (JST)
> Cc: 28391 <at> debbugs.gnu.org, tkk <at> misasa.okayama-u.ac.jp
> From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
> 
> > Thanks, this bug should be fixed now.
> 
> I confirmed that (line-pixel-height) returns correct
> height when point is at the end of line on macOS 10.9.5.

Thanks, closing.


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

Previous Next


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