From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: FR: refile-and-link Date: Wed, 3 Dec 2014 12:46:52 +0000 Message-ID: <20141203124652.GE28615@pacific.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw9Kg-00086A-Mu for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 07:47:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xw9KZ-00055L-7D for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 07:47:02 -0500 Received: from coral.adamspiers.org ([85.119.82.20]:48743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw9KZ-000555-2E for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 07:46:55 -0500 Received: from localhost (243.103.2.81.in-addr.arpa [81.2.103.243]) by coral.adamspiers.org (Postfix) with ESMTPSA id CEF4F2E003 for ; Wed, 3 Dec 2014 12:46:52 +0000 (GMT) Content-Disposition: inline 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list Hi all! Forgive me if this has already been implemented, but I couldn't see it... I'm looking for something similar to the "extract method" operation which refactoring IDEs can perform on code. You would select a headline (or maybe even region), hit `refile-and-link', and then after the normal refiling, a link to the refiled section would be inserted in the place where the refiled section previously lived. Thoughts? Thanks! Adam