From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WM6oIWEAPGdC+wAAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Nov 2024 03:05:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WM6oIWEAPGdC+wAAqHPOHw (envelope-from ) for ; Tue, 19 Nov 2024 04:05:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731985505; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=s5Mfx6d7F01oZIyy5vR1kOr1VhB61rbVm/xioEru5fA=; b=jqAaiUFIhICLYG1AEBSVdOVkON97bX3GlpLjim7pQuJeXWAD4yEHz3yP0kRO9bpEE7qY4g 2A4oefetEafgRtYcItFwCG5b6jO+Y23UPOXCb3kYCeH7hzBYm3TdqNTXPpHg6UCPpL9hU7 1gASXuBfPAOAPIoojHA2fkYbhrgzVjw8l6TGGqhVyObtDXSrKr5ucLsAcYNksU+6S1OI6p +IB0I2ZEXvB3peSgvikkwlxUkBtWRFNSDLWpJ43t3NwU8o9hRQFm6tXCaYueZoxQ6KYjE9 O6GDn29/zqxjHhgfVXXm0wOvuN9m3cg0P4vGkAkS4o4ofgJWtCX53T2GQ52DoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731985505; a=rsa-sha256; cv=none; b=fTsiPG6nox+1UA8o3wrQyiYMLl3UZVEsfNbueaEJLnxdFba1g2thuTkl1tUPTqmnbL7wQ9 mbYLDJfnwYXGxzqlXu098wN4fg6DHDq7+3wGev4O9b/K1tjUhzXHkT2WcgliJak72vmCmG CqWOJWKx+c5RliRcyQeWMPEHb3TMLa2almxOnGV4vjGfNOBuzf+OYgxfA3QUAgOKo51Qg2 AkHsVxGpMc3JwR9AP2GdbXQ6eZfDjf8EBsO2pjL5sZoJ07Obuae3RS1TUgnsWbNh8tk7Yn rq7xqc7lQOra4JHy+gb1CqYZDiPQUMTRjHEhIcTnjJc6w7WFTcbsdnFDKJxOqw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1D6008D0E2 for ; Tue, 19 Nov 2024 04:05:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDENJ-0004jL-9u; Mon, 18 Nov 2024 21:53:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDENG-0004j0-O6 for emacs-orgmode@gnu.org; Mon, 18 Nov 2024 21:53:54 -0500 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDENE-0005Yw-My for emacs-orgmode@gnu.org; Mon, 18 Nov 2024 21:53:54 -0500 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id D782FE810B for ; Tue, 19 Nov 2024 03:53:42 +0100 (CET) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Org Mode List Subject: Re: Capture template datetree of type week In-Reply-To: <8734jo7xl6.fsf@k-7.ch> (=?utf-8?Q?=22S=C3=A9bastien?= Gendre"'s message of "Tue, 19 Nov 2024 03:43:01 +0100") References: <8734jo7xl6.fsf@k-7.ch> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Tue, 19 Nov 2024 03:53:42 +0100 Message-ID: <87wmh06iix.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.02 X-Spam-Score: -4.02 X-Migadu-Queue-Id: 1D6008D0E2 X-TUID: UGeLI0znbwgJ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=C2= =A0? S=C3=A9bastien Gendre writes: > [[PGP Signed Part:Good signature from B586F7C77239E29E S=C3=A9bastien Gen= dre (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 > > =E2=80=A6 > ("j" "Weekly Journal" > entry > (file+olp+datetree "~/Org/Weekly Journal.org") > (file "~/Org/Templates/Journal Entry.org") > :tree-type week > :empty-lines 1) > =E2=80=A6 > > 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=C2=A0? > > My version of Org is 9.7.15 and Emacs is 29.4. > > > > Best regards > > ------- > Gendre S=C3=A9bastien > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmc7/bYLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p5TNw//WJLHVRIIuM/iCRTewGpBWsMPBoddWTMmF2SZN6EB AxGzfO7dPexVR8Z1ZSkk+DYRAvRpyk+fWkPp12WUgJXyiAp20qfqpe6RXKlP9N4G gyYg7PVt7xiT07yeY59gkCJ3K95ZHsv0IPpN8hQsVVezoc1LnHuLbrOUoy5iDVQD SSEAlMA+zIFihFXyBhenlSr3Qovo9ZdcemJBGy0TaZGd009hWK+E+NBk/c5pTCSQ 6FnrAVLaYeTo5cSCiJVpGnyhVP8ByzvVbplGqt9mwzU7qJhj63F1lLG4MgSjMj98 uji1Wga7qC0wxr1hNwKG6P63I0+lzKgvUF/vMkj1nqX1QWmlKqhtbLVT0kQGMZpe wR7NZdB3aXS0ECl83jbkunZmJYdzeaCJyddDh2bgrjM0cfn05H6rgV9/QZOq1fxF toJFdwD0THFmz0QFLhEwUngU08/XosXSphegKUJ1H4iw7CkC7X8UJvAHswf/wMC0 fotl7qHEyx6Wsr05mQ8OSOn9dCwKEclR7Aeozqzy1MuHhVONB+Pyu2gTWELS5CvP KQNyWSM1PZXckQfc7N38yAHUbM+/mxjhxacUkQaprw4fEJq4yS0O95rXIxDFWe2f 1JeQGTfb54XXhcachOB68lg9bDy4ulaEKiEJ3mCTuti4qOGy7wfqnbpbws/sROY+ HVg= =cs72 -----END PGP SIGNATURE----- --=-=-=--