Re: [O] Capture Bug?

2016-09-22 Thread Ian Barton
On Wed, Sep 21, 2016 at 10:51:46PM +0200, Nicolas Goaziou wrote: > Hello, > > li...@wilkesley.net writes: > > > commit 5485170263a46fa17db67b0324c4c4e48bcdfe49 > > Author: Nicolas Goaziou > > Date: Fri Jun 24 01:11:49 2016 +0200 > > > > org-capture: Remove forbidden

Re: [O] Capture Bug?

2016-09-21 Thread Adam Porter
Nick Dokos writes: > That's not going to work: unquoting[fn:1] evaluates the unquoted > element during the setting of org-capture-templates. That would have > the effect of evaluating the function call when the setq is evaluated, > whereas the intent here is to evaluate the

Re: [O] Capture Bug?

2016-09-21 Thread Nick Dokos
Adam Porter writes: > li...@wilkesley.net writes: > >> I have a capture template which prompts for a file name and uses this >> to create a filename with a datestamp: >> >> (defun capture-pelican-draft-file (path) >> (let ((name (read-string "Name: "))) >>

Re: [O] Capture Bug?

2016-09-21 Thread Nicolas Goaziou
Hello, li...@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

Re: [O] Capture Bug?

2016-09-21 Thread Adam Porter
li...@wilkesley.net writes: > the previous commit looks as though it > might have been the one responsible: > > commit 5485170263a46fa17db67b0324c4c4e48bcdfe49 > Author: Nicolas Goaziou > Date: Fri Jun 24 01:11:49 2016 +0200 > > org-capture: Remove forbidden value

Re: [O] Capture Bug?

2016-09-21 Thread lists
On 2016-09-21 12:54, Adam Porter wrote: li...@wilkesley.net writes: I have a capture template which prompts for a file name and uses this to create a filename with a datestamp: (defun capture-pelican-draft-file (path) (let ((name (read-string "Name: "))) (expand-file-name (format

Re: [O] Capture Bug?

2016-09-21 Thread Adam Porter
li...@wilkesley.net writes: > I have a capture template which prompts for a file name and uses this > to create a filename with a datestamp: > > (defun capture-pelican-draft-file (path) > (let ((name (read-string "Name: "))) > (expand-file-name (format "%s-%s.org" >