Damien Cassou writes: > Nicolas Petton writes: >> 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). > > The existing function `line-number-at-pos` returns the line number > relative to current narrowing. I need a function that returns the > absolute line number (as I need to save the line number in a > separate file so that I can later open at the appropriate > line). Do you think the function name is misleading? What about > one of these? What about something like this: (defun current-line (&optional ignore-narrowing) ...) Cheers, Nico