emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Assigning a keyboard shortcut


From: Darlan Cavalcante Moreira
Subject: Re: [O] Assigning a keyboard shortcut
Date: Tue, 10 May 2011 16:06:41 -0300
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)

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 <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]