bug-auctex
[Top][All Lists]
Advanced

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

bug#55065: 13.0.11; compilation reports errors, but TeX-next-error says


From: Miguel V. S. Frasson
Subject: bug#55065: 13.0.11; compilation reports errors, but TeX-next-error says no errors
Date: Fri, 22 Apr 2022 11:40:10 -0300

Hi.

I am editing a simple text with actually no errors. Compilation reports errors (what is annoying) but TeX-next-error says "No more errors."

MWE:

\documentclass{article}
\begin{document}
Bla :123:
blablabla-blablabla blablabla-blablabla
blablabla-blablabla blablabla-blablabla.
\end{document}

Investigating, in tex-buf.el one reads:

  (if (re-search-forward "^\\(!\\|.*:[0-9]+:\\) " nil t)
      (progn
        (message "%s errors in `%s'. Use %s to display." name (buffer-name)
                 (substitute-command-keys
                  "\\<TeX-mode-map>\\[TeX-next-error]"))

so error message can be triggered as easily as if input has a string like
":0: " that can go to log if that line has a bad break, like in MWE.

Emacs  : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.13)
 of 2019-12-24
Package: 13.0.11

current state:
==============
(setq
 AUCTeX-date "2021-04-28"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex"
 "/home/sme/.emacs.d/elpa/auctex-13.0.11/style"
 "/home/sme/.emacs.d/auctex/auto"
 "/home/sme/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
    TeX-run-TeX nil
    (plain-tex-mode texinfo-mode ams-tex-mode) :help
    "Run plain TeX")
   ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
    (latex-mode doctex-mode) :help "Run LaTeX")
   ("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" "%V" TeX-run-discard-or-function 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" "texindy -C utf8 %s.idx" 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")
   )
 )


--
Miguel Vinicius Santini Frasson
mvsfrasson@gmail.com

reply via email to

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