[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?
- line-pixel-height beyond eol, Tak Kunihiro, 2017/09/12
- Re: line-pixel-height beyond eol, Eli Zaretskii, 2017/09/12
- Re: line-pixel-height beyond eol, Tak Kunihiro, 2017/09/12
- Re: line-pixel-height beyond eol, Eli Zaretskii, 2017/09/13
- Re: line-pixel-height beyond eol, Tak Kunihiro, 2017/09/13
- Re: line-pixel-height beyond eol, Eli Zaretskii, 2017/09/14
- Re: line-pixel-height beyond eol, Tak Kunihiro, 2017/09/14
- Re: line-pixel-height beyond eol, Eli Zaretskii, 2017/09/15
- Re: line-pixel-height beyond eol, Tak Kunihiro, 2017/09/23
- Re: line-pixel-height beyond eol,
Eli Zaretskii <=