🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99548

TeX and LaTeX modes

#99548
From: ELF
Date: Thu, 05 Jul 1990 19:16
16 lines
1672 bytes
By examining tex-mode.el, I have discovered that these two modes use the same
keymap. Since TeX and LaTeX have very different commands, and I like
to make "electric keys" that do command-name completion and so on, this fact
is very inconvenient. I felt it was close enough to a bug to report to you
because the new E-Lisp manual states that "each major mode typically has its
own keymap" in the node Major Mode Conventions. This "bug" would be easy to
fix and would probably only make people happy.
        Is there a separate mailing address for suggestions? If so, could
you let me know of it? If not, here is a suggestion: tex-mode.el implements
a particular (rather backward) heuristic for determining if a file is
TeX or LaTeX. I suggest that the bit of code that determines the file type
be replaced with a call to a hook. You could then supply the current heuristic
as the default for this hook, or even write a new, better heuristic for its
default. (I would be glad to submit my recommendation for a decent heuristic
for deciding whether a file is intended to be TeX or LaTeX input.)
           Glen Whitney  elf@ibm.com
Technical Details
Message-ID: <9007051917.AA19363@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!IBM.COM!ELF

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,5ef3e90a0583c87e,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-07-05 12:16:49 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!IBM.COM!ELF
From: ELF@IBM.COM
Newsgroups: gnu.emacs.bug
Subject: TeX and LaTeX modes
Message-ID: <9007051917.AA19363@life.ai.mit.edu>
Date: 5 Jul 90 19:16:49 GMT
Sender: elf@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 16
Posted: Thu Jul  5 20:16:49 1990