From: Matt Lundin <mdl@imapmail.org>
To: "Krause, Joerg" <j.krause@geze.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: What does it mean: (define-key mode-specific-map [?a] 'org-agenda)
Date: Sun, 07 Feb 2010 13:30:36 -0500 [thread overview]
Message-ID: <878wb4aofn.fsf@fastmail.fm> (raw)
In-Reply-To: <942B3B793327BB4DA113CF35156A0A480EB112@GCVMAIL2.corp.geze.com> (Joerg Krause's message of "Sun, 7 Feb 2010 19:14:05 +0100")
"Krause, Joerg" <j.krause@geze.com> writes:
> I copied an orgmode setup from http://www.newartisans.com/2007/08/
> using-org-mode-as-a-day-planner.html in order to test the described way
> of GTDing there. Since it works fine for me, I am trying to understand,
> what's going on beyond the surface. I found the expression above in the
> setup elisp file. After examining the manual and serveral sites, I
> still don't understand the term [?a] within that statement. Can anybody
> brighten my mind?
I assume you are referring to the following line?
(define-key mode-specific-map [?a] 'org-agenda)
This line binds org-agenda to "C-c a". (You can checkout the
documentation for mode-specific-map by typing "C-h v
mode-specific-map").
The org-manual suggests the following line, which does the same thing:
(global-set-key "\C-ca" 'org-agenda)
Best,
Matt
next prev parent reply other threads:[~2010-02-07 18:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 18:14 What does it mean: (define-key mode-specific-map [?a] 'org-agenda) Krause, Joerg
2010-02-07 18:30 ` Matt Lundin [this message]
2010-02-07 18:35 ` Tassilo Horn
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=878wb4aofn.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=j.krause@geze.com \
/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).