From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Thierry_Pell=E9?= Subject: Re: FR: refile-and-link Date: Wed, 03 Dec 2014 21:27:15 +0100 Message-ID: <547F7223.9080804@soliavos.fr> References: <20141203124652.GE28615@pacific.linksys.moosehall> Reply-To: soliavos@thierry-pelle.eu Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------030003020905060406060003" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwGWJ-0008II-Lv for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 15:27:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwGWA-0004te-V4 for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 15:27:31 -0500 Received: from 8.mo2.mail-out.ovh.net ([188.165.52.147]:59972 helo=mo2.mail-out.ovh.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwGWA-0004sO-MB for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 15:27:22 -0500 Received: from mail613.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 1E47BFFB47F for ; Wed, 3 Dec 2014 21:27:21 +0100 (CET) In-Reply-To: <20141203124652.GE28615@pacific.linksys.moosehall> 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: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------030003020905060406060003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable +1 Since the destination is known after the refiling it may not be difficult= . I say this but I'am not an elisp literate ;-) Thierry Le 03/12/2014 13:46, Adam Spiers a =E9crit : > 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 > > --=20 Mon adresse m=E9l changera =E0 compter de d=E9but 2015 Celle-ci sera d=E9sormais (mutatis mutandis) *soliavos [AROBASE]=20 thierry-pelle [POINT] eu*. --------------030003020905060406060003 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit +1

Since the destination is known after the refiling it may not be difficult.
I say this but I'am not an elisp literate ;-)

Thierry

Le 03/12/2014 13:46, Adam Spiers a écrit :
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



--
Mon adresse mél changera à compter de début 2015
Celle-ci sera désormais (mutatis mutandis) soliavos [AROBASE] thierry-pelle [POINT] eu.
--------------030003020905060406060003--