emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: How to get column number relative to the beginning of a screen line?
Date: Tue, 14 Jan 2014 20:55:31 +0200

> From: Darren Hoo <address@hidden>
> Date: Wed, 15 Jan 2014 01:59:32 +0800
> 
> 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".

I think you want posn-at-point.



reply via email to

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