redefining (meta backspace) as backward-kill-word in xemacs

Thomas Gerds gerds at
Tue Jan 22 15:28:27 CET 2002

baron at (Jonathan Baron) writes:

> I got in the habit of using alt-backspace for backward-kill-word,
> although xemacs seems to want me to use alt-delete.  I can keep
> my habit for most modes in xemacs with
> (global-set-key [(meta backspace)] 'backward-kill-word)
> in my .emacs file.  But this does not carry over to ess.  And
> alt-backspace doesn't seem to be needed for anything else.  When
> I try it I get "Point is not a function."  I have tried all sorts
> of things, such as
> (add-hook 'inferior-ess-mode-hook '(lambda ()
>  (define-key inferior-ess-mode-map [(meta backspace)] 'backward-kill-word)))
> or
> (add-hook 'inferior-ess-mode-hook '(lambda ()
>  (local-set-key [(meta backspace)] 'backward-kill-word)))
> but nothing works.  Ideas?

i do the following after starting ess:

(local-unset-key 'delete)
(local-unset-key [(meta backspace)])

you can add this to the apropriate hooks.

hope this helps,

for the latest information on IBC 2002
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list