[ESS] ESS Editing Mode
david at davidneu.com
Fri Jan 15 01:57:03 CET 2010
On Wed, Jan 13, 2010 at 10:11 PM, Tyler Smith <tyler.smith at eku.edu> wrote:
> David Neu <david at davidneu.com> writes:
>> Hi Stephen,
>> Thanks for the response.
>>> what advantage would you see to not loading ess inferior code? Speed up
>>> in load time?
>> I'm not currently using the ess inferior mode, but am using the
>> editing mode, and I'd like to use the key sequences related ess
>> inferior mode for other things.
> You can accomplish this with a hook:
> (defun my-ess-mode-hook ()
> (local-set-key "\C-c\C-c" 'do-something-helpful)
> (local-set-key "\C-c\C-d" 'do-something-clever))
> (add-hook 'ess-mode-hook 'my-ess-mode-hook)
> Placing the above code in your .emacs file will cause the ess-mode
> keybindings for C-c C-c and C-c C-d to be replaced by the named
> You'll need to pick real functions of course, and it won't take effect
> until your .emacs is next evaluated, normally at start-up unless you
> explicitly evaluate it yourself. But you can easily extend it to include
> as many different key-bindings as you like. This will only have effect
> in the buffer that is visiting a .R (or .S file).
> ESS-help at stat.math.ethz.ch mailing list
More information about the ESS-help