unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
To: 28391@debbugs.gnu.org
Cc: tkk@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)	[thread overview]
Message-ID: <20170908.212357.1393548744124695565.tkk@misasa.okayama-u.ac.jp> (raw)

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





             reply	other threads:[~2017-09-08 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 12:23 Tak Kunihiro [this message]
2017-09-08 13:17 ` bug#28391: line-pixel-height works at bol but not at eol Eli Zaretskii
2017-09-11 22:59   ` Tak Kunihiro
2017-09-12  2:35     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170908.212357.1393548744124695565.tkk@misasa.okayama-u.ac.jp \
    --to=tkk@misasa.okayama-u.ac.jp \
    --cc=28391@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).