emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Benedikt Steindorf <bndkt@stndrf.de>
Cc: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: org-capture datetree below heading?
Date: Wed, 10 May 2017 08:39:41 +0200	[thread overview]
Message-ID: <CADn3Z2JKwtL23unJWXQ=y7eE1V1oWJFJrF6OeWfq11JuD9Zb6w@mail.gmail.com> (raw)
In-Reply-To: <177e45f3-3e8d-16e2-58f6-ce27b248ab63@stndrf.de>

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

Hi Benedict,

yes, get the latest master from the git repo and read the manual for that
version.

You can also look at a recent thread with the subject

"Use of date trees in Capture has been modified"

If you cannot upgrade, just put a

 :DATE_TREE: t

property to the heading under which you want the datetree to be built.

Carsten

On Tue, May 9, 2017 at 4:46 PM, Benedikt Steindorf <bndkt@stndrf.de> wrote:

> Hi,
>
> i like to use a datetree under a headingis this somehow possible?
>
> Example:
>
> * Log
> ** 2017
> *** 2017-05
>
> My current config:
>
> (setq org-capture-templates
>         '(("t" "Tasks")
>          ("tg" "Task (General)" entry (file+headline "~/org/work.org"
> "Tasks")
>            "* TODO %?\n  %i\n  %a")
>          ("m" "Mehrarbeit")
>          ("mn" "Nachtschicht" entry (file+datetree+prompt
> "~/org/work.org" "Mehrarbeit")
>            "** %^{Activity} :NIGHTSHIFT:")
>          ("mr" "Rufbereitschaft" entry (file+datetree+prompt
> "~/org/work.org" "Mehrarbeit")
>            "** %^{Activity} :CALLOUT:")
>          ("w" "Web-Site" entry (file "~/org/web.org")
>            "* TODO Review %c\n%U\n%i\n" :immediate-finish))))
>
>
> - Benedikt
>
>

[-- Attachment #2: Type: text/html, Size: 2350 bytes --]

  reply	other threads:[~2017-05-10  6:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09 14:46 org-capture datetree below heading? Benedikt Steindorf
2017-05-10  6:39 ` Carsten Dominik [this message]
2017-05-11  6:20 ` superflous blank line in capture Jay Dresser
2017-05-23 16:18   ` Nicolas Goaziou

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='CADn3Z2JKwtL23unJWXQ=y7eE1V1oWJFJrF6OeWfq11JuD9Zb6w@mail.gmail.com' \
    --to=dominik@uva.nl \
    --cc=bndkt@stndrf.de \
    --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).