From: Justin Silverman <jsilve24@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)]
Date: Wed, 07 Feb 2024 09:23:24 -0500 [thread overview]
Message-ID: <87zfwccpvs.fsf@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1378 bytes --]
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
<https://orgmode.org/manual/Feedback.html#Feedback>
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
I have been using the same capture templates for years now without problem. Recently updated org and noticed a new bug.
Example: the following capture template now produces an error:
let: Invalid capture target specification: (file+olp+datetree "~/Dropbox/org/mtx-michelle.org")
("mp" "meeting psu" entry (file+olp+datetree "~/Dropbox/org/meetings_psu.org")
"* MEETING %u with %? :MEETING:\n "
:jump-to-captured t
:tree-type month)
Org no longer allows the third argument in (file+olp+datetree "~/Dropbox/org/meetings_psu.org") to be omitted. Everything works if I embed the datetree under a headline "foo" and make the capture template
("mp" "meeting psu" entry (file+olp+datetree "~/Dropbox/org/meetings_psu.org" "foo")
"* MEETING %u with %? :MEETING:\n "
:jump-to-captured t
:tree-type month)
Thanks!
Justin
Emacs : GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.40, cairo version 1.18.0)
Package: Org mode version 9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)
[-- Attachment #1.2: Type: text/html, Size: 3331 bytes --]
next reply other threads:[~2024-02-07 14:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-07 14:23 Justin Silverman [this message]
2024-02-07 14:49 ` [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)] Ihor Radchenko
2024-02-09 19:13 ` Tommy Kelly
2024-02-09 20:43 ` Ihor Radchenko
2024-02-10 19:29 ` Tommy Kelly
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=87zfwccpvs.fsf@gmail.com \
--to=jsilve24@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).