From mboxrd@z Thu Jan 1 00:00:00 1970 From: Varun Vats Subject: Setting Refiling Targets Date: Thu, 19 Jul 2012 13:50:01 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb202a0964c9604c52a7406 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srlyc-0003Fb-Pb for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 04:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrlyV-0001UG-7l for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 04:20:50 -0400 Received: from mail-gh0-f169.google.com ([209.85.160.169]:45037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrlyU-0001U1-Vz for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 04:20:43 -0400 Received: by ghrr18 with SMTP id r18so2965335ghr.0 for ; Thu, 19 Jul 2012 01:20:42 -0700 (PDT) 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: emacs-orgmode@gnu.org --e89a8fb202a0964c9604c52a7406 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to add to my refile target list a file that exists in a sub-directory of org-directory. I have tried to do this by concatenating the variable org-directory with the string containing the path to the file like so: (setq org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9) (concat org-directory "/projects/project.org" :maxlevel . 9))) This does not seem the right way to do it as I get the error org-refile-get-targets: Bad refiling target description (org-directory /projects/project.org:maxlevel . 9)when I try to refile something. Unfortunately I do not have sufficient knowledge about elisp to correct this, but I am willing to read-up if pointed in the right direction. Any suggestions are welcome. Thank you. -- Sincerely, Varun Vats Graduate Student University of Wisconsin, Madison mailvarunvats@gmail.com --e89a8fb202a0964c9604c52a7406 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I am trying to add to my refile target list a file t= hat exists in a sub-directory of org-= directory. I have tried to do this by concatenating =A0the variable= =A0org-director= y with the string contai= ning the path to the file like so:

(setq org-re= file-targets '((nil :maxlevel . 9)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(= org-agenda-files :maxlevel . 9)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0(concat org-directory "/projects/project.org" :maxlevel . 9)))

This does not= seem the right way to do it as I get the error=A0org-refile-get-targets: Bad refiling target description= (org-directory /projects/project.org :m= axlevel . 9) when I try = to refile something. Unfortunately I do not have sufficient knowledge about= elisp to correct this, but I am willing to read-up if pointed in the right= direction. Any suggestions are welcome.

Thank you.

--
Sincerely,
Varun V= ats
Graduate Student
University of Wisconsin, Madison
mailvarunvats@gmail.com


--e89a8fb202a0964c9604c52a7406--