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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28391 in the body.
You can then email your comments to 28391 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28391; Package emacs. (Fri, 08 Sep 2017 12:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 08 Sep 2017 12:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28391; Package emacs. (Fri, 08 Sep 2017 13:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 28391 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
Cc: 28391 <at> debbugs.gnu.org
Subject: Re: bug#28391: line-pixel-height works at bol but not at eol
Date: Fri, 08 Sep 2017 16:17:17 +0300
> Date: Fri, 08 Sep 2017 21:23:57 +0900 (JST)
> From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
> Cc: tkk <at> misasa.okayama-u.ac.jp
> 
> 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

Thanks, this bug should be fixed now.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28391; Package emacs. (Mon, 11 Sep 2017 23:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 28391 <at> debbugs.gnu.org (full text, mbox):

From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
To: eliz <at> gnu.org
Cc: 28391 <at> debbugs.gnu.org, tkk <at> misasa.okayama-u.ac.jp
Subject: Re: bug#28391: line-pixel-height works at bol but not at eol
Date: Tue, 12 Sep 2017 07:59:00 +0900 (JST)
Thank you for the response.

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




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 12 Sep 2017 02:36:02 GMT) Full text and rfc822 format available.

Notification sent to Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>:
bug acknowledged by developer. (Tue, 12 Sep 2017 02:36:02 GMT) Full text and rfc822 format available.

Message #16 received at 28391-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Oct 2017 11:24:05 GMT) Full text and rfc822 format available.

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.