emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Nathaniel Flath <flat0103@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-refile to top-level heading
Date: Tue, 09 Feb 2010 08:45:26 -0500	[thread overview]
Message-ID: <871vguy13d.fsf@fastmail.fm> (raw)
In-Reply-To: <5e3a506e1002090007j6c90c68ercb200b9d1f49ff39@mail.gmail.com> (Nathaniel Flath's message of "Tue, 9 Feb 2010 03:07:07 -0500")

Nathaniel Flath <flat0103@gmail.com> writes:

> Is there a way to use org-refile to refile an item as a top-level
> heading in some file?  Looking into this, there only seems to be a way
> to file as a subheading.

Yes that is indeed possible with the following settings:

(setq org-outline-path-complete-in-steps t)
(setq org-refile-use-outline-path 'file)  

I believe you'll also need to make sure that you have a (:maxlevel . N)
cons cell in your org-refile-targets setting.

Best,
Matt

      reply	other threads:[~2010-02-09 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09  8:07 org-refile to top-level heading Nathaniel Flath
2010-02-09 13:45 ` Matt Lundin [this message]

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=871vguy13d.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=flat0103@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).