[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Capture template stopped working: nil
From: |
Florian Lindner |
Subject: |
Re: [O] Capture template stopped working: nil |
Date: |
Fri, 30 Jun 2017 12:20:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hey Nicolas, hey Bastien,
might you give a hint why
("j" "Journal" item
(file+datetree "journal.org")
"%?\n%i" :kill-buffer t)
which still gives the same error: org-capture: Capture template ‘j’: nil
Thanks a lot,
Florian
Am 25.06.2017 um 21:23 schrieb Florian Lindner:
> Am 25.06.2017 um 21:09 schrieb Nicolas Goaziou:
>> Hello,
>>
>> Florian Lindner <address@hidden> writes:
>>
>>
>>> since recently, one of my capture templates stopped working. Message is:
>>>
>>> Template key:
>>> org-capture: Capture template ‘j’: nil
>>>
>>> and:
>>>
>>> - %?
>>>
>>> is added to journal.org. I have also tried some other template text like
>>> "foo" (without any keys), but the message is the same.
>>>
>>> value of org-capture-templates is:
>>
>>> ("j" "Journal" item
>>> (file+datetree
>>> (concat org-directory "/journal.org"))
>>
>> It should be (lambda () (concat org-directory "/journal.org")).
>>
>> See ORG-NEWS.
>
> Hey,
>
> ok, found it there.
>
> However, it seems that I don't need it anyways, since "When an absolute path
> is not specified for a target, it is taken as relative to ‘org-directory’."
>
> So, I changed it to:
>
> ("j" "Journal" item
> (file+datetree "journal.org")
> "%?\n%i" :kill-buffer t)
>
> which still gives the same error.
>
> Sorry... what is still wrong there?
>
> Best,
> Florian
>