From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31379: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Date: Mon, 07 May 2018 20:51:02 +0300 Message-ID: <83efinqrqx.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1525715414 22057 195.159.176.226 (7 May 2018 17:50:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 17:50:14 +0000 (UTC) Cc: 31379@debbugs.gnu.org To: Gustav =?UTF-8?Q?Wikstr=C3=B6m?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 07 19:50:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFkH3-0005dP-Tg for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 May 2018 19:50:10 +0200 Original-Received: from localhost ([::1]:47422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkJA-0001LR-P5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 May 2018 13:52:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkIw-0001Gv-1N for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 13:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFkIs-0008Ur-SF for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 13:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFkIs-0008UZ-ON for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 13:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fFkIs-0005qg-Fg for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 13:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 May 2018 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31379 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152571547022425 (code B ref -1); Mon, 07 May 2018 17:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 May 2018 17:51:10 +0000 Original-Received: from localhost ([127.0.0.1]:53050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFkI2-0005pd-1K for submit@debbugs.gnu.org; Mon, 07 May 2018 13:51:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFkI0-0005pR-Md for submit@debbugs.gnu.org; Mon, 07 May 2018 13:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFkHu-0007BS-RK for submit@debbugs.gnu.org; Mon, 07 May 2018 13:51:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fFkHu-0007BE-NJ for submit@debbugs.gnu.org; Mon, 07 May 2018 13:51:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkHt-0000qn-IV for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 13:51:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFkHq-000768-Cg for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 13:51:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkHq-00075k-83; Mon, 07 May 2018 13:50:58 -0400 Original-Received: from [176.228.60.248] (port=4870 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fFkHp-0005Xr-Kd; Mon, 07 May 2018 13:50:58 -0400 In-reply-to: (message from Gustav =?UTF-8?Q?Wikstr=C3=B6m?= on Fri, 23 Dec 2011 08:18:19 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146062 Archived-At: > Date: Fri, 23 Dec 2011 08:18:19 +0100 > From: Gustav Wikström > > 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". > > This bug exists in org-version 7.7 & 7.8.02 in emacs 24.0.92.1 on > windows. > > 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) > > In GNU Emacs 24.0.92.1 (i386-mingw-nt6.1.7601) > of 2011-12-07 on MARVIN > Windowing system distributor `Microsoft Corp.', version 6.1.7601 Thanks. This is a very old version of Emacs. Can you try a newer one? I cannot reproduce the problem, neither in Emacs 24.1, nor in the upcoming Emacs 26.1. After this step: C-c C-x b (org-tree-to-indirect-buffer) I get an error message saying that I tried to delete the only window of a frame. Which is true: I have only one window on that frame, if I follow the recipe. What did I miss?