[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 <sva-news@mygooglest.com>
writes:
> Sebastien Vauban wrote:
>> Thorsten Jolitz wrote:
>>> Marcin Borkowski <mbork@wmi.amu.edu.pl> 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.
--
cheers,
Thorsten
- latex-mode hook?, Sharon Kimble, 2014/09/07
- Re: latex-mode hook?, Teemu Likonen, 2014/09/07
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/07
- Re: latex-mode hook?, Marcin Borkowski, 2014/09/08
- Re: latex-mode hook?, Thorsten Jolitz, 2014/09/08
- Message not available
- Re: latex-mode hook?, Sebastien Vauban, 2014/09/08
- Re: latex-mode hook?, Rusi, 2014/09/08
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?, Sebastien Vauban, 2014/09/09
- Re: latex-mode hook?,
Thorsten Jolitz <=
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?, Thorsten Jolitz, 2014/09/08
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?, Thorsten Jolitz, 2014/09/09
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?, Marcin Borkowski, 2014/09/09
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Re: latex-mode hook?, Tassilo Horn, 2014/09/09