redefining (meta backspace) as backward-kill-word in xemacs
rmh at surfer.sbm.temple.edu
Tue Jan 22 19:11:18 CET 2002
I am following the correspondence between Jonathan Baron and Thomas Gerds.
I can't duplicate on Gnu emacs what you are seeing as a problem.
The alt-backspace key is bound to backward-kill-word on ntemacs.
I don't have xemacs. Please confirm that my proposed solution works.
Since xemacs seems to have different bindings than Gnu emacs, you will have
to make the adjustments in all relevant places. The discussion
mentioned only inferior-ess-mode.
inferior-ess-mode is used in the *R* buffer
ess-mode is used in myfile.R
ess-transcript-mode is used in myprevioussession.rt
Add the following lines to your
.emacs immediately after the (load "ess-site") line.
;; xemacs only
(define-key ess-mode-map [(meta backspace)] 'backward-kill-word)
(define-key inferior-ess-mode-map [(meta backspace)] 'backward-kill-word)
(defun baron-backspace ()
(define-key ess-transcript-mode-map [(meta backspace)] 'backward-kill-word))
(add-hook 'ess-transcript-mode-hook 'baron-backspace)
Please restore S-mode to the official definition.
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