Package: auctex Version: 11.85-1 X-Debbugs-Cc: era+deb...@iki.fi I am forwarding the following bug report from Ubuntu: <https://bugs.launchpad.net/ubuntu/+source/auctex/+bug/790212>
The actual package version in Ubuntu is 11.85.1ubuntu1. Test case (see original description below for repro steps); save as test.tex: \documentclass{article} \begin{document} \emph{ \end{document} When you hit C-c C-c LaTeX RET, emacs says "LaTeX errors in `*~/test output'. Use C-c ` to display." Then I hit C-c ` and I expect one buffer called *TeX Help* to be created containing the "Missing } inserted" error, alongside the original test.tex buffer. But this doesn't happen: instead, two buffers are created: one called *TeX Help*, and a read-only buffer called Debian. Both are empty, and the minibuffer says: Search failed: "^l\\." These two buffers replace the test.tex buffer. 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. --- Original bug report --- If I run emacs -q and load the following file, ~/test.tex: \documentclass{beamer} \begin{document} \begin{frame} $a_{b$ \end{frame} \end{document} and hit C-c C-c LaTeX RET, emacs says "LaTeX errors in `*~/test output'. Use C-c ` to display." Then I hit C-c ` and I expect one buffer called *TeX Help* to be created containing the "Missing } inserted" error, alongside the original test.tex buffer. But this doesn't happen: instead, two buffers are created: one called *TeX Help*, and a read-only buffer called Debian. Both are empty, and the minibuffer says: Search failed: "^l\\." These two buffers replace the test.tex buffer. Incidentally, if I go to the new Debian buffer and hit C-x C-w, the minibuffer says "Write file: ~/TeX Live 2009/", which I find rather curious. If I comment out the \begin{frame} and \end{frame} lines in test.tex, then I do get the expected behaviour. /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org