From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Trouble with capture template and prompt Date: Mon, 12 Sep 2016 18:17:59 -0500 Message-ID: <87lgywwvvc.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjaWW-0000qs-Vi for emacs-orgmode@gnu.org; Mon, 12 Sep 2016 19:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjaWS-0004KK-Oq for emacs-orgmode@gnu.org; Mon, 12 Sep 2016 19:20:23 -0400 Received: from [195.159.176.226] (port=58100 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjaWS-0004Ge-IW for emacs-orgmode@gnu.org; Mon, 12 Sep 2016 19:20:20 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bjaWD-0005Bx-CL for emacs-orgmode@gnu.org; Tue, 13 Sep 2016 01:20:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Bart Bunting 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