[Solved] Get position in an other window
Posted: Wed Nov 02, 2011 7:41 am
Hi
I want to know the line number corresponding to the point of a window which is not the current one.
I tried
(window-point my-window)
but I got the point and not the line number.
Unfortunately, line-number-at-pos is only working for current buffer. Is there a line-number-at-pos function working with other windows?
Thanks
I want to know the line number corresponding to the point of a window which is not the current one.
I tried
(window-point my-window)
but I got the point and not the line number.
Unfortunately, line-number-at-pos is only working for current buffer. Is there a line-number-at-pos function working with other windows?
Thanks