Subject: bug#70776: closed (Re: bug#70776: [PATCH] Generalize some error description regexp)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 05 May 2024 09:25:01 +0000

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 [email-masked].

-- 
70776: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70776
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#70776: [PATCH] Generalize some error description regexp
From: Arash Esbati <[email-masked]>
To: Paul Nelson <[email-masked]>
Cc: [email-masked]
Date: Sun, 05 May 2024 11:23:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Paul Nelson <[email-masked]> 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

Subject: [PATCH] Generalize some error description regexp
From: Paul Nelson <[email-masked]>
To: [email-masked]
Date: Sun, 5 May 2024 01:44:01 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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