On Tue, May 10, 2011 at 2:06 PM, Darlan Cavalcante Moreira
wrote:
>
> 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-bind
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 wrote
Got it -- I found that in my googling, but wondered why the org-mode
setup documentation has the other notation "\C-ca" vs. (kbd "C-c a").
Thanks,
John
On Tue, May 10, 2011 at 10:07 AM, Michael Markert
wrote:
> Hi John,
>
> don't bother and use `kbd':
>
> -- snip
Hi John,
don't bother and use `kbd':
-- snip --
(global-set-key (kbd "C-c C-r") 'org-resolve-clocks)
-- snap --
Michael
pgpAeEhmCsXNw.pgp
Description: PGP signature
John Hendy writes:
> 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-c\C-r" 'org-resolve-clocks)
> `---
This one works for me. Y
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)
| (gl