Subject: Re: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer

From: Eli Zaretskii <[email-masked]>
Date: Sat, 24 Dec 2011 21:20:24 +0200

> Date: Fri, 23 Dec 2011 08:18:19 +0100
> From: Gustav Wikström <[email-masked]>
> 
> When org-startup-indented is set to true I get a fatal error when using
> 'org-tree-to-indirect-buffer' on a heading then using org-cycle on the
> same heading in the indirect-buffer.
> 
> It seems that emacs breaks due to a call to "overlay-put".

No, it had nothing to do with overlay-put.  It was an assertion
violation triggered by folding a tree after widening a previously
narrowed buffer.

> The following commands should reproduce the error:
> 
>   "open an org-mode file with some headlines and text."
> 
>   M-x org-indent-mode
> 
>   C-c C-x b (org-tree-to-indirect-buffer)
> 
>   C-x 0 (delete-window, the one that does not have the indirect buffer)
> 
>   tab (org-cycle, inside the indirect buffer)

This is fixed in version 106726 on the trunk.