emacs-devel
[Top][All Lists]
Advanced

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

How to get column number relative to the beginning of a screen line?


From: Darren Hoo
Subject: How to get column number relative to the beginning of a screen line?
Date: Wed, 15 Jan 2014 01:59:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin)

if a line wrap or truncation happens how can I get the column number
relative to the beginning of the line displayed? for example:

-------------------------------------------------------------
This is a a loooooooooooooooooooooooooooooooooooooooooog line
start of the continuation <!> line
-------------------------------------------------------------

If point stays at <!>, some function `current-screen-column' should
return the relative column number to "start".

Is there any function available like count-screen-lines does but
calculates column number?




reply via email to

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