all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org refile within current buffer?
@ 2010-03-11 22:28 Ryan Thompson
  2010-03-12  0:36 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Thompson @ 2010-03-11 22:28 UTC (permalink / raw)
  To: Org-Mode List

Is there an org-mode command to refile only within the current buffer?

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

* Re: Org refile within current buffer?
  2010-03-11 22:28 Org refile within current buffer? Ryan Thompson
@ 2010-03-12  0:36 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2010-03-12  0:36 UTC (permalink / raw)
  To: Ryan Thompson; +Cc: Org-Mode List

Ryan Thompson <rct@thompsonclan.org> writes:

> Is there an org-mode command to refile only within the current buffer?

Not natively unless you want to make that a global change.  You could
easily create a function that does that though I think.  Just bind that
to your favourite key sequence or use M-x my-refile

(defun my-refile ()
  (interactive)
  (let ((org-refile-targets '((nil :maxlevel . 5))))
    (org-refile)))

HTH,
Bernt

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

end of thread, other threads:[~2010-03-12  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 22:28 Org refile within current buffer? Ryan Thompson
2010-03-12  0:36 ` Bernt Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.