From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: latex-mode hook?
Date: Tue, 09 Sep 2014 11:34:43 +0200 [thread overview]
Message-ID: <877g1d16j0.fsf@gmail.com> (raw)
In-Reply-To: 86bnqpjgqb.fsf@somewhere.org
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
next prev parent reply other threads:[~2014-09-09 9:34 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-07 7:43 latex-mode hook? Sharon Kimble
2014-09-07 7:49 ` Teemu Likonen
2014-09-07 13:22 ` Sharon Kimble
[not found] ` <mailman.8384.1410076210.1147.help-gnu-emacs@gnu.org>
2014-09-07 18:49 ` Emanuel Berg
2014-09-08 9:10 ` Marcin Borkowski
2014-09-08 10:30 ` Thorsten Jolitz
[not found] ` <mailman.8449.1410172233.1147.help-gnu-emacs@gnu.org>
2014-09-08 11:46 ` Sebastien Vauban
2014-09-08 12:55 ` Rusi
2014-09-08 22:02 ` Emanuel Berg
2014-09-09 9:17 ` Sebastien Vauban
2014-09-09 9:34 ` Thorsten Jolitz [this message]
2014-09-09 12:39 ` Stefan Monnier
2014-09-08 21:57 ` Emanuel Berg
2014-09-09 0:49 ` Thorsten Jolitz
[not found] ` <mailman.8489.1410223819.1147.help-gnu-emacs@gnu.org>
2014-09-09 1:09 ` Emanuel Berg
2014-09-09 6:54 ` Thorsten Jolitz
2014-09-09 12:34 ` Stefan Monnier
[not found] ` <mailman.8444.1410167430.1147.help-gnu-emacs@gnu.org>
2014-09-08 21:54 ` Emanuel Berg
2014-09-09 7:51 ` Marcin Borkowski
2014-09-09 12:06 ` Stefan Monnier
2014-09-09 12:36 ` Tassilo Horn
2014-09-09 13:21 ` Stefan Monnier
2014-09-09 13:39 ` Marcin Borkowski
2014-09-09 14:13 ` Stefan Monnier
2014-09-09 17:00 ` Marcin Borkowski
2014-09-09 17:24 ` Stefan Monnier
[not found] ` <mailman.8551.1410283491.1147.help-gnu-emacs@gnu.org>
2014-09-09 19:51 ` Emanuel Berg
2014-09-09 13:14 ` Thorsten Jolitz
[not found] ` <mailman.8504.1410249128.1147.help-gnu-emacs@gnu.org>
2014-09-09 19:35 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877g1d16j0.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.