From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: template problem in latest master, but not in stable Date: Mon, 10 Jul 2017 16:52:16 +0000 Message-ID: <87van0mdz3.fsf@mat.ucm.es> References: <87h8ykuzwz.fsf@mat.ucm.es> <87shi44anf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUbvC-00008m-4y for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 12:52:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUbv8-0007JD-7d for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 12:52:30 -0400 Received: from [195.159.176.226] (port=38498 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUbv8-0007IX-0b for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 12:52:26 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dUbv0-0000t3-Ak for emacs-orgmode@gnu.org; Mon, 10 Jul 2017 18:52:18 +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 >>> "Nicolas" == Nicolas Goaziou writes: > Hello, > Uwe Brauer writes: >> 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 > See ORG-NEWS, Incompatible changes. Thanks According to that file : (file (sexp)) into : (file (lambda () (sexp))) So (setq org-capture-templates '( ("G" "Generic README.org file (table format)" table-line (file+headline (lambda () (expand-file-name (read-file-name "Name of file (curr dir;table format)!: "))) "Overview") "|%f| %U|%A|" :prepend t))) Worked, thanks Uwe