home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: 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
-
- 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
-