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 ODPEGyGwkWUaAAAAkFu2QA (envelope-from ) for ; Sun, 31 Dec 2023 19:17:05 +0100 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 oMUuFiGwkWVMCgAAe85BDQ (envelope-from ) for ; Sun, 31 Dec 2023 19:17:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EetIXCXI; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704046625; 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=aRjPmGNFNVoUj60H271mVRbgfEEc3HbJ7UHBkV+ITgM=; b=UOJiRTKbcBWXnse+ctx82Fvqf+cd1KZl0lG5wnyr/yGgEXXsxni1+vYot8asgJKBIrKsFZ DGMvkRWQyqj7YNg4TrAq/3DfZ21X5qDs2aZA/3plI3q4la4qNSrlG6UJOMdzwfkHkYH4v9 lGi6vJXjmRtQFP+4FEB+tPhF1sGfzFuQWDf0oa72CyL2UVOBKn+5xS2uCZ37Dp3OShF7dF cKvvBJAAvSjZvzbv5CCn3Y1dbcoEWKYjy9Tm53hl2PjDb3ujBgT7TRM11JX38PHR+vVuv3 mavfJYCO0bpdU8L6K0/XwM4DviWwfwV/mcYNSkQ6iqqYfLQlQGEw+9HxJxi5Qw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704046625; a=rsa-sha256; cv=none; b=SK30gjMbE0hLLEckiAlZuRu8RU0sAY/J8LDckus/JjAX7lVlKTstP8F1JEjBlZD+BjOQUI 01dPnW+W4fl5OipRiuw7ibJH8jxJ1CFjD27+++NcLU6BdqVsf5+BHHhBr2j82wfPA417I0 WSZK+0WP+j5iZ797vFoUPBPa12AxfnwJmG0moKrW75+Dj71FUx3G2bjIs6xGfTqv6Iu6mq BWl+EolegqxJ6GJrty2NeguwwX/BnnJpk5sIAqjt/CM5W+ZfBHWW5p0Z0kPJ/XrR3QKQuo clwX69ho+Ztw6dtxw4PqF9bkO3v2WhLv6+yccCNeBp4R0JiWk2Wei9C0fkwrJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EetIXCXI; 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=gmail.com 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 BC9193095F for ; Sun, 31 Dec 2023 19:17:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rK0Mh-0007nX-Ql; Sun, 31 Dec 2023 13:16:47 -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 1rK0Mg-0007n2-1u for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 13:16:46 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rK0Me-0008HI-E5 for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 13:16:45 -0500 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-28cb3bc3fe7so995768a91.1 for ; Sun, 31 Dec 2023 10:16:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704046603; x=1704651403; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=aRjPmGNFNVoUj60H271mVRbgfEEc3HbJ7UHBkV+ITgM=; b=EetIXCXI7zF5RLQLJu8xwtLBaLY/OG08KpRyfl9yz2m4PMddM6Jw2lTjlDgYdSvjl+ iK5yPrpdhdV6f6RryLe8w5mzJkQuJlE88i/PIEczMgZyv7Yx6cGuywtYj/3gYXQF53XG d1mKDwNtBcZvw4E33uXcq3MLUUuOwR8NZf0ZpkKQckR6RGcsej+MwIZsbkZ6RINMTwEt bacHQc534hFVuHBWDdwJJbuhxakzN/8CpHdsqvhR/N2AoOa2LHsfabvpVARdOsBgsknD TKNUytbcDnSYildK7QJfE1iFEQEFmzM2YkkNtJFpOyjyELswfWN3+8AdtVdTAR09EWpT FIRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704046603; x=1704651403; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aRjPmGNFNVoUj60H271mVRbgfEEc3HbJ7UHBkV+ITgM=; b=fn3p631ssjZqHlc6BhBzhyo1EppXuh/xguvs+uqA4OsDuliO1HaQJ2hT4amof0SU7l mG4fQxdd+AzfTlBRPHLSWpxTV2BxGPbrUUlknelKCX2U6SLCJjQspiI/QiGftVVMGlBc i5SWSKKr76Y6tmeFELVUoXU68N+islNYEp8xBOxB7P0nCJ8cHX2vr0ecn1DZbSY9V2w/ eb8bOjpWzYbpPW5jJikIdAXDxzDQ8fLHBsQnGJ45mWQ0V1WWFAR2hQTEuCFW1RK9KZ8R ZY1k7VNp/TnQ2Dt0trmrJxr+BtexSlbh/yxb47gumu95F4Cqx9/NejyCJz3JBjkSZ/6f XhEA== X-Gm-Message-State: AOJu0YxBUZu2EBY6LDAjGNk7iBP9Ov6aOAnEXs2bdEFAQRxrBUoQIIdz FVNRoxUM6maengwz2jO4sHU= X-Google-Smtp-Source: AGHT+IFtEFJWJzJb0uwyGO00Z/LORK8cO11WiIU0ydQgGrGmH4eeYZAIzxyNPrt1q1FaU0K+n2rGmA== X-Received: by 2002:a17:90a:de0d:b0:28c:8db3:deee with SMTP id m13-20020a17090ade0d00b0028c8db3deeemr8658292pjv.7.1704046602844; Sun, 31 Dec 2023 10:16:42 -0800 (PST) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id p18-20020a170902ead200b001d4bb7cdc11sm104553pld.88.2023.12.31.10.16.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 10:16:42 -0800 (PST) From: Jack Kamm To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Month-week and quarter-week datetrees (RFC and package announcement) In-Reply-To: <87o7e677ex.fsf@localhost> References: <878r5b1nr2.fsf@gmail.com> <87o7e677ex.fsf@localhost> Date: Sun, 31 Dec 2023 10:16:41 -0800 Message-ID: <87y1daz186.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=jackkamm@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.95 X-Spam-Score: -6.95 X-Migadu-Queue-Id: BC9193095F X-Migadu-Scanner: mx12.migadu.com X-TUID: ArJ+enNNJC7a Ihor Radchenko 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. Thanks for the feedback -- I'll start working on something along these lines. Though this might take me a little while since the holiday is ending soon :''-(