From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao LU Subject: Using Variable in Org-capture configuration Date: Tue, 22 Mar 2011 10:25:48 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00151747b87070ae31049f13063d Return-path: Received: from [140.186.70.92] (port=37701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q22ZZ-0004SW-RE for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:28:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q22ZY-0002J0-Ay for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:28:37 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:46353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q22ZX-0002Ib-VV for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:28:36 -0400 Received: by eyh6 with SMTP id 6so1904205eyh.0 for ; Tue, 22 Mar 2011 07:28:35 -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 --00151747b87070ae31049f13063d Content-Type: text/plain; charset=ISO-8859-1 Dear all, Just writing to see if it is possible to use variable in org-capture configuration, like this (setq org-capture-templates '(("t" "Todo" entry (file *"~/org/refile.org"*) "* TODO %?\n %i\n %a" :prepend t))) ------------------------ \---How could I use-> (concat My-Dropbox-Path "refile.org") Since I put all my files in Dropbox, and the My-Dropbox-Path has different values under MAC and M$Windows. Thanks, Chao --00151747b87070ae31049f13063d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all,

Just writing to see if it is possible to use variable in o= rg-capture configuration, like this

=A0(setq org-capture-templates=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 '(("t" "Todo" entr= y (file "~/org/refile.org") "* TODO %?\n=A0 %i\n=A0 %a" :prepend t)))
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --------------= ----------
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 \---How could I use-> (concat My-Dropbox-Pat= h "refile.org")

Since I put all my files in Dropbox, and the My-Dropbox-Path has differ= ent values under MAC and M$Windows.

Thanks,

Chao
--00151747b87070ae31049f13063d--