emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Re: Capture Template problem


From: Bernt Hansen
Subject: [O] Re: Capture Template problem
Date: Wed, 23 Mar 2011 18:03:08 -0400
User-agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux)

Chao LU <address@hidden> writes:

> 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

Do you have org-odd-levels-only set?  If not then skipping level 2 is
invalid.

Regards,
-- 
Bernt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]