Article View: gnu.emacs.help
Article #188761Re: Defining abbrevs for LaTeX mode
From: David Presberg
Date: Tue, 02 Jul 1991 17:58
Date: Tue, 02 Jul 1991 17:58
32 lines
1977 bytes
1977 bytes
You should look at Sebastian Kremer's "[La]TeX name completion package",
containing: README tex-complete.el latex-names.el tex-names.el
I use it quite successfully with the usual latex-mode.
Part of the README shows off the interface:
Example of name completion in an Emacs TeX/LaTeX buffer:
TeX: Type 'C-\' and 'c e TAB RET' to insert '\centerline'
Type 'C-\' and 'h e TAB RET' to insert '\heartsuit'
LaTeX: Type 'C-\' and 'c e TAB RET' to insert '\centering'
Type 'C-c C-m' and 'a b TAB RET' to make an
`abstract' environment
Type 'C-c i' and 'a b TAB RET' to insert the beginning
of an `abstract' environment
I imagine it has been archived (Dave Sill: care to supply citation?).
Sebastion posted it 20 Jun 90.
Of course, just using an existing package won't lead you into deeper wisdom
about the wheres and wayfors of elisp. ;-)
- Pres
- -------
-> David L. Presberg, Compass, Inc. <-
->Domain: presberg@compass.com <-
-> .5&.5: compass!presberg@think.com <-
->uucp: {think,bu.edu,cvbnet}!compass!presberg <-
->Nicname: Pres <-
Technical Details
Message-ID:
<PRESBERG.91Jul2135859@etoile.compass.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!think.com!compass!presbergReferences:
<POESIO.91Jul1110628@nectarine.cs.rochester.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,5e792484dff3cc72 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-07-02 13:12:10 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!think.com!compass!presberg From: presberg@compass.COM (David Presberg) Newsgroups: gnu.emacs.help Subject: Re: Defining abbrevs for LaTeX mode Message-ID: <PRESBERG.91Jul2135859@etoile.compass.COM> Date: 2 Jul 91 17:58:59 GMT References: <POESIO.91Jul1110628@nectarine.cs.rochester.edu> Sender: root@compass.com Organization: Compass, Inc, Wakefield, MA Lines: 32 In-reply-to: poesio@cs.rochester.edu's message of 1 Jul 91 15:06:28 GMT