emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Possible Bug in Capture.


From: lists
Subject: [O] Possible Bug in Capture.
Date: Mon, 20 Feb 2017 10:31:15 +0000
User-agent: Roundcube Webmail/1.2.1

I have just switched from maint to master and now get the following error capturing to a date tree:

#+begin_src emacs-lisp
Debugger entered--Lisp error: (error "Invalid capture target specification: (file+datetree \"~/Documents/emacs/org/org_files/tasks/notes.org\" \"Notes.\")") signal(error ("Invalid capture target specification: (file+datetree \"~/Documents/emacs/org/org_files/tasks/notes.org\" \"Notes.\")")) error("Invalid capture target specification: %S" (file+datetree "~/Documents/emacs/org/org_files/tasks/notes.org" "Notes."))
  org-capture-set-target-location()
  org-capture(nil)
  call-interactively(org-capture nil nil)
  command-execute(org-capture)

#+end_src

This is my capture template:

("n" "Notes" entry (file+datetree
"~/Documents/emacs/org/org_files/tasks/notes.org" "Notes.") "* %U %? :note:refile:" :prepend t)

This appears to have been introduced in:

commit 958eacdf2294b4edd6aa797d57d4c36ada682089
Author: Nicolas Goaziou <address@hidden>
Date:   Sun Nov 6 09:29:09 2016 +0100

    org-capture: Small refactoring

* lisp/org-capture.el (org-capture-set-target-location): Refactor using
      pattern-matching for clarity.

Ian.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]