From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Assigning a keyboard shortcut Date: Tue, 10 May 2011 17:50:47 -0500 Message-ID: References: <4dc98cca.4100ec0a.7ef2.fffff638@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJvlS-0000Tr-Ge for emacs-orgmode@gnu.org; Tue, 10 May 2011 18:50:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJvlR-0002rv-Bi for emacs-orgmode@gnu.org; Tue, 10 May 2011 18:50:50 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:61531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJvlR-0002rq-0V for emacs-orgmode@gnu.org; Tue, 10 May 2011 18:50:49 -0400 Received: by bwz17 with SMTP id 17so6756935bwz.0 for ; Tue, 10 May 2011 15:50:47 -0700 (PDT) In-Reply-To: <4dc98cca.4100ec0a.7ef2.fffff638@mx.google.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Darlan Cavalcante Moreira Cc: emacs-orgmode 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-bindings-emacs/ I'll say. That was *awesome* -- and thanks for the link to the blog in general; I suspect I'll be spending a lot of time there and didn't know about it. John > > -- > Darlan > > At Tue, 10 May 2011 09:59:21 -0500, > John Hendy 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 >> >