regi-pos

regi-pos is a compiled Lisp function in `regi.el'.

(regi-pos &optional POSITION COL-P)

Return the character position at various buffer positions.
Optional POSITION can be one of the following symbols:

`bol' == beginning of line
`boi' == beginning of indentation
`eol' == end of line [default]
`bonl' == beginning of next line
`bopl' == beginning of previous line

Optional COL-P non-nil returns `current-column' instead of character position.