From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2PHrIcGftmPixQAAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 11:00:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +FYDIcGftmM1qAAAG6o9tA (envelope-from ) for ; Thu, 05 Jan 2023 11:00:33 +0100 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 54977CE2C for ; Thu, 5 Jan 2023 11:00:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDN2S-0002Mh-0y; Thu, 05 Jan 2023 04:59:56 -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 1pDN2P-0002L3-LJ for emacs-orgmode@gnu.org; Thu, 05 Jan 2023 04:59:53 -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 1pDN2N-0001gP-Ki for emacs-orgmode@gnu.org; Thu, 05 Jan 2023 04:59:53 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C87BB2406EC for ; Thu, 5 Jan 2023 10:59:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672912789; bh=O569LUzjt6Ii06/ZuyIt42UEu8lEwSDmOK5z0dx/V/o=; h=From:To:Cc:Subject:Date:From; b=dgiSjqCRSgJyooYg7Fd2ZeZ6pMpDaeTcbKD7ZGZCHcd97p5rj1UbvLd0axZJVEd4u DZsfEdmQoF6eJT7FsNO56yWYcMga+zxbielCXdgx0cORHJ6lb75VaQoI+7V9u/e3NT uH2s39GcswxmRsFotP1Qi2LphiuSHFgrcGcz5vyySmhirjbDbdum4kmMNXxx9Htvt+ CxsRgqruf10XzhjHlS4IePgRTGnL/wWzI2EWUAVthYP2bxCP8/3oJ0gkKT+Akv8GML S2PhTt6jN7r0Mzv3dEBpdGc/HmDo3MgR27/49rg3IsjGVyRNuhN/nrEHC/IsA/Sw+8 9kMXqGkf/tMCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Nnhlm5TTxz9rxG; Thu, 5 Jan 2023 10:59:48 +0100 (CET) From: Ihor Radchenko To: Ilya Chernyshov Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org-datetree.el: Allow datetrees with TODO, priority, tags In-Reply-To: References: Date: Thu, 05 Jan 2023 10:00:20 +0000 Message-ID: <87zgaxfgi3.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: -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_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672912833; a=rsa-sha256; cv=none; b=F5pdiL/NOkdrKGnGTpvQjgOv5i5rHkuRd0FrAWa4eAp4RSYFsgwx5LfbqHlXa1BAHz4NhE 7MbNc8eE9DnkTNXkPEQtowIqsY8kQWSeHynupoXxA2chCTnh3TRBOpnOTBub6hYaOMb/5i PePG0wJL/pQ0V6/PVyetW3TnEhZQLRm21POMHNY5ETajzcarRIk6zdSsvEVAVM9JXerlft bObjfvwAnWlGwhiVXLKRQWb8gk5MeQwopdjBqCVDS3boJ+3IKhxZanVBAXETrZbMOx5GF/ x4MW2bj3y78SRdF9miG0C1IhIbryBHVq/Rv3CmostoF5kfBbjokLFuiCf9pUNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dgiSjqCR; 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=1672912833; 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=V5gb687HqlAAFbiRAvecK0p1vuoRLcUer/WgJZ1c+Ik=; b=bCIy+MS2ObQiSepMP3TaaWkvr6B/jOqwZ3QxM/dgdMZJs+8wxx/cksUld82I6sZhRak2zn zJ3K6KUDwDvvn01rM4Xi6g4J4Fcsba0yeibNSAvr/J+9qsv/8x5hn9t9wo9ATEqArzId7C x01MKqF9cHXsuAR7cbLnbCdD1MQVa/LdjHnmgTEK8j9iuQek26YGjWJs+6wIji09E+QbED MsxmO/iPdHLnbOVqpNGGGoUlB0L2ntW6oV9hcmesAB5dGE2QvnEAzQNnmwDiVzxu5B83w/ 8MyesrbyUjMNAl647yLlm0MJwuysRNnAqOrQWiS2uzs1Qa+r9WkKZOa6i+Dv3w== X-Spam-Score: -9.81 X-Migadu-Queue-Id: 54977CE2C Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dgiSjqCR; 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 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.81 X-TUID: iLMB8QTtRv5l Ilya Chernyshov writes: > Here is a patch that allows to find datetree headlines that contain tags, > TODO or priority keywords. > > Sometimes you need to set TODOs or tags to such headlines. When you do > this, next time you capture under this datetree, you get a new datetree > with the same date in the same file, which is annoying. This patch fixes it. Thanks! Instead of manually constructing the regexp, you can use `org-complex-heading-regexp-format'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at