help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to get the number of displayed line the point is in?


From: Marcin Borkowski
Subject: Re: How to get the number of displayed line the point is in?
Date: Thu, 07 Jun 2018 19:10:44 +0200
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-06-03, at 17:04, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Sun, 03 Jun 2018 05:58:07 +0200
>> 
>> as in the subject.  I want to know how far the point is from the top of
>> the screen.
>
> Does posn-at-point fit the bill?
>
>> (What I actually need to do is to inert something in the
>> current buffer in such a position so that it appears precisely on the
>> last visible line.)
>
> Then perhaps pos-visible-in-window-p is your friend?

Thanks a lot, I'll check it out in some Free Timeā„¢.

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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