* Ralf Angeli (2007-08-07) writes:

> I can reproduce the bug with the View command not being shown with a
> file called "space test.tex" as simple as
>
> \documentclass{article}
> \begin{document}
> foo
> \end{document}

The cause is that `TeX-output-extension' is set to something like
"dvi\"" by `TeX-TeX-sentinel-check'.  The following patch should fix
this.  Does anybody see a more elegant way?

--- tex-buf.el  10 Jul 2007 22:58:43 +0200      1.261
+++ tex-buf.el  07 Aug 2007 23:19:53 +0200      
@@ -836,7 +836,7 @@
 Return nil ifs no errors were found."
   (save-excursion
     (goto-char (point-max))
-    (if (re-search-backward "^Output written on \\(.*\\) (\\([0-9]+\\) page"
+    (if (re-search-backward "^Output written on \"?\\([^\"]*\\)\"? 
(\\([0-9]+\\) page"
                            nil t)
        (let ((output-file (TeX-match-buffer 1)))
          (setq TeX-current-page (concat "{" (TeX-match-buffer 2) "}"))

-- 
Ralf


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to