From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: A question about Syntax highlighting, different modes. Date: 12 Jul 2005 14:55:00 +0530 Organization: SunSITE.dk - Supporting Open source Message-ID: <86wtnw4brn.fsf@riemann.mri.ernet.in> References: <86ll4czo4y.fsf@riemann.mri.ernet.in> <85hdf0cxhf.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121165874 23066 80.91.229.2 (12 Jul 2005 10:57:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2005 10:57:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 12:57:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DsIIL-0004xA-OB for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jul 2005 12:47:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DsIJx-00072l-NG for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jul 2005 06:49:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 32 Original-NNTP-Posting-Host: 202.41.87.100 Original-X-Trace: news.sunsite.dk DXC=VOH5@WdKWChHNh; Hl28o0iYSB=nbEKnkkOb`\; m[Fo5lID5_U; QN1Yc=JDn=l3B; kmATKI?[mLM1khGV>7]YX4kkXj`O4:DUFAg Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:132410 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27894 At 2005-07-12T09:08:44+02:00, David Kastrup wrote: > > You can try `tex-mode' instead of `AUCTeX'. You can do that an > > expression like this in your Emacs startup file: > > > > (add-to-list 'auto-mode-alist '("\\.tex\\'" . tex-mode)) > > This won't work reliably as AUCTeX aliases tex-mode to TeX-mode. Once > AUCTeX is activated, it is not really simple to get rid of it again. You are right. I didn't realize that AUCTeX is difficult to deactivate. However, putting this at the end of my init file --- after the AUCTeX customization --- and restarting Emacs does deactivate AUCTeX in my system: (delete 'tex-site features) (add-to-list 'auto-mode-alist '("\\.tex\\'" . tex-mode)) (autoload 'tex-mode "tex-mode" "Use standard `tex-mode.el' instead of AUCTeX." t nil) > However, in this case it makes much more sense to figure out what > the problem is. I like and use AUCTeX, and agree with you. I suggested standard `tex-mode.el' only because the OP wanted a "simple" mode. Raghavendra. -- N. Raghavendra | See message headers for contact Harish-Chandra Research Institute | and OpenPGP details.