I am writing a book-length text using LaTeX. I sometimes find difficulty in finding/understanding the various errors when compiling. I am using Emacs/AUCTeX. Is there a way of modifying emacs to make debugging easier?
What you can do is to use the compilation from emacs with
M-x compile. Then you can write the command you want to use, for example
A new buffer will open:
*compilation* in this buffer you can use
tab to go to the next warning/error which indicate the line where the problem occurs.
enter, you'll open a buffer where the error occurs at the correct line. So you have two buffer open, one with your (La)TeX file and the other with the log: