Suppose I have a source file that is 18218 bytes.
I open the file in emacs and then do:
M-x end-of-buffer
M-x what-cursor-position
Why does the cursor position return 17612 bytes?
I think this is due to translating CRLF or dropping CRLF to a single character.
How can I get emacs to report the exact, untranslated character position?
source
share