Re: Backspace in emacs
Re: Backspace in emacs
- Subject: Re: Backspace in emacs
- From: Randy Medd <email@hidden>
- Date: Sun, 12 Jan 2003 12:19:56 -0800
At 10:05 AM -0800 1/12/03, mark lacas wrote:
>Ok,
> I've lurked, I've asked questions, I've checked the archive and still
>can't figure out why Backspace works ok in xterm but sends a Control-H
>and calls up the help in emacs.
>
>Do I have to modify emacs to remap the Backspace key to the command or
>is the key itself wrong?
>
>How do I make the option key, act as the ESC (meta) key?
>....
I don't know about the option key, but to fix the backspace mapping, add the
following to your ${HOME}/.emacs file:
--snip--
(let ((the-table (make-string 128 0)))
(let ((i 0))
(while (< i 128)
(aset the-table i i)
(setq i (1+ i))))
;; Set ^H to be DEL
;; Set ^\ to be help
(aset the-table ?\034 ?\^h)
(aset the-table ?\^h ?\177)
(setq keyboard-translate-table the-table))
--snip--
Randy Medd
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.