Emacs has different ways to assign key-bindings but the method with kbd
seems to be the best one.

An excellent blog post about key-bindings in Emacs is
http://www.masteringemacs.org/articles/2011/02/08/mastering-key-bindings-emacs/

--
Darlan

At Tue, 10 May 2011 09:59:21 -0500,
John Hendy <[email protected]> wrote:
> 
> This is surely very simple but I can't find it anywhere...
> 
> I'm trying to assign org-resolve-clocks to C-c C-r. I tried to just
> modify the way that link and agendar are set:
> ,---
> | (global-set-key "\C-ca" 'org-agenda)
> `---
> 
> So I've tried:
> ,---
> | (global-set-key "\C-c C-r" 'org-resolve-clocks)
> | (global-set-key "\C-c \C-r" 'org-resolve-clocks)
> | (global-set-key "\C-c\C-r" 'org-resolve-clocks)
> `---
> 
> and none have worked.
> ,---
> | (global-set-key "\C-cr" 'org-resolve-clocks)
> `---
> 
> works fine, but I wanted C-c C-r not C-c r. What am I goofing?
> 
> 
> Thanks,
> John
> 

Reply via email to