Adam,
Here it is from .customize.
Several of the entries I do not use but thought I should include the
entire variable.
'(org-capture-templates
(quote
(("t" "todo" entry
(file "~/.org/refile.org")
"* TODO %^{Todo}
%u
%a
%?" :clock-in t :clock-resume t)
("r" "respond" entry
(file "~/.org/refile.org")
"* NEXT Respond to %:from on %:subject
SCHEDULED: %t
%U
%a
" :immediate-finish t :clock-in t :clock-resume t)
("n" "note" entry
(file "~/.org/refile.org")
"* %? :NOTE:
%U
%a
" :clock-in t :clock-resume t)
("j" "Journal" entry
(file+datetree "~/.org/diary.org")
"* %?
%U
" :clock-in t :clock-resume t)
("w" "org-protocol" entry
(file "~/.org/refile.org")
"* TODO Review %c
%U
" :immediate-finish t)
("m" "Meeting" entry
(file "~/.org/refile.org")
"* MEETING with %? :MEETING:
%U" :clock-in t :clock-resume t)
("p" "password" entry
(file "~/filing/p/passwords.gpg")
"* %^{Title}
%^{USERNAME}p %^{PASSWORD}p")
("P" "Phone call" entry
(file "~/.org/refile.org")
"* PHONE %? :PHONE:
%U" :clock-in t :clock-resume t)
("h" "Habit" entry
(file "~/.org/refile.org")
"* NEXT %?
%U
%a
SCHEDULED: %(format-time-string \"<%Y-%m-%d %a .+1d/3d>\")
:PROPERTIES:
:STYLE: habit
:REPEAT_TO_STATE: NEXT
:END:
"))))
Kind regards
Adam Porter <[email protected]> writes:
> Bart Bunting <[email protected]> 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
>
>
Bart
--
Bart Bunting