On Wed, Feb 28, 2018 at 12:25 AM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:
> Hello, > Allen Li <darkfel...@felesatra.moe> 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: Sorry, I made a silly mistake. I can also confirm that the issue is fixed on master. Thanks for the quick fix. > Regards, > -- > Nicolas Goaziou