When Emacs reports error it always show code with a buffer position, with which it is quite unconvenient to find out where the exact words locate.
It there any way to know the exact line number of the buffer position?
When Emacs reports error it always show code with a buffer position, with which it is quite unconvenient to find out where the exact words locate.
It there any way to know the exact line number of the buffer position?
C-x = (current position)
C-x l (line on and lines in page, that is between next page-break symbol ^L)
M-x what-line (shows current line)
but i think, what you want is
M-x goto-char pos
(goto position pos in buffer)
It seems you need Goto line: M-g g
The exact line number of the buffer position is shown in the status line of your Emacs buffer.