From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: A little bug of Org capture? Date: Fri, 25 Mar 2011 08:06:39 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=39943 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q31mV-00088y-J1 for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 03:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q31mU-0002ir-6l for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 03:50:03 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:54181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q31mU-0002h1-0D for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 03:50:02 -0400 Received: by eyd9 with SMTP id 9so54330eyd.0 for ; Fri, 25 Mar 2011 00:50:00 -0700 (PDT) In-Reply-To: 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: Chao LU Cc: emacs-orgmode@gnu.org Hi Chao, On 25.3.2011, at 06:14, Chao LU wrote: > Dear all, >=20 > Don't know if it is a little bug: >=20 > 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) >=20 > And for the iPrv.org, I have this structure: > * INBOX > ** test >=20 > Then it works. >=20 > But if the first level and the second level happen to have the same = title (it does happen to me sometimes), like: > * INBOX > ** INBOX >=20 > ("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