Re: [O] Use date in Easy Templates?

2014-02-21 Thread John Kitchin
I solved a similar problem to this with yasnippets: http://kitchingroup.cheme.cmu.edu/blog/2014/02/16/A-dynamic-snippet-for-a-task-due-7-days-from-now/ You can dynamically evaluate lisp code in the snippet when it is expanded. That way you can get whatever format suits you! John

[O] Use date in Easy Templates?

2014-02-16 Thread Rainer M Krug
Hi is it possible to insert the actual date into Easy Templates? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9

Re: [O] Use date in Easy Templates?

2014-02-16 Thread Nick Dokos
Rainer M Krug rai...@krugs.de writes: is it possible to insert the actual date into Easy Templates? No - but it's not difficult to crib the %file code and add %date: --8---cut here---start-8--- (defun org-complete-expand-structure-template (start cell)

Re: [O] Use date in Easy Templates?

2014-02-16 Thread Rainer M Krug
On 02/16/14, 19:08 , Nick Dokos wrote: Rainer M Krug rai...@krugs.de writes: is it possible to insert the actual date into Easy Templates? That's what I thought as well. No - but it's not difficult to crib the %file code and add %date: --8---cut