Damien Cassou writes: > Hi, Hi Damien, > attached patch adds `current-line' and its tests. This new > function returns the line number at given position ignoring > narrowing. I know narrowing have no effect on `current-column', but does it make sense to widen the buffer for `current-line'? (I don't have a strong opinion, but I think it's worth asking the question). Other than that, I think this is useful, thanks for the patch. > I guess that `what-line' could be refactored using > `current-line'. I can do that if you want. Yes, that'd be good. Cheers, Nico