auctex-devel
[Top][All Lists]
Advanced

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

Re: Texinfo-mode: C-c C-c TeX RET gives an error


From: jfbu
Subject: Re: Texinfo-mode: C-c C-c TeX RET gives an error
Date: Tue, 14 Jun 2022 21:32:47 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

Hi Arash

Le 14/06/2022 à 14:19, Arash Esbati a écrit :
Hi all,

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.

Best, Arash



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.

The the second, I could not as "make" would complain, but I found the last 
release before it and it is release_12_2.

I installed it and no problem.

So perhaps look at 087b0300 whose commit message says

Simplify mode line for emacs 27
* tex-buf.el: Don't add an entry in `minor-mode-alist' for
    `compilation-in-progress'. In emacs 27, compile.el adds a similar
    entry in `mode-line-modes'.


Fri Aug 28 15:32:53 2020 +0900

Best,
Jean-François




reply via email to

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