GNU bug report logs -
#24866
AucTeX not working on Emacs 25.1.1 for Mac
Previous Next
Reported by: Lars Eriksson <larer <at> isy.liu.se>
Date: Thu, 3 Nov 2016 15:27:02 UTC
Severity: normal
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 24866 <at> debbugs.gnu.org (full text, mbox):
Hi Mosè,
I have now tested AucTeX (from git) on Emacs 25.1-1 on Mac and I am sorry to say that adding load paths did not help in my case. Same error, independent of load path. I have tried both without and with the addition of one and both of the following load paths before loading auctex.el
(add-to-list 'load-path "/Applications/Emacs.app/Contents/Resources/site-lisp")
(add-to-list 'load-path "/Applications/Emacs.app/Contents/Resources/site-lisp/auctex")
(load "auctex.el" nil t t)
From the debugger output below I have found that the error is encountered when it evaluates TeX-latex-mode() in the file latex.el. Even without the load paths above Emacs finds the file latex.el file that resides in the directory:
/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/
My debugging skills and emacs hacking skills are limited so I have only run the lisp code to start the debugger (setq debug-on-error t). Then I load a latex file ”test.tex" and get the following backtrace:
Debugger entered--Lisp error: (void-variable LaTeX-preview-setup)
byte-code("\303\300\304\"\210\305\306!\203 \306\307 C#\210\310\311\312\"\210\310\311\313\"\210\305\314!\203'