[Top][All Lists]

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

Re: line-pixel-height beyond eol

From: Eli Zaretskii
Subject: Re: line-pixel-height beyond eol
Date: Sat, 23 Sep 2017 16:16:59 +0300

> Date: Sat, 23 Sep 2017 21:57:00 +0900 (JST)
> Cc: address@hidden, address@hidden
> From: Tak Kunihiro <address@hidden>
> > Can you use vertical-motion for that?
> After try and error, I learned how to get height of pixel on
> visual-line using `vertical-motion' and `posn-x-y' as shown below.
> However, when (window-hscroll) is large, I cannot get y location of
> cursor using `posn-x-y'.  Can you give me suggestion how to get y
> location of cursor even when when (window-hscroll) is large?

I need to see an example of a situation where you cannot get the Y
coordinate of the cursor due to a large window-hscroll.  Is it at all
an interesting situation, or just a theoretical one?  Also, if you
just use frame-char-height in that case, does that solve the problem?

reply via email to

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