【问题标题】:Can't use org-capture: `Capture template ‘t’: listp`无法使用 org-capture:`捕获模板't':listp`
【发布时间】:2018-12-16 19:05:04
【问题描述】:

运行组织手册的示例,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)

【问题讨论】:

    标签: debugging emacs org-mode


    【解决方案1】:

    此行为是由 org-blank-before-new-entry 设置为 t 引起的

    【讨论】:

      猜你喜欢
      • 2016-04-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多