Hi Uwe, 2014-02-25 18:16 GMT+01:00 Uwe Brauer <o...@mat.ucm.es>: > > I am still using auctex-11.84 in Xemacs 21.5.33 without a problem. > > Now I want also to use auctex with GNU emacs 24 and I have several > problems. >
Why don't you use a more recent AUCTeX version, or the development version if you feel bold enough? We still try to keep compatibility with XEmacs 21.4.15/17 or later. > As I understand it custom treats the LaTeX variables such > (TeX-command-list as changed from 11.84 to more recent version of > auctex however I want to use the same .emacs file for xemacs and GNU > emacs, I want to use 11.84 for GNU emacs as well. It seems to me the format of `TeX-command-list' hasn't changed since then. > So I downloaded and installed auctex 11.84 locally. > However I run into a bug of the following form when opening a LaTeX > file: > [...] > Debugger entered--Lisp error: (void-function nil) > nil() > run-hooks(change-major-mode-after-body-hook text-mode-hook TeX-mode-hook > LaTeX-mode-hook) > apply(run-hooks (change-major-mode-after-body-hook text-mode-hook > TeX-mode-hook LaTeX-mode-hook)) > TeX-run-mode-hooks(text-mode-hook TeX-mode-hook LaTeX-mode-hook) > LaTeX-mode() > call-interactively(LaTeX-mode record nil) > command-execute(LaTeX-mode record) > execute-extended-command(nil "LaTeX-mode") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) Using my git time machine I managed to compile AUCTeX 11.84, and opening a LaTeX file with GNU Emacs 24.3 appears a *Compile-Log* buffer reporting some warnings from `font-latex.el', but I don't get the error you ran into. The advice to upgrade your AUCTeX package is still valid ;-) Bye, Mosè _______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex