home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!eng.ufl.edu!usenet.eng.ufl.edu!mconlon
- From: mconlon@stat.ufl.edu (Mike Conlon)
- Newsgroups: comp.emacs
- Subject: Defining a new Meta key (2nd try)
- Message-ID: <MCONLON.93Jan3162145@holly.stat.ufl.edu>
- Date: 3 Jan 93 21:21:45 GMT
- Sender: news@eng.ufl.edu (Usenet Diskhog System)
- Distribution: comp.emacs
- Organization: University of Fl, Department of Statistics
- Lines: 23
-
- I was cut off in mid-post, so let's try again.
-
- I want to define a new meta key for a VT1000 Xterminal. I can
- redefine the key I want to use to be "help-for-help" by using:
-
- (global-set-key "C\-[[23~" 'help-for-help)
-
- in my .emacs. This works perfectly. What I want to do is to have the
- key generate an ASCII 27 (escape) so that when pressed it acts as a
- Meta key. It looks to me like 'quoted-insert 033 is what I want, but
- I havn't stmbled across the right lisp syntax to get quoted-insert
- to work in the global-set-key definition.
-
- How can I combine the global-set-key and quoted-insert to get my
- function key to generate an escape character when pressed?
-
- Mike Conlon
- Dept of Statistics
- University of Florida
- --
- Michael Conlon
- Department of Statistics
- University of Florida
-