From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-paste-subtree displaces folded content [9.1.6 (9.1.6-48-gfe7619-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20180212/)] Date: Wed, 28 Feb 2018 09:25:09 +0100 Message-ID: <877eqxjzbu.fsf@nicolasgoaziou.fr> References: <87a7wahsr1.fsf@nicolasgoaziou.fr> <871sh7z6rj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqx34-00054e-HO for emacs-orgmode@gnu.org; Wed, 28 Feb 2018 03:25:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqx33-0007Za-DV for emacs-orgmode@gnu.org; Wed, 28 Feb 2018 03:25:14 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:43167) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqx33-0007YK-6B for emacs-orgmode@gnu.org; Wed, 28 Feb 2018 03:25:13 -0500 In-Reply-To: (Allen Li's message of "Wed, 28 Feb 2018 02:07:32 +0000") 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: Allen Li Cc: Org Mode List Hello, Allen Li writes: >> > I modified the example a bit and made the undesired behavior unclear. >> > >> > * foo >> > :PROPERTIES: >> > :ID: a >> > :END: >> > * bar >> > :PROPERTIES: >> > :ID: b >> > :END: >> > >> > Folded, this looks like >> > >> > * foo... >> > * bar... >> > >> > With point on the f in foo, press C-c C-x C-w. With point on the b in > bar, >> > press C-c C-x C-y. Results in >> > >> > * bar >> > * foo... >> > >> > Unfolded, this looks like >> > >> > * bar >> > * foo >> > :PROPERTIES: >> > :ID: a >> > :END: >> > :PROPERTIES: >> > :ID: b >> > :END: >> > >> > I would expect C-c C-x C-y to work like C-RET rather than M-RET, that > is to >> > always append after the heading and body rather than splitting it. > >> I changed the behaviour of `org-paste-subtree' in master. Does it solve >> the issue? > > No, the issue still exists. Applying the recipe above, I get: * bar :PROPERTIES: :ID: b :END: * foo :PROPERTIES: :ID: a :END: Regards, -- Nicolas Goaziou