From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Capture Bug? Date: Thu, 22 Sep 2016 10:14:53 +0100 Message-ID: <20160922091453.GA8759@chromebook.bantercat.co.uk> References: <660bdacc1d49d4c46a36cc4edf42db66@wilkesley.net> <87bmzhsc18.fsf@alphapapa.net> <87vaxpj7rx.fsf@nicolasgoaziou.fr> Reply-To: lists@wilkesley.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn069-0002NO-N3 for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 05:15:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn067-0000pL-PG for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 05:15:16 -0400 Content-Disposition: inline In-Reply-To: <87vaxpj7rx.fsf@nicolasgoaziou.fr> 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 Cc: Emacs-orgmode On Wed, Sep 21, 2016 at 10:51:46PM +0200, Nicolas Goaziou wrote: > Hello, > > lists@wilkesley.net writes: > > > commit 5485170263a46fa17db67b0324c4c4e48bcdfe49 > > Author: Nicolas Goaziou > > Date: Fri Jun 24 01:11:49 2016 +0200 > > > > org-capture: Remove forbidden value type from "file" templates > > > Try wrapping `capture-pelican-draft-file' call within a function instead > of putting a raw sexp. > I have tried: ("g" "New blog post (ianbarton.net)" plain (file (funcall(capture-pelican-draft-file "~/Documents/emacs/web_sites/ianbarton.net/org/_posts"))) "#+AUTHOR: Ian Barton\n#+DATE: %u\n#+PROPERTY: MODIFIED: \n#+TITLE\n#+CATEGORY: Blog \n#+PROPERTY: TAGS \n#+PROPERTY: SUMMARY \n#+SETUPFILE: ../setup.org\n\n") Not sure if that's what you meant. It didn't work. -- Best wishes, Ian.