|
From: | Ralf Angeli |
Subject: | Re: [Nicolas Dudebout] Re: [Bug-AUCTeX] 11.84; Filename containing spaces in Mac OS X |
Date: | Tue, 07 Aug 2007 23:23:21 +0200 |
User-agent: | Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
* 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
[Prev in Thread] | Current Thread | [Next in Thread] |