From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Move (the children of) a subtree to another subtree programmatically Date: Sun, 16 Sep 2018 07:34:15 -0500 Message-ID: <87efdtmxiw.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1WIp-0004sv-0r for emacs-orgmode@gnu.org; Sun, 16 Sep 2018 08:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1WIj-0000jK-8P for emacs-orgmode@gnu.org; Sun, 16 Sep 2018 08:37:25 -0400 Received: from [195.159.176.226] (port=45168 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g1WIh-0000es-C6 for emacs-orgmode@gnu.org; Sun, 16 Sep 2018 08:37:21 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1g1WGX-0002zG-CZ for emacs-orgmode@gnu.org; Sun, 16 Sep 2018 14:35:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org See the SCOPE argument to org-map-entries. I'd also recommend using org-refile instead of org-cut/paste-subtree. You may also find the org-datetree system helpful.