emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Using Variable in Org-capture configuration


From: Chao LU
Subject: Re: [O] Using Variable in Org-capture configuration
Date: Wed, 23 Mar 2011 11:57:30 -0400

Yes, the latest version of org 7.5 works!

Thanks~

Chao

On Tue, Mar 22, 2011 at 12:56 PM, Carsten Dominik <address@hidden> wrote:

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]