Re: [O] create new files from capture

2011-04-20 Thread Bill Wishon
(function function-finding-location) Most general way, write your own function to find both file and location I just started trying to do this today myself when I found this thread. From what I can tell the expectation is that this function places

Re: [O] create new files from capture

2011-04-20 Thread Bill Wishon
Bill Wishon bill at wishon.org writes: What I'm trying to figure out now is how to read the template from a file. The documentation says that it can be done by using (file path/to/file) in place of the template text argument, but I haven't gotten that working yet. Nevermind, my elisp

Re: [O] create new files from capture

2011-04-20 Thread Nick Dokos
Bill Wishon b...@wishon.org wrote: Bill Wishon bill at wishon.org writes: What I'm trying to figure out now is how to read the template from a file. The documentation says that it can be done by using (file path/to/file) in place of the template text argument, but I haven't gotten

Re: [O] create new files from capture

2011-04-04 Thread David Maus
At Fri, 1 Apr 2011 13:43:06 -0400, Buck Brody wrote: Is there a way to use capture to create new files? Can I fill out the name of the file, and add a date stamp, from within the capture template? Prompting in the templates happens after the template is placed in the target buffer. So AFAIK

Re: [O] create new files from capture

2011-04-04 Thread Matthew Sauer
Could one not have it go into a temporary file and then have an exit hook attatched to a particular template that if a particular property had been filled in that it would create a new file with that name and either refile to or cut to and then paste from the kill ring? Matthew obviously would

[O] create new files from capture

2011-04-01 Thread Buck Brody
Is there a way to use capture to create new files? Can I fill out the name of the file, and add a date stamp, from within the capture template? I also considered creating a new headline and then exporting the subtree. The problem is that I need to have the title of the new file automatically