[Top][All Lists]

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

Re: latex-mode hook?

From: Stefan Monnier
Subject: Re: latex-mode hook?
Date: Tue, 09 Sep 2014 08:34:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> 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'.

Yes, it's confusing.  AFAIK the real name of the mode is
`TeX-latex-mode', but that major mode sets `major-mode' to `latex-mode'.

And rather than running TeX-latex-mode-hook or latex-mode-hook, it runs
LaTeX-mode-hook (and TeX-mode-hook).

This is not the brightest aspect of AUCTeX, admittedly.


reply via email to

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