🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #1964

keybindings as in Auc-TeX

#1964
From: Alex Feldman
Date: Tue, 15 Dec 1992 10:11
16 lines
1191 bytes
I would like to bind some macros to keys similarly to the way things
are bound in the LaTeX-math-mode of Auc-TeX.  Specifically, in there I
can type `a (that's supposed to be a backquote followed by an a; I did
not mistype `a') and it will expand in the buffer to \alpha.  No
control or meta sequences or anything else to worry about.

I would like to do this for a completely different, personalized mode,
but I can't seem to extract the germ of the procedure for doing so.
If it is possible to do this in a few lines of lisp, would some kind
soul send me the code that does it?  The expansion shown above would
be fine, or just a generic keymap for the extended command "mymacro"
to the (two) key sequence ";c".

Thanks.
--
	--alex			alex@math.idbsu.edu
Technical Details
Message-ID: <ALEX.92Dec15101115@diamond.idbsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.byu.edu!ux1!mica.inel.gov!guinness!guinness.idbsu.edu!alex

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.byu.edu!ux1!mica.inel.gov!guinness!guinness.idbsu.edu!alex
From: alex@math.idbsu.edu (Alex Feldman)
Subject: keybindings as in Auc-TeX
Message-ID: <ALEX.92Dec15101115@diamond.idbsu.edu>
Sender: usenet@guinness.idbsu.edu (Usenet News mail)
Nntp-Posting-Host: diamond
Organization: Boise State University Math Dept.
Date: 15 Dec 92 10:11:15
Lines: 16