GNU bug report logs -
#52494
13.0.14; Please rerun for me, if necessary
Previous Next
Reported by: Rolf Ade <rolf <at> pointsman.de>
Date: Wed, 15 Dec 2021 00:12:01 UTC
Severity: normal
Tags: notabug
Found in version 13.0.14
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52494 in the body.
You can then email your comments to 52494 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#52494
; Package
auctex
.
(Wed, 15 Dec 2021 00:12:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rolf Ade <rolf <at> pointsman.de>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Wed, 15 Dec 2021 00:12:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
TeX-LaTeX-sentinel notices the user in at least five cases per message()
he should rerun LaTeX (or a similar command) for this or that reason. I
stumbled over that as user of the longtable package
If is it necessary to rerun the command and the tex file otherwise
formatted successfully why isn't this done automatically for me?
The only reason I can think of for not immediately rerun in such cases
is formatting time and the intermediate result is fine enough for what
it was generated.
So opt-in would be pretty fine. Providing a patch would be even better,
I'm aware, but not able to provide one, atm. But from tinkering around a
bit in the AucTeX sources code I figure it should be a somewhat low
hanging fruit for someone familiar with the inner yards.
Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
of 2019-04-19
Package: 13.0.14
current state:
==============
(setq
AUCTeX-date "2021-08-26"
window-system 'x
LaTeX-version "2e"
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#52494
; Package
auctex
.
(Wed, 15 Dec 2021 01:31:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 52494 <at> debbugs.gnu.org (full text, mbox):
On 2021-12-15 at 01:10:01 +0100, Rolf Ade wrote:
>
> TeX-LaTeX-sentinel notices the user in at least five cases per message()
> he should rerun LaTeX (or a similar command) for this or that reason. I
> stumbled over that as user of the longtable package
>
> If is it necessary to rerun the command and the tex file otherwise
> formatted successfully why isn't this done automatically for me?
And run bibtex and makeindex etc. automatically too? In this case it
would be much better and easier to compile with latexmk instead of
{lua,pdf,xe}latex.
> The only reason I can think of for not immediately rerun in such
> cases is formatting time and the intermediate result is fine enough
> for what it was generated.
Of course. Emacs is fine while working on a particular file and
compile time definitely matters. It's less important that the TOC is
up-to-date then. And even if all cross references are resolved but
bibtex and makeindex aren't run you don't get the final document
anyway.
Are you aware of latexmk? It's part of the TeX Live distribution.
Don't know about MiKTeX. It's worth a try anyhow.
Though I usually run latexmk on the command line I could imagine that
AUCTeX offers an option to invoke latexmk when pressing C-c C-c in
addition to "LaTeX", "View", ...
Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha <at> web.de
------------------------------------------------------------------
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#52494
; Package
auctex
.
(Wed, 15 Dec 2021 06:39:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52494 <at> debbugs.gnu.org (full text, mbox):
Hi Rolf and Reinhard,
>>>>> Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
> On 2021-12-15 at 01:10:01 +0100, Rolf Ade wrote:
>>
>> TeX-LaTeX-sentinel notices the user in at least five cases per message()
>> he should rerun LaTeX (or a similar command) for this or that reason. I
>> stumbled over that as user of the longtable package
>>
>> If is it necessary to rerun the command and the tex file otherwise
>> formatted successfully why isn't this done automatically for me?
There is already such a feature. Try C-c C-a in the document bufffer.
Here is an excerption from info document `(auctex) Starting a Command'.
,----
| It is also possible to compile automatically the whole document until
| it is ready with a single command: 'TeX-command-run-all'.
|
| -- Command: TeX-command-run-all
| ('C-c C-a') Compile the current document until an error occurs or
| it is finished. If compilation finishes successfully, run the
| viewer at the end.
`----
> And run bibtex and makeindex etc. automatically too? In this case it
> would be much better and easier to compile with latexmk instead of
> {lua,pdf,xe}latex.
>> The only reason I can think of for not immediately rerun in such
>> cases is formatting time and the intermediate result is fine enough
>> for what it was generated.
I guess that the most important reason is that it isn't guaranteed that
AUCTeX infers correctly what command and how many times it should run.
It is always safe to give the user a chance to decide what to do next.
> Are you aware of latexmk? It's part of the TeX Live distribution.
> Don't know about MiKTeX. It's worth a try anyhow.
As Reinhard told, there is a tool latexmk which is specialized to
execute the sequencial commands in line. You can try it. (But I don't
know whether latexmk works for other formats than LaTeX (plain TeX,
AMS-TeX, ConTeXt etc.))
> Though I usually run latexmk on the command line I could imagine that
> AUCTeX offers an option to invoke latexmk when pressing C-c C-c in
> addition to "LaTeX", "View", ...
You can customize `TeX-command-list' to inlcude an entry to run latexmk.
And as always, patches are welcome. ;-)
Regards,
Ikumi Keita
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#52494
; Package
auctex
.
(Wed, 15 Dec 2021 14:11:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 52494 <at> debbugs.gnu.org (full text, mbox):
Hi Ikumi,
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
>>>>>> Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
>> On 2021-12-15 at 01:10:01 +0100, Rolf Ade wrote:
>>>
>>> TeX-LaTeX-sentinel notices the user in at least five cases per message()
>>> he should rerun LaTeX (or a similar command) for this or that reason. I
>>> stumbled over that as user of the longtable package
>>>
>>> If is it necessary to rerun the command and the tex file otherwise
>>> formatted successfully why isn't this done automatically for me?
>
> There is already such a feature. Try C-c C-a in the document bufffer.
> Here is an excerption from info document `(auctex) Starting a Command'.
> ,----
> | It is also possible to compile automatically the whole document until
> | it is ready with a single command: 'TeX-command-run-all'.
> |
> | -- Command: TeX-command-run-all
> | ('C-c C-a') Compile the current document until an error occurs or
> | it is finished. If compilation finishes successfully, run the
> | viewer at the end.
> `----
thanks for that hint. I tried it with my use case and it works pretty
well. And automatically starting the viewer (without asking me for
confirmation the view command, as C-c C-c does) if the compilation
finished successfully is a welcomed plus.
As far as I'm concerned this could be closed with "feature already
there, user hasn't studied the documentation close enough".
Thanks again and regards
rolf
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#52494
; Package
auctex
.
(Wed, 15 Dec 2021 16:15:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 52494 <at> debbugs.gnu.org (full text, mbox):
>>>>> Rolf Ade <rolf <at> pointsman.de> writes:
> As far as I'm concerned this could be closed with "feature already
> there, user hasn't studied the documentation close enough".
OK, I'll close this bug.
Bye,
Ikumi Keita
Added tag(s) notabug.
Request was from
Ikumi Keita <ikumi <at> ikumi.que.jp>
to
control <at> debbugs.gnu.org
.
(Wed, 15 Dec 2021 16:15:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
52494 <at> debbugs.gnu.org and Rolf Ade <rolf <at> pointsman.de>
Request was from
Ikumi Keita <ikumi <at> ikumi.que.jp>
to
control <at> debbugs.gnu.org
.
(Wed, 15 Dec 2021 16:15:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 13 Jan 2022 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.