From: "Sébastien Gendre" <seb@k-7.ch>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Capture template datetree of type week
Date: Tue, 19 Nov 2024 03:43:01 +0100 [thread overview]
Message-ID: <8734jo7xl6.fsf@k-7.ch> (raw)
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
Hello,
I tried to set a new capture template with a target `file+olp+datetree`
and the property `:tree-type` set to `week`. But Org-mode act as it's
set to `day`.
Here is my capture template
…
("j" "Weekly Journal"
entry
(file+olp+datetree "~/Org/Weekly Journal.org")
(file "~/Org/Templates/Journal Entry.org")
:tree-type week
:empty-lines 1)
…
The result datetree group my items per days.
If I set `:tree-type` to `month`, my items are grouped per month.
Did I do something wrong ?
My version of Org is 9.7.15 and Emacs is 29.4.
Best regards
-------
Gendre Sébastien
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
next reply other threads:[~2024-11-19 2:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 2:43 Sébastien Gendre [this message]
2024-11-19 2:53 ` Capture template datetree of type week Sébastien Gendre
2024-11-22 18:10 ` Ihor Radchenko
2024-11-22 23:26 ` Sébastien Gendre
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=8734jo7xl6.fsf@k-7.ch \
--to=seb@k-7.ch \
--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).