Chao LU <looc...@gmail.com> 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