From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CEoMGuLIQGcLGQEAe85BDQ:P1 (envelope-from ) for ; Fri, 22 Nov 2024 18:09:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CEoMGuLIQGcLGQEAe85BDQ (envelope-from ) for ; Fri, 22 Nov 2024 19:09:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=sE1PpUMQ; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732298978; a=rsa-sha256; cv=none; b=nt+8zaGNSLSM0H75sxztyftR9GrG6NfKT8ybS/To2aTUa3cFTu7pUQ9S4NZNxrWJQ2S9ow GuazvkiMIbwvhrTG864GL1IMT/515Fqw6WGuePaSLbDOEOm1NaGG86bHjO7vGFhc5a6dK3 oqsyJsoUvfY5RszTlNMwKSifLHhyCVy95clj/2EZwONuKg+FWfUJ7grxJH2pqyG7rhilEj IvPTWyBSIt3QVLom+I1xqQo0Mn/uzD0+ijfKRUx4Lhr5tymypFBldNwL7DC03Xa6B40FX2 dyzf933bltK677KJqje3abyj0fRHs3+N8/sC0s+tdIsJr4ZFNBIrd0zroVBdFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=sE1PpUMQ; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732298978; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UJBFSw3n1v940r/Ci7FlyijeI+P069vht7gZtU2SnwE=; b=fhcJWsy5MPCu+8EWirUN/i2jLnBI4vGioZxJHMfFH9RTq0oaJeyOOTpNZrNzj54cIeTTDv ATq4EymhCFAqchu0ryQxDRdTiTzrwiPq3ClwP2l6C1FaDIQOUmwJ0nH6Adoj/YzHoC7Y+o ViRB/wZMBlUcN51W2d5nNh5MXfeE1F4bqQ7PdrUzVOm0T243D4/HwXsk1iY5LswKglsyaH U1AYI9as2Hpvl9Y6WC9fKWMwSK//dMnir2m0Kg5YV+pAu4ojhP61q5DorUcPFtXtays6Ga d2qatfcd6aC947fQk5adFC3Icg2L1IBGouPHs2pg7PpSmae469+jzm1N45YNGQ== 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 0F36A1E4D3 for ; Fri, 22 Nov 2024 19:09:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEY5L-0005Om-E5; Fri, 22 Nov 2024 13:08:51 -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 1tEY5J-0005O8-B2 for emacs-orgmode@gnu.org; Fri, 22 Nov 2024 13:08:49 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEY5H-0001gG-D8 for emacs-orgmode@gnu.org; Fri, 22 Nov 2024 13:08:49 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A3951240028 for ; Fri, 22 Nov 2024 19:08:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732298924; bh=1iga2xqPmI6CG20IY2MG8lc1mCTh8LqVtqPmiNNnF1A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=sE1PpUMQ95iRxuA4XdmwJc0TxwfUEUeh8rgt0XZcpwLZonOFSTIk9R4ZR4SPy8znt WHLpKqlMbr7KomMYgJqEjdfMQHZ/p3eXFawRofkYKvRr0ghD5OR/QUOR3iFqZ3Da76 UtfMhGzRiK7P3XkPF+WpiBEoSasaDSC6HixpB1trbDkiNeGGRTzHXfQSfz76/Z4vP0 1/o7WBJ0aWhPCEVOQuvmuiTaW4G5M7FPTLE1v611VLc9xyQq63mxyKkTFbutTD1OFb 1eRu2X2dIKak5+QASFEnIx/zm7sQhm7+A3UX8Ngnf3e9fRK0jo5OKWh4oJDGC9H6ql pWcfWJ/bjAiiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Xw34r0Qbxz9rxF; Fri, 22 Nov 2024 19:08:43 +0100 (CET) From: Ihor Radchenko To: =?utf-8?Q?S=C3=A9bastien?= Gendre Cc: Org Mode List Subject: Re: Capture template datetree of type week In-Reply-To: <87wmh06iix.fsf@k-7.ch> References: <8734jo7xl6.fsf@k-7.ch> <87wmh06iix.fsf@k-7.ch> Date: Fri, 22 Nov 2024 18:10:14 +0000 Message-ID: <87frnj9m2h.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.00 X-Spam-Score: -5.00 X-Migadu-Queue-Id: 0F36A1E4D3 X-Migadu-Scanner: mx12.migadu.com X-TUID: 6QpYiT60zlcn S=C3=A9bastien Gendre writes: > ... > 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? The best you can do is overriding `org-datetree-find-iso-week-create' function around your capture call with cl-letf. If you look into the source code of `org-datetree-find-iso-week-create', you will see that it is easy to modify it so that it does not create date heading. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at