keybindings in SAS mode
Rodney Sparapani
rsparapa at post.its.mcw.edu
Fri Feb 27 15:53:52 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?
"Use the source, Luke!" Sorry, couldn't resist a juvenile attempt at humor.
I think the line that you are looking for is (untested):
(define-key sas-mode-local-map [(shift tab)] 'ess-sas-backward-delete-tab)
Rodney Sparapani Medical College of Wisconsin
Sr. Biostatistician Patient Care & Outcomes Research
rsparapa at mcw.edu http://www.mcw.edu/pcor
Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do
More information about the ESS-help
mailing list