Jose Maria Martin Olalla <ola...@us.es> writes:

> Many thanks Arash,
>
> AUCTeX version is 12.2
>
> AUCTeX, emacs and the whole texmf were installed via apt install

Thanks for the clarification.  Do I get it right that the current Debian
12 (released this year) is shipping a 4 years old version of AUCTeX[1]?

> I evaluated the code in scratch, or I think so: M+: and the code, no
> line breaks. The minibuffer returned nil.

Yes, this is then expected since you didn't install AUCTeX from ELPA.
My suggestion presumed that.  You have 2 choices now:

  • Activate AUCTeX the way you do it from your init file after 'emacs
    -Q' (I have no idea how one is supposed to do it on Debian)

  • You uninstall AUCTeX via apt and install it from ELPA as described
    here[2].  Then you can try the instruction I sent.
    
> I opened a *.tex file with a TeX-master in local variables. However
> the full AUCTeX bundle for LaTeX files was not available in the major
> mode. Instead, the default TeX environment that is loaded with 'emacs
> -Q filename.tex' was available. As if the eval code did not activate
> AUCTeX actually. As a result C-c C-e did not launch an environment.

Yes, this is then expected.  What you did doesn't match your AUCTeX
installation.

Best, Arash

Footnotes:
[1]  https://lists.gnu.org/archive/html/info-auctex/2019-10/msg00001.html

[2]  
https://www.gnu.org/software/auctex/manual/auctex/Installation.html#Installation


Reply via email to