From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: template problem in latest master, but not in stable Date: Mon, 10 Jul 2017 14:31:08 +0000 Message-ID: <87h8ykuzwz.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUZij-0000TO-E6 for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 10:31:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUZig-0007Im-Co for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 10:31:29 -0400 Received: from [195.159.176.226] (port=46457 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUZig-0007Hn-4b for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 10:31:26 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dUZiW-0002AR-12 for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 16:31:16 +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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi I am using the following template without problem in the latest stable org version I just upgraded via the package system. (setq org-capture-templates '( ("G" "Generic README.org file (table format)" table-line (file+headline (expand-file-name (read-file-name "Name of file (curr dir;table format)!: ")) "Overview") "|%f| %U|%A|" :prepend t) ("w" "Web site" entry (file "") "* %a :website:\n\n%U %?\n\n%:initial") )) However when I use the latest master from git I obtain an error I attach --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=templatex-bug.txt Debugger entered--Lisp error: (error "Invalid file location: nil") signal(error ("Invalid file location: nil")) error("Invalid file location: %S" nil) org-capture-expand-file((expand-file-name (read-file-name "Name of file (curr dir;table format)!: "))) org-capture-target-buffer((expand-file-name (read-file-name "Name of file (curr dir;table format)!: "))) org-capture-set-target-location() org-capture(nil) funcall-interactively(org-capture nil) call-interactively(org-capture nil nil) command-execute(org-capture) --=-=-=--