[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Capture template datetree of type week
From: |
Sébastien Gendre |
Subject: |
Re: Capture template datetree of type week |
Date: |
Tue, 19 Nov 2024 03:53:42 +0100 |
User-agent: |
mu4e 1.12.1; emacs 29.4 |
Ha, my bad.
If I set `:tree-type` to `week`, it actually create a week heading but
keep creating a sub heading for the day.
I thought it would create only year and week heading on top of my
entries.
What I get is :
* Year
** Week
*** Day
**** Item 1
**** Item 2
What I thought I will got:
* Year
** Week
*** Item 1
*** Item 2
Is it possible to configure my capture template to have the second one ?
Sébastien Gendre <seb@k-7.ch> writes:
> [[PGP Signed Part:Good signature from B586F7C77239E29E Sébastien Gendre
> <seb@k-7.ch> (trust ultimate) created at 2024-11-19T03:43:01+0100 using RSA]]
> 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
>
> [[End of PGP Signed Part]]
signature.asc
Description: PGP signature