I'm using auctex
+ Emacs
(OSX)
Problem: If I open an LaTeX
file, it works right.
But if I open an plain tex
file, it complains.
Debugger entered--Lisp error: (void-variable latex-mode-abbrev-table)
plain-TeX-common-initialization()
plain-tex-mode()
tex-mode()
set-auto-mode-0(tex-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
auctex
does something I'm unfamiliar with, emacs'tex-mode
andlatex-mode
should pretty much be the same thing. If anything, something that fails intex-mode
should also fail inlatex-mode
, not the other way around. So, I suspect it's something to do with your emacs profile.latex-mode
. So you might look into whether you've disabled anything connected to loading thetex-mode
defaults, which is required forauctex
to get everything inplain-tex
up and running.