bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] Re: Problem with TeX-modes


From: David Kastrup
Subject: Re: [Bug-AUCTeX] Re: Problem with TeX-modes
Date: Sun, 02 Apr 2006 19:13:04 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]