[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Using Variable in Org-capture configuration
From: |
Carsten Dominik |
Subject: |
Re: [O] Using Variable in Org-capture configuration |
Date: |
Tue, 22 Mar 2011 17:56:44 +0100 |
On 22.3.2011, at 15:25, 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.
Using backquote as the others in this thread say is one possibility.
However, you can also get the latest version of Org - it does
allow a lisp form for the file name:
http://article.gmane.org/gmane.emacs.orgmode/38067/match=form
- Carsten
>
> Thanks,
>
> Chao