Thanks! It is what I want. On Wed, Jan 15, 2014 at 2:55 AM, Eli Zaretskii wrote: > > From: Darren Hoo > > 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. >