[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Empty lines in subtrees (was: [bug] misbehavior of org-shiftme

From: Leo
Subject: [Orgmode] Empty lines in subtrees (was: [bug] misbehavior of org-shiftmetaup)
Date: Fri, 13 Apr 2007 10:50:26 +0100
User-agent: No Gnus v0.6, Emacs/ (2007-04-11), Fedora 6 gnu/linux

----- Me (2007-04-12) wrote:-----

> Dear Carsten,
> I think this bug has been there for quite some time as it is also in
> 4.67c.
> To reproduce:
>    o  Open the attached file and set it in org-mode
>    o  Go to "* Heading 1" and issue 'C-x n s'
>    o  Move cursor to subtree: "** Item 2"
>    o  M-x org-shiftmetaup

This bug is now fixed in org 4.71.

However, it will now add an empty line to the subtree, and then bring
all empty lines along when org-shiftmetaup. So after shuffling a few
times, users can be left with:

| * Heading 1
| ** Item 1
|    Read this book.
| ** Item 2
|    Go to supermarket and get a printer
| * Heading 2

I guess this is because:

When narrowing to subtree, the "newline" at the end of the last subtree
is left out and thus org-shiftmetaup introduce another one.

Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]