From: Moritz Ulrich <ulrich.moritz@gmail.com>
To: Varun Vats <mailvarunvats@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Setting Refiling Targets
Date: Thu, 19 Jul 2012 13:05:36 +0200 [thread overview]
Message-ID: <CALw-MDpSpXCvi2co8M_PzP_LyZGyinebh68q4tq0jamiFHW+hg@mail.gmail.com> (raw)
In-Reply-To: <CADWkGHKn3FmXKEGszX_7am27H2j3e=NT0OAA9+zQNKCpFDeOJQ@mail.gmail.com>
Try
(setq org-refile-targets `((nil :maxlevel . 9)
(org-agenda-files :maxlevel . 9)
(,(concat org-directory
"/projects/project.org") :maxlevel . 9)))
Notice the ` instead of ' and the ,. This feature is called 'quasiquote'.
On Thu, Jul 19, 2012 at 10:20 AM, Varun Vats <mailvarunvats@gmail.com> wrote:
> (setq org-refile-targets '((nil :maxlevel . 9)
> (org-agenda-files :maxlevel . 9)
> (concat org-directory "/projects/project.org"
> :maxlevel . 9)))
next prev parent reply other threads:[~2012-07-19 11:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 8:20 Setting Refiling Targets Varun Vats
2012-07-19 11:05 ` Moritz Ulrich [this message]
2012-07-19 12:52 ` Varun Vats
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALw-MDpSpXCvi2co8M_PzP_LyZGyinebh68q4tq0jamiFHW+hg@mail.gmail.com \
--to=ulrich.moritz@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mailvarunvats@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).