emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Cian OConnor <cian.oconnor@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Refiling within a document
Date: Thu, 30 Jul 2009 17:33:23 -0400	[thread overview]
Message-ID: <87vdl9zwik.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <82tz0tc2uu.fsf@gmail.com> (Cian OConnor's message of "Thu\, 30 Jul 2009 21\:50\:17 +0100")

Cian OConnor <cian.oconnor@gmail.com> writes:

> I really like refiling functionality in org-mode and use it quite a
> bit. However one thing that annoys me is that quite often I simply want
> to refile in the same buffer. Is there a way to do this that I've
> missed? Or do I simply have to select the name of the current buffer as
> I currently do.

I have the following set for org-refile-targets:

org-refile-targets is a variable defined in `org.el'.
Its value is 
((nil :maxlevel . 5)
 (org-agenda-files :maxlevel . 5))

This uses the current file (first) as a refile target.  I prefix all my
targets with filename so if I'm in x.org I can refile to x.org/SomeTask
even if it is not in my org-agenda-files.

You can control if your refile targets need filename prefixes or not
by customizing the appropriate refile org variables.

HTH,

Bernt

      reply	other threads:[~2009-07-30 21:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 20:50 Refiling within a document Cian OConnor
2009-07-30 21:33 ` Bernt Hansen [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=87vdl9zwik.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=cian.oconnor@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).