运行组织手册的示例,https://orgmode.org/manual/Capture-templates.html
我在 emacs 中评估以下代码:
(setq org-capture-templates
'(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
"* TODO %?\n %i\n %a")
("j" "Journal" entry (file+olp+datetree "~/org/journal.org")
"* %?\nEntered on %U\n %i\n %a")))
然后我跑M-x org-capture t。打印以下错误,我无法捕获任何内容:org-capture: Capture template ‘t’: listp
这是完整的回溯:
Debugger entered--Lisp error: (error "Capture template ‘t’: listp")
signal(error ("Capture template ‘t’: listp"))
error("Capture template `%s': %s" "t" listp)
org-capture(nil)
funcall-interactively(org-capture nil)
call-interactively(org-capture nil nil)
command-execute(org-capture)