emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Assigning a keyboard shortcut
Date: Tue, 10 May 2011 09:59:21 -0500	[thread overview]
Message-ID: <BANLkTimZWTU=0Z=eqEjkFY+OGjJJRUGpTg@mail.gmail.com> (raw)

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	other threads:[~2011-05-10 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 14:59 John Hendy [this message]
2011-05-10 15:06 ` Assigning a keyboard shortcut Matt Lundin
2011-05-10 15:07 ` Michael Markert
2011-05-10 16:16   ` John Hendy
2011-05-10 19:06 ` Darlan Cavalcante Moreira
2011-05-10 22:50   ` John Hendy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTimZWTU=0Z=eqEjkFY+OGjJJRUGpTg@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).