[prev in list] [next in list] [prev in thread] [next in thread]
List: ess-help
Subject: Re: keybindings in SAS mode
From: Rodney Sparapani <rsparapa () post ! its ! mcw ! edu>
Date: 2004-02-27 14:53:52
Message-ID: 200402271453.i1RErr527437 () post ! its ! mcw ! edu
[Download RAW message or body]
>(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@mcw.edu http://www.mcw.edu/pcor
Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic