From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Allowing multiple date trees in a single file Date: Mon, 16 Jan 2017 08:45:37 +0100 Message-ID: <87wpdv4fdq.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cT1z6-0005D5-7m for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 02:45:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cT1z2-0002si-Qy for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 02:45:44 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34460) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cT1z2-0002sd-Ev for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 02:45:40 -0500 In-Reply-To: (Carsten Dominik's message of "Sun, 15 Jan 2017 17:46:50 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Carsten Dominik Cc: org-mode list Hello, Carsten Dominik writes: > here is a patch that allows to have multiple date trees or iso-week trees > in a single file by allowing to specify the property name that will be used > to place the tree. The property name can be set in org-capture-templates, > individually for every template if so desired. I use that to have three > different kind of journals in a single file. > > Any objections gains me to merge this change into Master? AFAIR, WEEK_TREE and DATE_TREE allow to select the type of tree being inserted. How is the new property allowing to do the same? Also, there are some tests defined in "test-org-capture.el" and "test-org-datetree.el". Would you mind extending those so as to include your new property ? Regards, -- Nicolas Goaziou