From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Re: Capture template stopped working: nil Date: Fri, 30 Jun 2017 12:20:49 +0200 Message-ID: References: <7d3e8e78-24ff-f8ba-8931-38014f109b66@xgm.de> <87d19r51fy.fsf@nicolasgoaziou.fr> <4bb6a523-1252-e923-db46-b1077fe6238d@xgm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQt2l-0005CX-U8 for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 06:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQt2i-0000Tn-DK for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 06:20:55 -0400 Received: from venus.centershock.net ([2a03:4000:13:2f1::1]:60190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQt2i-0000TH-64 for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 06:20:52 -0400 In-Reply-To: <4bb6a523-1252-e923-db46-b1077fe6238d@xgm.de> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: bzg@gnu.org, emacs-orgmode@gnu.org 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 =E2=80=98= j=E2=80=99: 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 writes: >> >> >>> since recently, one of my capture templates stopped working. Message = is: >>> >>> Template key: >>> org-capture: Capture template =E2=80=98j=E2=80=99: nil >>> >>> and: >>> >>> - %? >>> >>> is added to journal.org. I have also tried some other template text l= ike "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. >=20 > Hey, >=20 > ok, found it there. >=20 > 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 =E2=80=98= org-directory=E2=80=99." >=20 > So, I changed it to: >=20 > ("j" "Journal" item > (file+datetree "journal.org") > "%?\n%i" :kill-buffer t) >=20 > which still gives the same error. >=20 > Sorry... what is still wrong there? >=20 > Best, > Florian >=20