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>

To reply to this bug, email your comments to 70776 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#70776; Package auctex. (Sat, 04 May 2024 23:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Nelson <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sat, 04 May 2024 23:45:02 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]
[0001-Generalize-some-error-description-regexp.patch (application/x-patch, attachment)]

Reply sent to Arash Esbati <arash <at> gnu.org>:
You have taken responsibility. (Sun, 05 May 2024 09:25:01 GMT) Full text and rfc822 format available.

Notification sent to Paul Nelson <ultrono <at> gmail.com>:
bug acknowledged by developer. (Sun, 05 May 2024 09:25:01 GMT) Full text and rfc822 format available.

Message #10 received at 70776-done <at> debbugs.gnu.org (full text, mbox):

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 13 days ago.

Previous Next


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