From mboxrd@z Thu Jan  1 00:00:00 1970
From: "Chris Randle" <chris@amlog.co.uk>
Subject: Problem with moving outline branches
Date: Sat, 29 Dec 2007 17:09:09 -0000
Message-ID: <000a01c84a3d$87109310$6680a8c0@CUBE>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1J8fBi-0001W5-Qr
	for emacs-orgmode@gnu.org; Sat, 29 Dec 2007 12:09:30 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1J8fBh-0001Th-Sb
	for emacs-orgmode@gnu.org; Sat, 29 Dec 2007 12:09:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1J8fBh-0001TN-N2
	for emacs-orgmode@gnu.org; Sat, 29 Dec 2007 12:09:29 -0500
Received: from anchor-post-34.mail.demon.net ([194.217.242.92])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <chris@amlog.co.uk>) id 1J8fBh-0003N4-CT
	for emacs-orgmode@gnu.org; Sat, 29 Dec 2007 12:09:29 -0500
Received: from amlog.demon.co.uk ([80.177.106.135] helo=CUBE)
	by anchor-post-34.mail.demon.net with esmtp (Exim 4.67)
	id 1J8fBf-000396-Dl
	for emacs-orgmode@gnu.org; Sat, 29 Dec 2007 17:09:27 +0000
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: emacs-orgmode@gnu.org

Hi All

I believe that there have been some recent changes to the way that
trailing blank lines at the end of nodes are treated. Most (but not all)
of my notes under nodes have a single trailing line before the next
node, for example:

* Task 1
** Task 1a
** Task 1b
   Notes for 1b

** Task 1c
   Notes for 1c

** Task 1d
* Task 2

If the tree is fully expanded, and I place the cursur on "** Task 1b"
and do M-down, the nodes 1b and 1c are re-ordered as expected.

If the tree us exanded to only the 2nd level, as follows:

* Task 1
** Task 1a
** Task 1b...
** Task 1c...
** Task 1d
* Task 2

And I do a M-down on node 1b, "** Task 1b" is visually tacked on to the
end of  the line occupied by "** Task 1c".

In this instance it seems to be cosmetic, as closing and opening the
tree fixes the visual corruption, but I've had other instances (not
reproduced) where I've moved things up and down a few times in a more
complex tree, and the "corruption" is not just visual: nodes becomes
subsumed by others.

I'm using Windows XP, Emacs 22.1.1, Org-mode 5.17a

-- 
Chris Randle