GNU bug report logs - #70776
[PATCH] Generalize some error description regexp

Previous Next

Package: auctex;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Sat, 4 May 2024 23:45:02 UTC

Severity: normal

Tags: patch

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Nelson <ultrono <at> gmail.com>
Subject: bug#70776: closed (Re: bug#70776: [PATCH] Generalize some error
 description regexp)
Date: Sun, 05 May 2024 09:25:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#70776: [PATCH] Generalize some error description regexp

which was filed against the auctex package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 70776 <at> debbugs.gnu.org.

-- 
70776: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70776
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>
Cc: 70776-done <at> debbugs.gnu.org
Subject: Re: bug#70776: [PATCH] Generalize some error description regexp
Date: Sun, 05 May 2024 11:23:28 +0200
Paul Nelson <ultrono <at> gmail.com> writes:

> On the other hand, the relevant regular expression in
> LaTeX-error-description-list doesn't allow for "on input line X".
> This patch generalizes that regular expression so that it matches such
> output.

Thanks, installed, and closing.

Best, Arash

[Message part 3 (message/rfc822, inline)]
From: Paul Nelson <ultrono <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: [PATCH] Generalize some error description regexp
Date: Sun, 5 May 2024 01:44:01 +0200
[Message part 4 (text/plain, inline)]
Steps to reproduce: create test.tex with

\documentclass{amsart}
\newtheorem{theorem}{Theorem}
\newtheorem{proposition}{Proposition}
\begin{document}
\begin{theorem}
  blah
\end{proposition}
\end{document}

and do C-c C-c followed by C-c `.  This jumps to the error, but no help is
available, even though LaTeX-error-description-list contains a relevant
entry.

The issue is that tex generates an error like the following:

LaTeX Error: \begin{theorem} on input line 5 ended by \end{proposition}.

On the other hand, the relevant regular expression in
LaTeX-error-description-list doesn't allow for "on input line X".  This
patch generalizes that regular expression so that it matches such output.

Thanks, best,

Paul
[Message part 5 (text/html, inline)]
[0001-Generalize-some-error-description-regexp.patch (application/x-patch, attachment)]

This bug report was last modified 1 year and 13 days ago.

Previous Next


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