From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: Using Variable in Org-capture configuration Date: Tue, 22 Mar 2011 09:49:25 -0500 Message-ID: <4D88B6F5.9090304@ccbr.umn.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=52557 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q22tu-0003Df-95 for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:49:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q22tm-0006Yk-Dl for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:49:38 -0400 Received: from walleye.ccbr.umn.edu ([128.101.116.11]:3466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q22tm-0006Xz-8e for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:49:30 -0400 In-Reply-To: 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: Chao LU Cc: emacs-orgmode@gnu.org Chao, I believe I had the exact same issue, caused the exact same use case, i.e., Dropbox. Read David's answer and see if it helps: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29029.html Chao LU wrote: > 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