emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Eraldo Helal <eraldo@eraldo.at>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: howto refile to non-agenda file?
Date: Sun, 24 May 2009 22:10:32 -0500	[thread overview]
Message-ID: <87d49xho7r.fsf@fastmail.fm> (raw)
In-Reply-To: <938fae2d0905240730h660999farea6950eebf18c94e@mail.gmail.com> (Eraldo Helal's message of "Sun, 24 May 2009 16:30:28 +0200")

Hi Eraldo,

Eraldo Helal <eraldo@eraldo.at> writes:

> howto refile to non-agenda file?
> I want to be able to refile projects to a reference.org file.
> At the moment, if I create that file in the same directory as eraldo.org,
> it will show up as refile option, but also in the agenda!

You can specify the files you'd like to refile to with
org-refile-targets. You can add as many additional files as you'd like,
indicating for each how deep you'd like the refile targets to descend
(i.e., 1st level, 2nd level, etc.).

Here's my current customization, to provide an example:

--8<---------------cut here---------------start------------->8---
(setq org-refile-targets '((org-agenda-files :maxlevel . 2)
			   (nil :maxlevel . 3)
			   ("~/mystuff/wiki/wiki.org" :maxlevel . 1)))
--8<---------------cut here---------------end--------------->8---

> Another question I have is: How can I refile an item or tree to a new file?

You can create a new headline within a file when you refile, but I'm not
aware of any way to create a new file.


  reply	other threads:[~2009-05-25  3:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 14:30 howto refile to non-agenda file? Eraldo Helal
2009-05-25  3:10 ` Matthew Lundin [this message]
2009-05-26  1:15   ` Eraldo Helal
2009-05-26  1:30     ` Eraldo Helal

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:

  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=87d49xho7r.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=eraldo@eraldo.at \


* 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


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).