emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Bug: Bad doc [7.4]


From: Nick Dokos
Subject: Re: [Orgmode] Bug: Bad doc [7.4]
Date: Mon, 20 Dec 2010 01:58:37 -0500

Dave Abrahams <address@hidden> wrote:

>   `C-c c C'
>        Customize the variable `org-capture-templates'.
> 
> I don't know where that keybinding is supposed to come from, but as
> far as I can tell, it isn't set anywhere.  In fact, if we take the
> manual's suggested `C-c c' binding for org-capture, the `C' above just
> does a self-insert in the capture buffer.
> 

Works fine here.

It's not a run-of-the-mill keybinding: it's actually dynamically "bound"
(in a manner of speaking) when org-capture gets executed. Assuming you
have bound C-c c to org-capture, then you should get a menu somewhat
like this with C-c c (but note that it will reflect *your* definition of
org-capture-templates; and note also that the menu is constructed at
runtime):

,----
| Select a capture template
| =========================
| 
| [t]     
| [a]     Appts
| [h]     Home
| [w]     Work
| [n]     Notes
| 
-------------------------------------------------------------------------------
| [C]     Customize org-capture-templates
| [q]     Abort
`----


`C' and `q' are predefined in this menu. The org-capture
code itself looks like this:

--8<---------------cut here---------------start------------->8---
      ...
      (cond
       ((equal entry "C")
        (customize-variable 'org-capture-templates))
       ((equal entry "q")
        (error "Abort"))
      ...
--8<---------------cut here---------------end--------------->8---

Hope that clarifies,
Nick



reply via email to

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