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: Tue, 27 Feb 2018 00:10:56 +0100 Message-ID: <871sh7z6rj.fsf@nicolasgoaziou.fr> References: <87a7wahsr1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqRvD-0005V1-7z for emacs-orgmode@gnu.org; Mon, 26 Feb 2018 18:11:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqRvA-0003Yv-F7 for emacs-orgmode@gnu.org; Mon, 26 Feb 2018 18:11:03 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:51735) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqRvA-0003YK-7m for emacs-orgmode@gnu.org; Mon, 26 Feb 2018 18:11:00 -0500 In-Reply-To: (Allen Li's message of "Fri, 16 Feb 2018 03:18:22 +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? Thank you. Regards, -- Nicolas Goaziou