[Top][All Lists]

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

[Orgmode] Bug with inserting a heading in narrowed buffer ?

From: Jeff Li
Subject: [Orgmode] Bug with inserting a heading in narrowed buffer ?
Date: Wed, 16 Jul 2008 22:06:15 -0400

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.



reply via email to

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