From: Nick Dokos <nicholas.dokos@hp.com>
To: Dave Abrahams <dave@boostpro.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Bug: Bad doc [7.4]
Date: Mon, 20 Dec 2010 01:58:37 -0500 [thread overview]
Message-ID: <14239.1292828317@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Dave Abrahams <dave@boostpro.com> of "Sun, 19 Dec 2010 21:12:31 -0900." <m2r5ddj7lc.wl%dave@boostpro.com>
Dave Abrahams <dave@boostpro.com> 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
next prev parent reply other threads:[~2010-12-20 6:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 6:12 Bug: Bad doc [7.4] Dave Abrahams
2010-12-20 6:22 ` Leo
2010-12-20 7:21 ` Dave Abrahams
2010-12-20 6:28 ` Noorul Islam K M
2010-12-20 6:58 ` Nick Dokos [this message]
2010-12-20 8:08 ` Dave Abrahams
2010-12-20 7:40 ` Carsten Dominik
2010-12-20 8:06 ` Dave Abrahams
2010-12-20 14:16 ` Carsten Dominik
2010-12-20 16:56 ` Dave Abrahams
2010-12-20 16:59 ` Carsten Dominik
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=14239.1292828317@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=dave@boostpro.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).