emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: Trouble with capture template and prompt
Date: Mon, 12 Sep 2016 18:17:59 -0500	[thread overview]
Message-ID: <87lgywwvvc.fsf@alphapapa.net> (raw)
In-Reply-To: m2k2eh9rbg.fsf@fiz.local

Bart Bunting <bart@bunting.net.au> writes:

> The error that is shown in the messages buffer is:
>
> Template key: 
> Capture abort: (error Key sequence C-c ! starts with non-prefix key C-c) 

I think this means that you have tried to specify the capture template
key incorrectly.  It would be helpful if you could show us the elisp
code that defines the template rather than the customize-option screen.
:)  e.g.:

#+BEGIN_SRC elisp
'(("a" "Appointment" entry
   (file+datetree+prompt
    (concat org-directory "/calendar.org")
    "Calendar")
   "* %^{Description} %T %^G\n\n%U %?" :clock-in t :clock-resume t)
  ("t" "Task" entry
   (file "")
   "* TODO %^{Description}    %^G\n\n%U %?" :clock-in t :clock-resume t))
#+END_SRC

  reply	other threads:[~2016-09-12 23:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-12 13:32 Trouble with capture template and prompt Bart Bunting
2016-09-12 23:17 ` Adam Porter [this message]
2016-09-13 20:00   ` Bart Bunting
2016-09-14  4:47     ` Adam Porter
2016-09-14 12:17       ` Bart Bunting
2016-09-14 13:48         ` Nick Dokos
2016-09-15 16:57         ` Adam Porter
  -- strict thread matches above, loose matches on Subject: below --
2016-09-06 10:20 Bart Bunting

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=87lgywwvvc.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --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).