From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.help Subject: Re: latex-mode hook? Date: Tue, 09 Sep 2014 11:17:00 +0200 Organization: Sebastien Vauban Message-ID: <86bnqpjgqb.fsf@somewhere.org> References: <87bnqr27vm.fsf@skimble.plus.com> <87ppf7feq0.fsf@debian.uxu> <20140908111010.31ed65b8@aga-netbook> <86r3zmbahr.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410254426 24875 80.91.229.3 (9 Sep 2014 09:20:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2014 09:20:26 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Tue Sep 09 11:20:20 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XRHb2-0005gq-2w for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2014 11:20:20 +0200 Original-Received: from localhost ([::1]:48461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRHb1-0002ET-La for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2014 05:20:19 -0400 Original-Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!newsfeed3.funet.fi!newsfeeds.funet.fi!newsfeed1.swip.net!81.169.171.211.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Injection-Info: mx05.eternal-september.org; posting-host="402b34550bd938aa98825778083dce0e"; logging-data="18785"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX18ig/Ycj96tpcuHnQlraT6x" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:/rmm1gGBSUrJtJk1xDhg7A+UFYo= sha1:P7ACvVRYW98z5Pt4o7POqoLLsk4= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:207449 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:99724 Archived-At: Sebastien Vauban wrote: > Thorsten Jolitz wrote: >> Marcin Borkowski 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. Best regards, Seb -- Sebastien Vauban