Re: [Orgmode] [PATCH] org-capture - using `file' as template

2010-07-14 Thread Carsten Dominik
Hi Johan, thanks for the report and patch, hi David, thanks for further comments, I have checked in a fix. - Carsten On Jul 14, 2010, at 4:30 AM, Johan Friis wrote: Setting up capture to use templates from file in the latest git seemed to cause some errors. I looked into it and wrote this sma

Re: [Orgmode] [PATCH] org-capture - using `file' as template

2010-07-14 Thread David Maus
Johan Friis wrote: >Setting up capture to use templates from file in the latest git seemed >to cause some errors. I looked into it and wrote this small patch. It >could probably use some love, seeing as I am quite new to org-mode, >elisp and emacs in general. Welcome aboard! >The error I was get

[Orgmode] [PATCH] org-capture - using `file' as template

2010-07-13 Thread Johan Friis
Setting up capture to use templates from file in the latest git seemed to cause some errors. I looked into it and wrote this small patch. It could probably use some love, seeing as I am quite new to org-mode, elisp and emacs in general. The error I was getting was related to testing (string-match