From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moritz Ulrich Subject: Re: Setting Refiling Targets Date: Thu, 19 Jul 2012 13:05:36 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SroYV-0005SR-GG for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 07:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SroYP-0004BU-Ne for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 07:06:03 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:63905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SroYP-0004BI-Hi for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 07:05:57 -0400 Received: by obhx4 with SMTP id x4so4491124obh.0 for ; Thu, 19 Jul 2012 04:05:56 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Varun Vats Cc: emacs-orgmode@gnu.org 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 wrote: > (setq org-refile-targets '((nil :maxlevel . 9) > (org-agenda-files :maxlevel . 9) > (concat org-directory "/projects/project.org" > :maxlevel . 9)))