From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: org-paste-subtree and org-refile broken Date: Fri, 12 Aug 2011 22:31:21 -0500 Message-ID: <87pqkac7hy.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs4wa-0001zn-J6 for emacs-orgmode@gnu.org; Fri, 12 Aug 2011 23:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qs4wZ-0004ZC-Fz for emacs-orgmode@gnu.org; Fri, 12 Aug 2011 23:31:28 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:58180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs4wZ-0004Z7-Dk for emacs-orgmode@gnu.org; Fri, 12 Aug 2011 23:31:27 -0400 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 Cc: David Maus The following commit broke org-paste-subtree (and, as a result, refile): ,---- | commit ece3091f16af246780e29ba6e8248dd8bb3b7ba2 | Author: David Maus | Date: Wed Aug 10 18:38:26 2011 +0200 | | Don't eat headline when yank with point at existing headline | | * org.el (org-paste-subtree): Don't eat headline when called with | point at existing headline. `---- Here is a minimal example: --8<---------------cut here---------------start------------->8--- * One Text in one * Two Text in two * Three Text in three * Four Text in four --8<---------------cut here---------------end--------------->8--- If I kill subtree "Four" and call org-paste-subtree with the point on "Two" (or if I refile it to "Two"), I get the following: --8<---------------cut here---------------start------------->8--- * One Text in one * Two * Four Text in four Text in two * Three Text in three --8<---------------cut here---------------end--------------->8--- Best, Matt