Ralf Angeli <[EMAIL PROTECTED]> writes: > * David Kastrup (2006-03-30) writes: > >> if I use M-x customize-variable RET TeX-modes RET >> >> and uncheck "LaTeX", set for current session and then load a LaTeX >> file, this bombs out. > > Did this work before?
I suppose that something similar to it must have worked at some time. I can't imagine implementing all that functionality and never testing anything of it. Even though there is evidence that this would not exactly have been the first time. But I do remember _fixing_ some stuff around that functionality. > We could introduce a buffer-local variable which is set the first time > `TeX-tex-mode' is being run and which prevents `TeX-tex-mode' from > calling the specific mode (like `latex-mode') when it is run a second > time. One could force it to run the specific mode by calling it with > (tex-mode 1) or doing something similar with a new dedicated argument > we could introduce. I am not sure, however, if this is a good idea. > It rather feels like brute force. No idea. Maybe one needs to analyze what the default TeX modes are trying to achieve here. >> I think that the combination of smart format detection from AUCTeX >> (keep tex-mode checked) and dull Emacs mode should be permitted. > > It's even essential to keep that intact. Otherwise one would not be > able to enter other special modes provided by AUCTeX but not by > tex-mode.el, like ConTeXt mode. Ok. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
