emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [feature] Cut & paste of subtree
Date: Wed, 31 Oct 2012 12:06:51 +0100	[thread overview]
Message-ID: <80ip9q99ys.fsf@somewhere.org> (raw)

Hello,

Since more or less one month or so, I've seen a change in the behavior of C-c
C-x C-w, when cutting and pasting a subtree.

As of today, with the following situation, I do C-c C-x C-w on whichever
character from the C entry.

--8<---------------cut here---------------start------------->8---
* Tree A

Foo

* Tree B

Bar

* Tree C

Baz

* Tree D

Dunno
--8<---------------cut here---------------end--------------->8---

Then, I go (for example) in column 0 of the B entry, and press C-y to paste
the previously cut subtree.

As you can see below, that results in:
- one whiteline too much in front of C,
- one whiteline missing after C (in front of B).

--8<---------------cut here---------------start------------->8---
* Tree A

Foo


* Tree C

Baz
* Tree B

Bar

* Tree D

Dunno
--8<---------------cut here---------------end--------------->8---

This is like if cutting the C subtree had cut from the end of the previous
subtree to its own end, instead of cutting from the beginning of its own
subtree to the beginning of the next one.

Best regards,
  Seb

-- 
Sebastien Vauban

             reply	other threads:[~2012-10-31 11:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 11:06 Sebastien Vauban [this message]
2012-10-31 15:42 ` [feature] Cut & paste of subtree Yagnesh Raghava Yakkala
2012-11-01 12:20   ` Sebastien Vauban
2012-11-01 13:19     ` Yagnesh Raghava Yakkala
2012-11-01 14:18       ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80ip9q99ys.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).