Hi all, >>>>> jfbu <[email protected]> writes: > Le 14/06/2022 à 14:19, Arash Esbati a écrit : >> I'm facing a problem when trying to compile a .texinfo file in >> Texinfo-mode with 'C-c C-c TeX RET' returns the following error: >> --8<---------------cut here---------------start------------->8--- >> Debugger entered--Lisp error: (void-variable compilation-in-progress) >> TeX-run-command("TeX" "pdftex -file-line-error -interaction=nonstopmode >> auctex.texi" "auctex") >> TeX-run-format("TeX" "pdftex -file-line-error -interaction=nonstopmode >> auctex.texi" "auctex") >> TeX-run-TeX("TeX" "pdftex -file-line-error -interaction=nonstopmode >> auctex.texi" "auctex") >> TeX-command("TeX" TeX-master-file nil) >> TeX-command-master(nil) >> funcall-interactively(TeX-command-master nil) >> command-execute(TeX-command-master) >> --8<---------------cut here---------------end--------------->8--- >> I can reproduce this also with 'emacs -Q'. Loading the library >> compile.el manually lets it disappear. I don't see the error in >> LaTeX-mode. Before start digging, anybody an idea where this comes >> from? TIA.
Sorry, it was me. :-( > FWIW the problem does not arise with release_12_2 checkout of the git repo. > I did "git log --grep 'compilation-in-progress'" and with --oneline option > the output is > be71fb7e Delete bogus defvar > 087b0300 Simplify mode line for emacs 27 > e78a13c0 * tex-buf.el: Address some compiler warnings > I could eliminate the first as culprit by installing fomr its parent. Actually the first one is responsible: ,---- | be71fb7ea7c425d2afc0a7e42c39dfc90131b40a | Author: Ikumi Keita <[email protected]> | AuthorDate: Tue Dec 22 22:36:26 2020 +0900 | [...] | modified tex-buf.el | @@ -1851,12 +1851,6 @@ variable is nil." | | ;;; Process Control | | - | -;; This variable is shared with `compile.el'. | -;; FIXME: Then it should not be defvar'd here! | -(defvar compilation-in-progress nil | - "List of compilation processes now running.") `---- It's true that AUCTeX shouldn't have defvar with value for variable defined in another library, but I should have added (require 'compile) at suitable location instead at the same time. Thank you Tassilo for fixing this up. Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine
