Ihor Radchenko <yanta...@posteo.net> writes:

> Alyssa Ross <h...@alyssa.is> writes:
>
>> I get the same error as Omar, but to reproduce it in emacs -Q I have to
>> (require 'org-capture) first.  Is that helpful?
>
> Yup.
> That's because of
>
>>>       ("j" "Journal entry" plain
>>>        (file+olp+datetree "Journal.org"))
>
> which is missing the outline path.
>
> We will support such format in future, but not yet.
> Currently, this will produce undefined behavior.
> See 
> https://list.orgmode.org/orgmode/canvbq5mau9fk-43sms4x5kvz-jtsszfmrgzrh7eusptnrzh...@mail.gmail.com/

I see.  So is it a documentation bug that the example given by the Org
Mode manual is the following?

     (setq org-capture-templates
           '(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
              "* TODO %?\n  %i\n  %a")
             ("j" "Journal" entry (file+datetree "~/org/journal.org")
              "* %?\nEntered on %U\n  %i\n  %a")))

This also isn't providing an outline path for the journal, right?  (And
it produces the same type mismatch warning when I run it with setopt
after loading org-capture.)

Attachment: signature.asc
Description: PGP signature

Reply via email to