From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Bug: Capture templates: file-olp Date: Thu, 07 May 2015 10:07:07 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqGq1-0002PP-J8 for emacs-orgmode@gnu.org; Thu, 07 May 2015 04:07:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqGpw-00007n-IF for emacs-orgmode@gnu.org; Thu, 07 May 2015 04:07:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:36213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqGpw-00007W-Au for emacs-orgmode@gnu.org; Thu, 07 May 2015 04:07:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YqGpu-0007Ww-ID for emacs-orgmode@gnu.org; Thu, 07 May 2015 10:07:14 +0200 Received: from lapsgs09.informatik.uni-stuttgart.de ([129.69.213.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2015 10:07:14 +0200 Received: from mailinglists by lapsgs09.informatik.uni-stuttgart.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2015 10:07:14 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I just noticed, that if I use a capture template like ("p" "foo" entry (file+olp "" "foo") "* %?\n%t\n%i") It complains about: Template key: org-find-olp: Wrong type argument: stringp, nil It works when using ("p" "foo" entry (file+olp org-default-notes-file "foo") "* %?\n%t\n%i") However, documentation claims: If that file name is the empty string, it defaults to org-default-notes- file. http://orgmode.org/manual/Template-elements.html#Template-elements org-mode that was shipped with Emacs 24.5. Is that a known bug? Or is it no bug at all? Best Regards, Florian