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

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

window-line and window-column


From: rgb
Subject: window-line and window-column
Date: 7 Oct 2005 15:44:23 -0700
User-agent: G2/0.2

How can I tell where, within the current window, I am.

Is there any way to tell what window line I'm currently on?  Even if I
use move-to-window-line and it's successful I may not actually be on
that line when it returns.  But realistically, I need to know what line
I'm on without moving and I don't see how I can tell.

I can't seem to fine a way to tell what window column I'm in either.
It seems I could probably use (window-width), (current-column) and
truncate-lines to figure it out but comments about popup-ruler on the
wiki make me think such a formula wouldn't be accurate.



reply via email to

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