emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Several datetrees in one file
@ 2014-10-28 17:07 Alexander Baier
  2014-10-29  3:01 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Baier @ 2014-10-28 17:07 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-29 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 17:07 Several datetrees in one file Alexander Baier
2014-10-29  3:01 ` Nick Dokos
2014-10-29 12:33   ` Alexander Baier

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).