From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: lists@wilkesley.net
Cc: emacs-orgmode@gnu.org
Subject: Re: Possible Bug in Capture.
Date: Mon, 20 Feb 2017 12:38:15 +0100 [thread overview]
Message-ID: <87r32txfbs.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <4f3f4cc4971d5f048af5bdb6a53c5a51@wilkesley.net> (lists@wilkesley.net's message of "Mon, 20 Feb 2017 10:31:15 +0000")
Hello,
lists@wilkesley.net writes:
> 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)
Your template is invalid. Per `org-capture-templates', it should be
(file+datetree "path/to/file")
IOW, there should be no "Notes."
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2017-02-20 11:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 10:31 Possible Bug in Capture lists
2017-02-20 11:38 ` Nicolas Goaziou [this message]
2017-02-21 11:54 ` Ian Barton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r32txfbs.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=lists@wilkesley.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).