help-gnu-emacs
[Top][All Lists]
Advanced

[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:39:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> In outorg.el I always had to deal with R as a special case because
> (funcall major-mode) wouldn't work as expected.

FWIW, I'd consider it as a plain bug.

AUCTeX has half of the same bug: by default, AUCTeX overrides latex-mode
to call TeX-latex-mode, so in the default config it's correct to set
major-mode to `latex-mode'.  But of course, if you configure `TeX-modes'
so as not to override latex-mode, then AUCTeX has that same bug.


        Stefan




reply via email to

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