emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Refiling within a document
@ 2009-07-30 20:50 Cian OConnor
  2009-07-30 21:33 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Cian OConnor @ 2009-07-30 20:50 UTC (permalink / raw)
  To: emacs-orgmode

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.

Cian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Refiling within a document
  2009-07-30 20:50 Refiling within a document Cian OConnor
@ 2009-07-30 21:33 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2009-07-30 21:33 UTC (permalink / raw)
  To: Cian OConnor; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-30 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-30 20:50 Refiling within a document Cian OConnor
2009-07-30 21:33 ` Bernt Hansen

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