[Top][All Lists]

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

Re: latex-mode hook?

From: Thorsten Jolitz
Subject: Re: latex-mode hook?
Date: Tue, 09 Sep 2014 11:34:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Sebastien Vauban <address@hidden>

> Sebastien Vauban wrote:
>> Thorsten Jolitz wrote:
>>> Marcin Borkowski <address@hidden> writes:
>>>> AFAIK, latex-mode is the built-in, very limited LaTeX mode, and
>>>> LaTeX-mode is the AUCTeX's one (which is much, much better - think
>>>> autocompletion, for instance).  Also the texmathp function.  And
>>>> parsing of \usepackage[...]{inputenc}.  And more.
>>> A bit confusing is that I have AUCTEX installed and see LaTeX/P in the
>>> mode line, but
>>> ,----
>>> | M-: major-mode
>>> `----
>>> returns 'latex-mode', not 'LaTeX-mode'. 
>> IIRC, AUCTeX aliases latex-mode to LaTeX-mode. This can explain that.
> BTW, I *never* understood why AUCTeX mode isn't simply called "AUCTeX"
> in the mode line and so forth: using the case-sensitivity to distinguish
> between both versions of LaTeX support (the default one, and the AUCTeX
> one) is clearly asking for trouble.

Reminds me of the major-mode issue with ESS (ess-mode vs R-mode). In
outorg.el I always had to deal with R as a special case because (funcall
major-mode) wouldn't work as expected. Its due to 'historical reasons' I
would say, suboptimal decisions in a projects early stage that are hard
to change later on.


reply via email to

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