redefining (meta backspace) as backward-kill-word in xemacs
Jonathan Baron
baron at cattell.psych.upenn.edu
Tue Jan 22 14:50:39 CET 2002
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?
Jon Baron
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe or unsubscribe
(in the "body", not the subject !) To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the ESS-help
mailing list