* A little bug of Org capture?
@ 2011-03-25 5:14 Chao LU
2011-03-25 7:06 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Chao LU @ 2011-03-25 5:14 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
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.
Thanks,
Chao
[-- Attachment #2: Type: text/html, Size: 786 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A little bug of Org capture?
2011-03-25 5:14 A little bug of Org capture? Chao LU
@ 2011-03-25 7:06 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2011-03-25 7:06 UTC (permalink / raw)
To: Chao LU; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-25 7:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-25 5:14 A little bug of Org capture? Chao LU
2011-03-25 7:06 ` Carsten Dominik
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).