From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-capture datetree below heading? Date: Wed, 10 May 2017 08:39:41 +0200 Message-ID: References: <177e45f3-3e8d-16e2-58f6-ce27b248ab63@stndrf.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045dc12adfa4a7054f25bd1c" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8LI8-0006hE-Do for emacs-orgmode@gnu.org; Wed, 10 May 2017 02:40:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8LI2-0002t1-HF for emacs-orgmode@gnu.org; Wed, 10 May 2017 02:40:08 -0400 Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]:38411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8LI2-0002sv-C5 for emacs-orgmode@gnu.org; Wed, 10 May 2017 02:40:02 -0400 Received: by mail-it0-x22d.google.com with SMTP id e65so14764437ita.1 for ; Tue, 09 May 2017 23:40:02 -0700 (PDT) In-Reply-To: <177e45f3-3e8d-16e2-58f6-ce27b248ab63@stndrf.de> 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: Benedikt Steindorf Cc: org-mode list --f403045dc12adfa4a7054f25bd1c Content-Type: text/plain; charset="UTF-8" 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 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 > > --f403045dc12adfa4a7054f25bd1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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

=C2=A0:DATE_TREE: t

property to the headin= g under which you want the datetree to be built.

C= arsten

On Tue, May 9, 2017 at 4:46 PM, Benedikt Steindorf <<= a href=3D"mailto:bndkt@stndrf.de" target=3D"_blank">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
=C2=A0 =C2=A0 =C2=A0 =C2=A0 '(("t" "Tasks")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("tg" "Task (General)"= ; entry (file+headline "~/org/work.org"
"Tasks")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"* TODO %?\n=C2=A0 %i\n=C2=A0= %a")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("m" "Mehrarbeit") =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("mn" "Nachtschicht" = entry (file+datetree+prompt
"~/org/work.org" "Mehrarbeit")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"** %^{Activity} :NIGHTSHIFT:= ")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("mr" "Rufbereitschaft&quo= t; entry (file+datetree+prompt
"~/org/work.org" "Mehrarbeit")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"** %^{Activity} :CALLOUT:&qu= ot;)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("w" "Web-Site" entry= (file "~/org/web.org")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"* TODO Review %c\n%U\n%i\n&q= uot; :immediate-finish))))


- Benedikt


--f403045dc12adfa4a7054f25bd1c--