From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Sterner Subject: Capture template for datetree under existing headline Date: Fri, 23 Sep 2016 21:41:50 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1145b0b84238a7053d31f8e9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWM6-0006Tg-AP for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 15:41:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnWM4-0002S4-6R for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 15:41:53 -0400 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:33297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWM4-0002RV-2G for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 15:41:52 -0400 Received: by mail-qk0-x234.google.com with SMTP id g67so55682205qkd.0 for ; Fri, 23 Sep 2016 12:41:51 -0700 (PDT) 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: emacs-orgmode@gnu.org --001a1145b0b84238a7053d31f8e9 Content-Type: text/plain; charset=UTF-8 Hi. I want to have a capture template that generates a datetree under an existing headline in an org file with existing headlines. I tried this: ("j" "Journal" entry (file+datetree "~/workspace/org/notes.org" "Journal") "* %?\n Added %U\n %i\n%a") I tried creating the Journal headline before capturing. But org-mode generates a 2016 headline not placed under Journal. I really appreciate any help you can provide. Peter --001a1145b0b84238a7053d31f8e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi.

I want to have a capture temp= late that generates a datetree under an existing headline in an org file wi= th existing headlines. I tried this:

("j" &quo= t;Journal" entry (file+datetree "~/workspace/org/notes.org" "Journal") "* %?\n Added %U= \n %i\n%a")

I tried creating the Journal = headline before capturing. But org-mode generates a 2016 headline not place= d under Journal.=C2=A0
I really apprecia= te any help you can provide.

= Peter

=C2=A0 =C2=A0
=C2=A0 = =C2=A0 =C2=A0
--001a1145b0b84238a7053d31f8e9--