[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [feature] Cut & paste of subtree
From: |
Yagnesh Raghava Yakkala |
Subject: |
Re: [O] [feature] Cut & paste of subtree |
Date: |
Thu, 01 Nov 2012 00:42:11 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Hello Sebastien,
On 10月 31 2012, "Sebastien Vauban" <address@hidden> wrote:
> 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.
I did know about this key binding, thanks for letting me know..
generally I go to the beginning of the heading I fold it and cut it., may be
work around for you..
coming the problem, I can confirm the behavior.
A shot in the dark.
--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org.el b/lisp/org.el
index 63c4323..039e901 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -7721,7 +7721,6 @@ useful if the caller implements cut-and-paste as
copy-then-paste-then-cut."
(if (org-called-interactively-p 'any)
(org-back-to-heading nil) ; take what looks like a subtree
(org-back-to-heading t)) ; take what is really there
- (org-back-over-empty-lines)
(setq beg (point))
(skip-chars-forward " \t\r\n")
(save-match-data
@@ -7731,7 +7730,6 @@ useful if the caller implements cut-and-paste as
copy-then-paste-then-cut."
(org-forward-heading-same-level (1- n) t)
(error nil))
(org-end-of-subtree t t))
- (org-back-over-empty-lines)
(setq end (point))
(goto-char beg0)
(when (> end beg)
--8<---------------cut here---------------end--------------->8---
Thanks.,
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR