From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Several datetrees in one file Date: Tue, 28 Oct 2014 18:07:07 +0100 Message-ID: <87vbn46s3o.fsf@mailbox.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjAFC-0005gv-SB for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 13:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjAF6-0002Hc-Jb for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 13:07:42 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:36607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjAF6-0002HT-9f for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 13:07:36 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 0404141861 for ; Tue, 28 Oct 2014 18:07:35 +0100 (CET) Received: from smtp1.mailbox.org ([80.241.60.240]) (using TLS with cipher AES256-GCM-SHA384) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTPS id 2LQw82L5R8Kt for ; Tue, 28 Oct 2014 18:07:33 +0100 (CET) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I would like to have several datetrees in one org file. I want to have different datetrees under different headlines. The setup I have in mind is an address book with chronologically ordered notes for each person. This is an example entry for one person. Each following person in that file will have their own datetree and corresponding notes. * John Doe :PROPERTIES: :MAIL: john.doe@example.com :END: - nice guy ** 2014 *** 2014-10 October **** 2014-10-27 Monday ***** meeting 1 Entered on <2014-10-27 Mon 00:00> - notes **** 2014-10-28 Tuesday ***** meeting 2 Entered on <2014-10-28 Tue 00:00> - more notes Currently, there is no way to capture a new entry in a datetree for a specific person. The current capture templates only allow for one datetree per file. Is it possible to extend this datetree functionality and let the user specify the file and the headline under which the datetree resides? Adapting the example from the manual, I would like to have something along the lines of: (file+headline+datetree "path/to/file" "headline") or (file+olp+datetree "path/to/file" "level 1 headline" "level2" ...) Is this possible? Regards, -- Alexander Baier