🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189686

Thanks: Getting cmutex to always choose plain-tex-mode

#189686
From: Jonathan King
Date: Tue, 11 Dec 1990 23:44
26 lines
1454 bytes
Thanks to all who replied helping me getting visited .tex files to
always be put into a buffer in plain-tex-mode and not latex-mode.

What works (for my setup) is to have in .emacs

  (setq auto-mode-alist 
  '( ; Determines automatic choice of major mode based on file extension.
    ("\\.tex$" . plain-tex-mode) ("\\.sty$" . plain-tex-mode)
     ... ))

as well as

  (autoload 'plain-tex-mode "cmutex" "Major mode for editing files of TeX." t)

since cmutex's plain-tex-mode is NOT autoloaded in our site_load.el

This solution was suggested by several people, among them
worsch%ira.uka.de@RELAY.CS.NET

When I finally got around to looking at cmutex.el, I realised that
this would work.

			Thanks again.

			Jonathan
Technical Details
Message-ID: <SQUASH.90Dec11184453@zeta.math.ufl.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!van-bc!ubc-cs!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rex!uflorida!mathlab!mathlab.math.ufl.edu!squash

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,fd8d20c6b8472f17,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-11 15:44:53 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!van-bc!ubc-cs!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rex!uflorida!mathlab!mathlab.math.ufl.edu!squash
From: squash@math.ufl.edu (Jonathan King)
Newsgroups: gnu.emacs.help
Subject: Thanks: Getting cmutex to always choose plain-tex-mode
Message-ID: <SQUASH.90Dec11184453@zeta.math.ufl.edu>
Date: 11 Dec 90 23:44:53 GMT
Sender: news@mathlab.math.ufl.EDU
Distribution: gnu
Organization: University of Florida Department of Mathematics
Lines: 26
Posted: Wed Dec 12 00:44:53 1990