From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Cc: Emacs-orgmode <emacs-orgmode-bounces+lists=wilkesley.net@gnu.org>
Subject: Re: Capture Bug?
Date: Thu, 22 Sep 2016 10:14:53 +0100 [thread overview]
Message-ID: <20160922091453.GA8759@chromebook.bantercat.co.uk> (raw)
In-Reply-To: <87vaxpj7rx.fsf@nicolasgoaziou.fr>
On Wed, Sep 21, 2016 at 10:51:46PM +0200, Nicolas Goaziou wrote:
> Hello,
>
> lists@wilkesley.net writes:
>
> > commit 5485170263a46fa17db67b0324c4c4e48bcdfe49
> > Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> > 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.
next prev parent reply other threads:[~2016-09-22 9:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-21 8:58 Capture Bug? lists
2016-09-21 11:54 ` Adam Porter
2016-09-21 18:24 ` lists
2016-09-21 20:01 ` Adam Porter
2016-09-21 20:51 ` Nicolas Goaziou
2016-09-22 9:14 ` Ian Barton [this message]
2016-09-21 21:38 ` Nick Dokos
2016-09-22 2:54 ` Adam Porter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160922091453.GA8759@chromebook.bantercat.co.uk \
--to=lists@wilkesley.net \
--cc=emacs-orgmode-bounces+lists=wilkesley.net@gnu.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).