emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexander Baier <alexander.baier@mailbox.org>
To: emacs-orgmode@gnu.org
Subject: Several datetrees in one file
Date: Tue, 28 Oct 2014 18:07:07 +0100	[thread overview]
Message-ID: <87vbn46s3o.fsf@mailbox.org> (raw)

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

             reply	other threads:[~2014-10-28 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28 17:07 Alexander Baier [this message]
2014-10-29  3:01 ` Several datetrees in one file Nick Dokos
2014-10-29 12:33   ` Alexander Baier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbn46s3o.fsf@mailbox.org \
    --to=alexander.baier@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).