From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: What does it mean: (define-key mode-specific-map [?a] 'org-agenda) Date: Sun, 07 Feb 2010 13:30:36 -0500 Message-ID: <878wb4aofn.fsf@fastmail.fm> References: <942B3B793327BB4DA113CF35156A0A480EB112@GCVMAIL2.corp.geze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NeBoM-0005zk-7F for emacs-orgmode@gnu.org; Sun, 07 Feb 2010 13:24:46 -0500 Received: from [199.232.76.173] (port=59648 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeBoL-0005zc-Kp for emacs-orgmode@gnu.org; Sun, 07 Feb 2010 13:24:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NeBoJ-0005vf-Ls for emacs-orgmode@gnu.org; Sun, 07 Feb 2010 13:24:45 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:52496) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NeBoJ-0005v3-A0 for emacs-orgmode@gnu.org; Sun, 07 Feb 2010 13:24:43 -0500 In-Reply-To: <942B3B793327BB4DA113CF35156A0A480EB112@GCVMAIL2.corp.geze.com> (Joerg Krause's message of "Sun, 7 Feb 2010 19:14:05 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Krause, Joerg" Cc: emacs-orgmode@gnu.org "Krause, Joerg" 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