emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: What does it mean: (define-key mode-specific-map [?a] 'org


From: Matt Lundin
Subject: [Orgmode] Re: What does it mean: (define-key mode-specific-map [?a] 'org-agenda)
Date: Sun, 07 Feb 2010 13:30:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

"Krause, Joerg" <address@hidden> 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




reply via email to

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