home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!caen!malgudi.oar.net!chemabs!zfs60
- From: zfs60@cas.org (Zhiyong John Shen)
- Subject: Re: scrollbars, delete, backspace
- In-Reply-To: irvine@ntmtv.UUCP's message of Tue, 17 Nov 1992 22:26:50 GMT
- Message-ID: <ZFS60.92Nov17183253@zfs60mws.cas.org>
- Sender: usenet@cas.org
- Organization: Chemical Abstracts Service, Columbus, Ohio
- References: <1992Nov17.222650.22439@ntmtv>
- Date: Tue, 17 Nov 1992 23:32:53 GMT
- Lines: 23
-
-
- sorry to post sloppy codes here, but my mail to chuck somehow bounced.
-
- 2) Being a creature of habit, I cannot keep myself from hitting the
- backspace key when I want a backspace. I've tried inserting
- "(global-set-key 'BS 'delete-backward-char)" in my .emacs file but it
- doesn't seem to have any effect. However, I do seem to be able to get
- the desired result by invoking the global-set-key command interactively.
- Also, is there any good reason why I shouldn't do this, assuming I can
- figure out how, that anyone knows of?
-
- chuck: here is how i did it, took me a while to figure out too.
- i am not sure if this is the best way, though. it sometimes doesn't
- work in minibuffers and i still haven't figured out why. --john
-
-
- (global-unset-key [delete])
- (global-unset-key "\C-h")
- (global-set-key "\C-h" 'delete-backward-char)
- (global-set-key "\C-^" 'help-for-help)
- (define-key global-map [delete] 'delete-char)
-
-
-