Hi, Carsten and list,

It seems there is a bug with inserting a new heading in a narrowed org-mode
buffer. I am using version 6.05

The bug can be reproduced with the following 2 lines test file:

* heading A
* heading B

1. narrow to "heading A" subtree. (C-x n s)
2. goto the end of the buffer
3. insert a new heading.
4. widen the buffer again

Now one can see the "heading B" is folded into the newly created heading.

The problem seems to stem from the fact that "org-insert-heading" is unaware
it is at the beginning of a new heading, because the buffer is narrowed.

Thanks,

-Jeff
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to