From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cO2BKh1/kWWCZwAAkFu2QA (envelope-from ) for ; Sun, 31 Dec 2023 15:47:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WEFjJh1/kWXyCgAAe85BDQ (envelope-from ) for ; Sun, 31 Dec 2023 15:47:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LILnAcXn; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704034077; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xU1aFhBTbO0L1Zg87o7jTgzMONQ+bYXMfhAPIQjJ/9E=; b=PA0j0rtUN1ltVgsJHvffiZhRGvdf05JH6BVZ6AI2SOoXP1aqv1L+Q2zBBybcEPgDZOFxql Bo5z12/SApe/SKbpqadf0XSzOzzKTnt32+h5QPiSIpS8kJAmymJVX1w2EFkxpT9d0D7Ncm w6xwNLLHI3F+UuTo9f3Fozd0pe3a5gAW9/p/MCKeIvsvwfySHDROwRFfe0hac2tsnspOAu xAwFh95KH0VY+9b5SkUwQRMQWujbNcNI4xPlcz7gEQUB5Myby3DmYUf7ABXAJe53RmcJAC 9FPUPh+bR09i1BRR6iXxl1QiC97J53CEZSzNu+WkSNUh1Li9PKi4Ocz92Ys6yQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LILnAcXn; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704034077; a=rsa-sha256; cv=none; b=bPOlOZa+L81idBfvEHDfxfYbvWYwTV/lgjyvOX8Ba6UBpZw3pW4KzU8mQCy1Zs/VF3rDPf H7eUgnjXuWi+/ObwSDizRsGWjdLCez5+VIWgHIbzyh8CAse2ciLQenvB9QAm2h8EXRA4zZ w27rkn+P6POdSHtrhs7FPJT6DTaMdZN4VArYteQKIZEaLX7ZVXGr4+O1hbbuIiO4aG6iaF 5zMxp3E3y3KlaZKjiMlXbCJbq1O/lGslAGICuSjlAG9D7mUeSWS45qzZH2kIRb6u8tmx0A u4/dG+d1zxcE2kY4Oo0o5IEC0jfbN+mk0Fev8MTlg58a3O6VE4X+HYltrY9ONA== 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 8DE465F5DB for ; Sun, 31 Dec 2023 15:47:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJx64-0000W8-Sd; Sun, 31 Dec 2023 09:47:24 -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 1rJx61-0000Vn-2v for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 09:47:21 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJx5z-0001VU-1Q for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 09:47:20 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 61E79240103 for ; Sun, 31 Dec 2023 15:47:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704034037; bh=vDmBHvcYr66G51+z0Vz/avO/wwLz3OzQ1hDzYvZ7TyA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=LILnAcXnfifw9cS12jQqbKpalifqgMrHT0Hpu+Rt0pgD845IeNAq9QbZR8Q5KOHRT 1/d8AfqWHpiF8633gt+v7rfHxuSxD8LjHyXlNOMLmYo5NCv0l9oquAdP+r6yVP+K7X jRDeQyEUfbrFub1dEFIMXQYmYKZjt2y1wrp2JLpgmBJCRIY7ZsKklecmIsH2ND0OCM xyBnBxmZcy9Pr+E4LYoZKjyLPrEAAUmNDTmfazYxVdobkfkph+FTxFUe4sbvGXTF/5 SqxQXYzBlXBinE8ccrAdwjki760aGHEpYx/pkSz/uaURwGmbLHK+/pyYl1uUcjJ5x6 pOiUsfV5c6XEg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T325K0XKgz9rxK; Sun, 31 Dec 2023 15:47:17 +0100 (CET) From: Ihor Radchenko To: Jack Kamm Cc: emacs-orgmode@gnu.org Subject: Re: Month-week and quarter-week datetrees (RFC and package announcement) In-Reply-To: <878r5b1nr2.fsf@gmail.com> References: <878r5b1nr2.fsf@gmail.com> Date: Sun, 31 Dec 2023 14:50:30 +0000 Message-ID: <87o7e677ex.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.31 X-Spam-Score: -7.31 X-Migadu-Queue-Id: 8DE465F5DB X-Migadu-Scanner: mx10.migadu.com X-TUID: c6d+gofEGxj5 Jack Kamm writes: > https://gitlab.com/jackkamm/org-grouped-weektree > > I'd appreciate feedback on 2 points: > > 1. Are any of these datetree formats worth upstreaming into org-mode > proper? That would make sense. > 2. Can we add a public interface for `org-datetree--find-create', and > are there any suggestions on how to do it? > > Regarding #2, an ugly aspect of my current implementation is the abuse > of the private function `org-datetree--find-create'. I also pass in > the week or quarter for the DAY and MONTH arguments of this function, > though I note that `org-datetree-find-iso-week-create' does something > similar in its implementation. The API of `org-datetree--find-create' is generally very limiting. It would be nice to come up with something less limiting. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at