emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Chao LU <loochao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: A little bug of Org capture?
Date: Fri, 25 Mar 2011 08:06:39 +0100	[thread overview]
Message-ID: <FEE2E8A6-F7D2-4253-AAD0-6B0153693F3B@gmail.com> (raw)
In-Reply-To: <AANLkTinfROzciV8r_18xm-sVuLvB854p3DQnF0Ao6M6V@mail.gmail.com>

Hi Chao,

On 25.3.2011, at 06:14, Chao LU wrote:

> Dear all,
> 
> Don't know if it is a little bug:
> 
> For org capture template, if I set an template like this:
> ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX" "test") "* %?" :prepend t)
> 
> And for the iPrv.org, I have this structure:
> * INBOX
> ** test
> 
> Then it works.
> 
> But if the first level and the second level happen to have the same title (it does happen to me sometimes), like:
> * INBOX
> ** INBOX
> 
> ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX" "INBOX") "* %?" :prepend t)
> Then Org will prompt an error.

Indeed, there was a bug in the outline path resolving code.
Thanks for the report, fixed now.

- Carsten

      reply	other threads:[~2011-03-25  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25  5:14 A little bug of Org capture? Chao LU
2011-03-25  7:06 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FEE2E8A6-F7D2-4253-AAD0-6B0153693F3B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loochao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).