admin管理员组文章数量:1405874
I copy pasted a -capture template for my dailies in -roam. I googled quite a bit, asked Chat-GPT but cannot figure out why I am getting the same error message all the time. To my understanding target is defined. Maybe somebody is less blind than me.
From my .emacs
(let ((head "#+title: %<%Y-%m-%d (%A)>\n#+startup: showall\n* [/] Do Today\n* [/] Maybe Do Today\n* Journal\n"))
`(("j" "journal" entry
#'-roam-capture--get-point
"* %<%H:%M> %?"
:file-name "daily/%<%Y-%m-%d>"
:head ,head
:olp ("Journal")
:target (file+head "daily/%<%Y-%m-%d>" ,head))
("t" "do today" item
#'-roam-capture--get-point
"[ ] %(princ as/agenda-captured-link)"
:file-name "daily/%<%Y-%m-%d>"
:head ,head
:olp ("Do Today")
:immediate-finish t
:target (file+head "daily/%<%Y-%m-%d>" ,head))
("m" "maybe do today" item
#'-roam-capture--get-point
"[ ] %(princ as/agenda-captured-link)"
:file-name "daily/%<%Y-%m-%d>"
:head ,head
:olp ("Maybe Do Today")
:immediate-finish t
:target (file+head "daily/%<%Y-%m-%d>" ,head)))))
I still receive the error message:
Template needs to specify ‘:target’
本文标签: emacsOrgRoam Capture templates throwing an error Template needs to specify target’Stack Overflow
版权声明:本文标题:emacs - Org-Roam Capture templates throwing an error Template needs to specify ‘:target’ - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744935036a2633132.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论