GNU bug report logs - #55065
13.0.11; compilation reports errors, but TeX-next-error says no errors

Previous Next

Package: auctex;

Reported by: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>

Date: Fri, 22 Apr 2022 14:41:01 UTC

Severity: normal

Found in version 13.0.11

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: 13.0.11; compilation reports errors, but TeX-next-error says no errors
Date: Fri, 22 Apr 2022 11:40:10 -0300
[Message part 1 (text/plain, inline)]
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 <at> gmail.com
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.