From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Wishon Subject: Re: create new files from capture Date: Wed, 20 Apr 2011 19:22:39 +0000 (UTC) Message-ID: References: <1696133DB0E548409327158967872500@gmail.com> <87pqp1q18t.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCczL-0006i1-W0 for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 15:23:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCczL-0002zi-5N for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 15:22:59 -0400 Received: from lo.gmane.org ([80.91.229.12]:46357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCczK-0002zc-Ud for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 15:22:59 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QCczD-0007cQ-LF for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 21:22:51 +0200 Received: from a72-247-151-10.deploy.akamaitechnologies.com ([a72-247-151-10.deploy.akamaitechnologies.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Apr 2011 21:22:51 +0200 Received: from bill by a72-247-151-10.deploy.akamaitechnologies.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Apr 2011 21:22:51 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bill Wishon 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 skills are rusty (file "path/to/template.org") works fine, what I was trying to do required lisp code evaluation in that context and therefore didn't work eg: (file (concat org-directory "/template.org")) to do that I'd have to use (function function-returning-the-template), but it's not really worth it for what I was trying to do. ~>Bill