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 value type from "file" te
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 function call *much* l
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: ")))
>> (expand-file-name (format "%s-%s.o
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 within a function instea
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 type from "file" templates
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 "%s-%s.
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"
>
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"
(format-time-string "%Y-%m-%d")