[Top][All Lists]

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

Opposite of move-to-window-line?

From: Kalle Olavi Niemitalo
Subject: Opposite of move-to-window-line?
Date: 18 Jul 2001 13:18:45 +0300

How can I compute the Y coordinate of point, such that
(move-to-window-line Y) would move point to the line
where it already is?

I tried (count-lines (window-start) (line-beginning-position)),
but that doesn't notice if a line is wider than the window and
wraps around at the edge.

reply via email to

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