[ESS] ESS[R]: Evaluate region keyboard command
spluque at gmail.com
Mon Aug 9 03:35:29 CEST 2010
On Mon, 9 Aug 2010 09:32:18 +1000,
"Peter Geelan-Small" <peter.geelan-small at sydney.edu.au> wrote:
> G'day, Everyone. I discovered the reason C-c C-r wasn't working for
> me was that I had CUA mode (C-x/C-c/C-v Cut and Paste) enabled. Once I
> disabled that, C-c C-r worked nicely.
By itself, that shouldn't cause the problem you're having. One thing to
be careful with CUA mode is the variable
`cua-prefix-override-inhibit-delay', which has a default that is too
fast so the ESS 'C-c' prefix is overridden. I've customized to 1 s to
avoid this problem:
,-----[ C-h v cua-prefix-override-inhibit-delay RET ]
| cua-prefix-override-inhibit-delay is a variable defined in `cua-base.el'.
| Its value is 1
| *If non-nil, time in seconds to delay before overriding prefix key.
| If there is additional input within this time, the prefix key is
| used as a normal prefix key. So typing a key sequence quickly will
| inhibit overriding the prefix key.
| As a special case, if the prefix keys repeated within this time, the
| first prefix key is discarded, so typing a prefix key twice in quick
| succession will also inhibit overriding the prefix key.
| If the value is nil, use a shifted prefix key to inhibit the override.
| You can customize this variable.
More information about the ESS-help