home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!enterpoop.mit.edu!eru.mt.luth.se!lunic!my!omega!pjotr
- From: pjotr@ludd.luth.se (Peter Sj|str|m)
- Newsgroups: comp.sys.amiga.applications
- Subject: num keypad and f-keys (was Re: Changing GNUEmacs Icon)
- Message-ID: <1993Jan10.010554.9426@ludd.luth.se>
- Date: 10 Jan 93 01:05:54 GMT
- References: <alfredo.04bz@ajahnv.lonestar.org>
- Organization: Lule} Tekniska H|gskolas Datorf|rening - Ludd
- Lines: 29
-
- In <alfredo.04bz@ajahnv.lonestar.org> alfredo@ajahnv.lonestar.org (Alfredo Jahn V) writes:
-
- >One other thing, can someone email me a copy of their .emacs file
- >that binds their numeric key pad. I tried following the doc
- >examples but it did not work. For example:
-
- > ;; define Amiga keypad keys
- > ;;
- > (global-set-key "\C-C\C-^K" (make-sparse-keymap))
- > (global-set-key "\C-C\C-^K0" 'split-window)
-
- (global-set-key "\C-x\C-^K" (make-sparse-keymap))
- (global-set-key "\C-x\C-^K1" 'end-of-buffer)
- (global-set-key "\C-x\C-^K2" 'next-line)
- .
- .
- (global-set-key "\C-x\C-^K+" 'self-insert-command)
- (global-set-key "\C-x\C-^K[" 'self-insert-command) ;; self-insert to get itself
- etc...
-
- ..and for function keys:
-
- (global-set-key "\C-x\C-^0~" 'apropos)
- (global-set-key "\C-x\C-^1~" 'cpr)
- (global-set-key "\C-x\C-^2~" 'cpr-step)
-
- Note that 0 is F1, 1 is F2 etc til 9 = F10.
-
- /Peter
-