emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Varun Vats <mailvarunvats@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Setting Refiling Targets
Date: Thu, 19 Jul 2012 13:50:01 +0530	[thread overview]
Message-ID: <CADWkGHKn3FmXKEGszX_7am27H2j3e=NT0OAA9+zQNKCpFDeOJQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1859 bytes --]

             reply	other threads:[~2012-07-19  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19  8:20 Varun Vats [this message]
2012-07-19 11:05 ` Setting Refiling Targets Moritz Ulrich
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='CADWkGHKn3FmXKEGszX_7am27H2j3e=NT0OAA9+zQNKCpFDeOJQ@mail.gmail.com' \
    --to=mailvarunvats@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).