From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao LU Subject: Capture Template problem Date: Wed, 23 Mar 2011 12:24:17 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf30364013041a4f049f28cc5e Return-path: Received: from [140.186.70.92] (port=58085 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2QrU-00087F-6q for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 12:24:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2QrS-0001os-RX for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 12:24:44 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:46946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2QrS-0001oS-KT for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 12:24:42 -0400 Received: by bwz17 with SMTP id 17so7870685bwz.0 for ; Wed, 23 Mar 2011 09:24:41 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --20cf30364013041a4f049f28cc5e Content-Type: text/plain; charset=ISO-8859-1 Dear All, I found a little problem when configuring Org-Capture. The target file is iPrv.org, whose structure is like this: ======= * INBOX *** A *** B *** C ======= So I defined a template like : ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX") "*** %?" :prepend t) But the Results turned out to be: ======= * INBOX ** D ----> What I want is *** D (Level 3, not 2) *** A *** B *** C ======= So I changed my configuration a little like: ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX" * "INBOX"*) "*** %?" :prepend t) And accordingly the iPrv.org file. ======= * INBOX *** INBOX* *** A *** B *** C ======= But still error: Heading not found on level 2: INBOX. I'm using org 7.5 on Emacs OSX 23.3 Thanks, Chao --20cf30364013041a4f049f28cc5e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear All,

I found a little problem when configuring Org-Capture.
=
The target file is iPrv.org, whose structure is like this:
=3D=3D=3D= =3D=3D=3D=3D
* INBOX
*** A
*** B
*** C
=3D=3D=3D=3D=3D=3D=3D=
So I defined a template like :
=A0("i" "INBOX" entry (file+olp (concat org-private-dir= "/iPrv.org") "INBOX") "*** %?" :prepend t)
But the Results turned out to be:
=3D=3D=3D=3D=3D=3D=3D
* INBOX=
** D=A0=A0=A0=A0=A0=A0 ---->=A0 What I want is *** D (Level 3, not 2= )
*** A
*** B
*** C
=3D=3D=3D=3D=3D=3D=3D

So I changed my configuration a littl= e like:
=A0("i" "INBOX" entry (file+olp (concat org-= private-dir "/iPrv.org") "INBOX" "INBOX") "*** %?" :prepend t)

And accordingly the iPrv.org file.
=3D=3D=3D=3D=3D=3D=3D
* INBOX
** INBOX
*** A
*** B
*** C
=3D=3D=3D=3D=3D=3D=3D

But still error: Heading not found on level 2:= INBOX.

I'm using org 7.5 on Emacs OSX 23.3

Thanks,
Chao


--20cf30364013041a4f049f28cc5e--