auctex
[Top][All Lists]
Advanced

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

Re: TeX-command and flymake


From: Ikumi Keita
Subject: Re: TeX-command and flymake
Date: Wed, 06 Sep 2023 14:57:11 +0900

Hi Rahguzar,

>>>>> Rahguzar <rahguzar@zohomail.eu> writes:
> Now my questions are:

> 1) Is there a simpler way of getting LaTeX and BibTeX errors and
> warnings through flymake?

For LaTeX run, I suppose you can set (override)
`TeX-sentinel-default-function' locally. That value is set to
`TeX-sentinel-function' in `TeX-run-TeX' and called in
`TeX-command-sentinel' eventually.
This approach would be somewhat awkward because it have to work as a
replacement of `TeX-LaTeX-sentinel'. It seems that `TeX-LaTeX-sentinel'
doesn't offer hook to delegate its role only partially.

For BibTeX, there are none as far as I can see in the current AUCTeX
since `TeX-BibTeX-sentinel' is hard-coded in `TeX-run-BibTeX'. You have
to add a new entry for BibTeX in `TeX-command-list'.

A proposal for implementation of new flexible interface would be
appreciated. :-)

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine



reply via email to

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