GNU bug report logs - #48524
13.0.11; AUCTeX should not use LaTeX error message for non-LaTeX modes

Previous Next

Package: auctex;

Reported by: jfbu <jfbu <at> free.fr>

Date: Wed, 19 May 2021 16:17:02 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 #20 received at 48524 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: jfbu <jfbu <at> free.fr>
Cc: 48524 <at> debbugs.gnu.org
Subject: Re: bug#48524: 13.0.11;
 AUCTeX should not use LaTeX error message for non-LaTeX modes
Date: Thu, 03 Jun 2021 14:55:21 +0900
[Message part 1 (text/plain, inline)]
Hi Jean,

>>>>> jfbu <jfbu <at> free.fr> writes:
> Note : I applied the patch on my git clone, after
> having pulled to get the latest commits, HEAD was
> at 93d66d1a Adapt for Texinfo mode

> For some reason I had to delete from the patch
> the change to tex-jp.el

> $ git apply patchlatexerrors
> error: patch failed: tex-jp.el:538
> error: tex-jp.el: patch does not apply

> I suspect some encoding problem on my side (the buffer
> indicated a "1" in bottom left) from gunzip

Sorry, my bad. The patch had wrong encoding. I learned that typing "W s"
on magit diff hunk (magit-patch-save) uses emacs facility to save patch
so it saves in my default encoding, not utf-8.

> Sorry for late, I have now applied the patch and it seems
> to do exactly what I was expecting.

Thanks for confirmation. The proposed patch has a small incompatibility
with the current AUCTeX that the customize option
`TeX-error-description-list' can no longer have a fallback entry that
matches any error, but I expect that there are few users who customized
it. I included a news entry which warns the incompatibility in the
attached patch.

Does anyone have comments or opinions?

Regards,
Ikumi Keita

[0001-Use-own-error-description-for-LaTeX-mode-only.patch.gz (application/gzip, attachment)]

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

Previous Next


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