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: Arash Esbati <arash <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70776: closed ([PATCH] Generalize some error description regexp)
Date: Sun, 05 May 2024 09:25:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 05 May 2024 11:23:28 +0200
with message-id <m2plu0mx2n.fsf <at> macmutant.fritz.box>
and subject line Re: bug#70776: [PATCH] Generalize some error description regexp
has caused the debbugs.gnu.org bug report #70776,
regarding [PATCH] Generalize some error description regexp
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[0001-Generalize-some-error-description-regexp.patch (application/x-patch, attachment)]
[Message part 6 (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


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

Previous Next


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