| On Sunday 10 May 2009 09:32:39 sh0099 wrote: > thanks this works. > i will write something about this into the EmacsEditor helpfile in the > next days. > it is cool to have keys in the editor which control sc. > > andersvi@xxxxxxxxxx schrieb: > > s> i like to add some keybinding to the sclang-mode > > s> i came as far as that: > > (add-hook 'sclang-mode-hook > > '(lambda nil > > (define-key sclang-mode-map "\C-x\M-x" > > '(lambda () (interactive)(sclang-eval-string "1+2" 1))))) See the Emacs class. Marije |