bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.84; Errors in files with long names


From: Pierre Lorenzon
Subject: [Bug-AUCTeX] 11.84; Errors in files with long names
Date: Mon, 16 Jul 2007 14:08:39 +0200 (CEST)

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.
------------------------------------------------------------------------

Hi,

When I have an included file in my document whose name is to
long, erros cannot be retrieved correctly in it : 

When typing C-c `or M-g n, a truncated file is open. It means
the file name is note correctly read in the output buffer by
the parse method. It occurs when the file name in the output
buffer is splitt with a newline in it because it is to long. In
this case, the parse method only take the part being on the
first line and hence tries to open a file with truncated
truncated name which does not exist and where the error can
naturally not be found ! 

In my opinion, the problem is in file tex-buf.el at line 1370
in command :

              (rplaca TeX-error-file (TeX-match-buffer 2))))


or more precisely in the regexp above. This one is so
complicated that I am affraid of fixing it if necessary but
anyway ... 

Regards

Pierre

Emacs  : GNU Emacs 22.1.1 (i686-pc-linux-gnu)
 of 2007-06-06 on jabberwocky
Package: 11.84

current state:
==============
(setq
 AUCTeX-date "2007-01-12"
 window-system nil
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
                  "/usr/local/lib/teTeX/texmf/tex/latex/lorenzon/style"
                  "/usr/local/lib/teTeX/texmf/tex/latex/lorenzon/auto"
                  "/usr/share/emacs/site-lisp/auctex/style" "/usr/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master nil
 TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %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)%' %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")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "dvi2tty -q -w 132 %s" TeX-run-command t t :help
                     "Run Text 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" "(TeX-ispell-document \"\")" TeX-run-function nil
                     t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    )
 )





reply via email to

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