bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68090: 13.2.3; TeX-LaTeX-Sentinel: a way to stop requiring version l


From: Ikumi Keita
Subject: bug#68090: 13.2.3; TeX-LaTeX-Sentinel: a way to stop requiring version line?
Date: Sat, 06 Jan 2024 19:49:38 +0900

Hi Michael, sorry for late response.

>>>>> "Michael Hoffman" <emacs-hoffman@snkmail.com> writes:
> Unfortunately, if `TeX-LaTeX-Sentinel' doesn't find any other errors, it
> looks for a version line, and if it doesn't find that, it reports
> "problems after {(TeX-current-pages)}", and skips reporting warnings or
> bad boxes.

> My workaround is to insert the text "LaTeX Version" into the script
> output to make `TeX-LaTeX-Sentinel' happy. But this is clunky.

> It would be best if there were a way to customize the regular expression
> that is searched for on successful run of a command. It might be
> possible to get rid of this check altogether--it's might be that
> checking for a version banner that occurs at the top protects doesn't
> protect against many unexpected error conditions--but I assume it's
> there for a reason.

I think that the reason why `TeX-LaTeX-sentinel' searches for the
version banner is to check whether there is a working TeX distribution
at all.

The importance of this check is low since `TeX-command' introduced
similar check by `TeX-check-TeX'.

To developers: How about removing this check by the attached patch
(which may be a bit radaical change)?

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW

Attachment: patch
Description: remove banner check


reply via email to

[Prev in Thread] Current Thread [Next in Thread]