Here is a simpler test case: \documentclass{article} \begin{document} \emph{ \end{document}
The problem seems to be that TeX-next-error expects every error in the log file to have a line number attached to it. But the error here is ! File ended while scanning use of \emph . which doesn't generate a line number. ** Summary changed: - missing } not handled correctly: Search failed: "^l\\." and mysterious Debian buffer + "! File ended while scanning use of" error not handled correctly by TeX-next-error -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790212 Title: "! File ended while scanning use of" error not handled correctly by TeX-next-error -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs