bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] 11.82; TeX-master not used after TeX-next-error


From: Gustaf Hendeby
Subject: [Bug-AUCTeX] 11.82; TeX-master not used after TeX-next-error
Date: Sun, 12 Feb 2006 23:58:01 +0100 (MET)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------


Recently I upgraded from AUCTeX 11.55 to 11.82, and since then I have
been experiencing the following strange behavior.  After using
TeX-next-error any compile command will not use the file name given as
TeX-master but instead what comes from parsing the name of the
*output* buffer and then adding .tex (it seems).  Normally this is not
a problem, but if a non-standard file extension is used this becomes a
problem.  

To see the effect create the file foo.ltx (note the extension) with
the following minimal content:

\documentclass{article}
\begin{document}
\end{document} 

Compiling this file (repeatedly) should be no problem! Now add an
error, and compile again.  Use TeX-next-error to view the problem, and
then try to compile the file again.  AUCTeX will now try to compile
foo.tex instead of foo.ltx, without success.  After "resetting the
document" with TeX-normal-mode compilation works once again until
TeX-next-error is used.

Best regards
     Gustaf Hendeby



Emacs  : GNU Emacs 21.4.2 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2005-02-21 on byggotron.isy.liu.se
Package: 11.82

current state:
==============
(setq
 AUCTeX-date "2005-12-17"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" 
"/home/rt/hendeby/usr/local/emacs/site-lisp/auctex/style" 
"/home/rt/hendeby/usr/local/var/auctex")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master "/home/rt/hendeby/foo/auctexbug/foo"
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\"" 
TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain 
TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil 
(latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil 
(texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil 
(texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\"" 
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t" 
TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil 
(context-mode) :help "Run ConTeXt until completion")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive 
nil (context-mode) :help "Clean temporary ConTeXt files") ("BibTeX" "bibtex %s" 
TeX-run-BibTeX nil t :help "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer") 
("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help "View the 
printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help 
"Generate PostScript file") ("Index" "makeindex %s" TeX-run-command nil t :help 
"Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) 
:help "Check LaTeX file for correctness")
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t :help 
"Spell-check the document") ("Other" "" TeX-run-command t t :help "Run an 
arbitrary command"))
 )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]