From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Org capture templates - file paths Date: Thu, 19 Aug 2010 10:52:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1055655699==" Return-path: Received: from [140.186.70.92] (port=43995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om0ra-0002jC-9B for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 04:52:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om0rY-0000jI-Uw for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 04:52:42 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:55606) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om0rY-0000jD-Sl for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 04:52:40 -0400 Received: by qwk4 with SMTP id 4so1558036qwk.0 for ; Thu, 19 Aug 2010 01:52:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1055655699== Content-Type: multipart/alternative; boundary=0014853c9338eace66048e294d7a --0014853c9338eace66048e294d7a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello! I'm having some trouble with org-capture. Could someone explain to me why the following is not working? (And what to do to get it to work..) Code: (defvar my-gtd-inbox-file (concat my-gtd-root "inbox.org")) ;;; Capture templates (setq org-capture-templates '(("n" "Note" entry (file my-gtd-inbox-file) "* %?\n %i\n %a") ("j" "Journal" entry (file+datetree my-gtd-journal-file) "* %?\nEntered on %U\n %i\n %a"))) End code. what I've figured so far is that variables cannot be used in templates... I= s there some workaround for this, or could it possibly be implemented? I need it since i'm on multiple systems where paths to the same files might differ depending on the system in use... Regards Gustav Wikstr=F6m --0014853c9338eace66048e294d7a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello!

I'm having some trouble with org-capture. Cou= ld someone explain to me why the following is not working? (And what to do = to get it to work..)

Code:

(defvar my-gtd-inbox-file (concat my-gtd-root "inbox.org"))
;;; Capture templates
(setq org-capture-templates
=A0=A0 =A0 =A0'(("= ;n" "Note" entry (file my-gtd-inbox-file)
&q= uot;* %?\n %i\n %a")
("j" "Journal" entry (file+d= atetree my-gtd-journal-file)
= =A0 =A0 "* %?\nEntered on %U\n %i\n %a")))

End code.

what I've figured so far is= that variables cannot be used in templates... Is there some workaround for= this, or could it possibly be implemented? I need it since i'm on mult= iple systems where paths to the same files might differ depending on the sy= stem in use...

Regards Gustav Wikstr=F6m
--0014853c9338eace66048e294d7a-- --===============1055655699== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1055655699==--