home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!news.u.washington.edu!ethanb
- From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
- Newsgroups: gnu.emacs.help
- Subject: Re: Remapping DEL key on a SUN4
- Date: 6 Jan 93 16:36:24
- Organization: U. of Washington
- Lines: 32
- Distribution: world
- Message-ID: <ETHANB.93Jan6163624@ptolemy.astro.washington.edu>
- References: <1ifcu5INNmn5@agate.berkeley.edu>
- NNTP-Posting-Host: kepler.astro.washington.edu
- In-reply-to: pedro@eerc.berkeley.edu's message of 6 Jan 1993 19:46:13 GMT
- TO: pedro@eerc.berkeley.edu (Peter Clark)
-
- In article <1ifcu5INNmn5@agate.berkeley.edu> pedro@eerc.berkeley.edu (Peter Clark) writes:
-
- Hi all,
-
- I am using emacs 18.58 on a SUN 4 (Sparc 1) with a type 4 keyboard.
-
- I would like to remap the DEL key on the keypad from delete-backward-char
- to delete-char. I have tried in my .emacs
- (global-set-key "DEL" 'delete-char)
- (global-set-key "\DEL" 'delete-char)
- etc. to no avail.
-
- To insert the delete key between the quotes, move there and type
- C-Q <DEL>
- (were by <DEL> I mean pressing the DEL key).
-
-
- I did notice that I could do a
- M-x local-set-key DEL delete-char
- while running emacs and this worked OK.
-
- After you successfully do a command with M-X, if you want to copy that
- command into your .emacs file, do
- C-X <ESC>
- (which is repeat-complex-command). This throws you into the
- minibuffer with a lisp version of your last command. Copy the line
- into the kill buffer (e.g. with
- C-A C-K
- ) and exit the minibuffer with C-G. Now you can paste the command
- into your .emacs file.
-
- -- Ethan
-