all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)]
@ 2024-02-07 14:23 Justin Silverman
  2024-02-07 14:49 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Silverman @ 2024-02-07 14:23 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-10 19:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-07 14:23 [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)] Justin Silverman
2024-02-07 14:49 ` Ihor Radchenko
2024-02-09 19:13   ` Tommy Kelly
2024-02-09 20:43     ` Ihor Radchenko
2024-02-10 19:29       ` Tommy Kelly

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.