keybindings in SAS mode

Kasper Daniel Hansen K.Hansen at biostat.ku.dk
Thu Feb 26 16:28:28 CET 2004


(concerning ess-5.2.0beta3 on Redhat Linux 8)

In SAS mode you currently need a keybinding to ess-sas-backward-delete-tab in 
order to exit from a tab indentation. This function is per default binded to 
C-TAB. However, I'm using KDE and this key is used by the window manager. So 
I need to redefine the binding. I'm very bad at elisp, but guessing I come up 
with something like

(load "/home/bs/bs/emacs/site-lisp/ess-5.2.0beta2/lisp/ess-site")
(add-hook 'ess-mode-load-hook
  (function
    (lambda ()
      (define-key ess-mode-map
                  "S-TAB"
                  'ess-sas-backward-delete-tab)
)))

This doesn't work, but I guess I'm pretty close. Any suggestions?
-- 
Kasper Daniel Hansen, Research Assistent
Department of Biostatistics, University of Copenhagen




More information about the ESS-help mailing list