Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!allegra!kautz From: allegra!kautz@EDDIE.MIT.EDU (Henry Kautz) Newsgroups: gnu.emacs Subject: determining current window line? Message-ID: <8903170459.AA01691@prep.ai.mit.edu> Date: 16 Mar 89 23:21:25 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 Is there a function to determine the line point is on relative to the current top of window? E.g., so that (move-to-window-line (foobar)) would be a no-op. Using count-lines to count between (window-start) and (point) fails in case long lines are wrapped. ---- Henry Kautz :uucp: allegra!kautz :arpa/internet: kautz%research.att.com :csnet: kautz%research.att.com@RELAY.CS.NET :old csnet: kautz%allegra@btl.csnet :mail: AT&T Bell Laboratories Room 3C-402A 600 Mountain Ave. Murray Hill, N.J. 07974 :telephone: (201) 582-2815