From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gustav =?UTF-8?Q?Wikstr=C3=B6m?= Newsgroups: gmane.emacs.bugs Subject: bug#31379: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Date: Tue, 8 May 2018 14:46:13 +0000 Message-ID: References: , <83efinqrqx.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_HE1PR02MB106812F3D4DAA9E885F7E7A2DA9A0HE1PR02MB1068eurp_" X-Trace: blaine.gmane.org 1525867418 27283 195.159.176.226 (9 May 2018 12:03:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 May 2018 12:03:38 +0000 (UTC) Cc: 31379@debbugs.gnu.org To: Eli Zaretskii , Gustav =?UTF-8?Q?Wikstr=C3=B6m?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 09 14:03:34 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 1fGNoj-0006zd-9G for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 May 2018 14:03:33 +0200 Original-Received: from localhost ([::1]:56075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGNqq-0002fZ-DQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 May 2018 08:05:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGNUx-0006mf-RX for bug-gnu-emacs@gnu.org; Wed, 09 May 2018 07:43:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGNUt-0002QA-17 for bug-gnu-emacs@gnu.org; Wed, 09 May 2018 07:43:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGNUs-0002Pu-PK for bug-gnu-emacs@gnu.org; Wed, 09 May 2018 07:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fGNUs-00029S-Er for bug-gnu-emacs@gnu.org; Wed, 09 May 2018 07:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gustav =?UTF-8?Q?Wikstr=C3=B6m?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 May 2018 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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.15258661768258 (code B ref -1); Wed, 09 May 2018 11:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2018 11:42:56 +0000 Original-Received: from localhost ([127.0.0.1]:54891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGNUl-000292-AQ for submit@debbugs.gnu.org; Wed, 09 May 2018 07:42:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG3sw-0006y5-3S for submit@debbugs.gnu.org; Tue, 08 May 2018 10:46:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG3so-0003me-5A for submit@debbugs.gnu.org; Tue, 08 May 2018 10:46:28 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fG3so-0003mV-2V for submit@debbugs.gnu.org; Tue, 08 May 2018 10:46:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG3sk-0004Gl-PF for bug-gnu-emacs@gnu.org; Tue, 08 May 2018 10:46:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG3sh-0003j5-Lh for bug-gnu-emacs@gnu.org; Tue, 08 May 2018 10:46:22 -0400 Original-Received: from mail-he1eur01on0126.outbound.protection.outlook.com ([104.47.0.126]:43584 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fG3sh-0003g0-9F; Tue, 08 May 2018 10:46:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Wikstrom.onmicrosoft.com; s=selector1-whil-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bdfIL2HGjSNBN1uoZu/mFnRNc0nX9TSavBDohGZ1Ikk=; b=gcv5lgVhtbWQCDUZMx/hIJ9LLoMzjeoFShMMoWfBu1TRVEsTb6s/gVl6NezLMCH5qSHCIhPMZ4w1bAmy9jq35a56MiiTnap+MUT0XMwxJlU3RUJsyP0iQhqZIlL4uqKGk7X5yXtJbdEMJSoZ0yplUolo9h2uAIiLIEaxiYVD6hs= Original-Received: from HE1PR02MB1068.eurprd02.prod.outlook.com (10.163.173.14) by HE1PR02MB1356.eurprd02.prod.outlook.com (10.169.116.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Tue, 8 May 2018 14:46:13 +0000 Original-Received: from HE1PR02MB1068.eurprd02.prod.outlook.com ([fe80::ad75:dcee:4d6e:e1c]) by HE1PR02MB1068.eurprd02.prod.outlook.com ([fe80::ad75:dcee:4d6e:e1c%13]) with mapi id 15.20.0735.019; Tue, 8 May 2018 14:46:13 +0000 Thread-Topic: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Thread-Index: AQHT5iv6WG2uYbuCVEW5Dm92XjdcsqQl6kdF In-Reply-To: <83efinqrqx.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=gustav@whil.se; x-originating-ip: [52.164.245.112] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR02MB1356; 7:pzACX7MDUYSJzY/swYhKbooMQhJxsiluw6Y3bLqF5g+Wx2Ju1L7TIEsSAId3fnmYt7WZtMspUXnUG6vUhxR51EFVAnADC8L6wcpHE+HHLYz0X4NgaNQ8ctk12JEiKL8YA7FlE+QCZexzg5pXvzEoLsdxnJpLLS9QyLcRQemraGaLwpLaBaIANkXXtP1xYui4IZI9c+/4fiTJ1C5HPn7uIFNzg3thUUn7hlrzVtxGt33v/SIN5lY7UlK7MqpOdbqc x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(2017052603328)(7153060)(7193020); SRVR:HE1PR02MB1356; x-ms-traffictypediagnostic: HE1PR02MB1356: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(22074186197030)(85827821059158)(81439100147899)(265313219721884)(17755550239193); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(2016111802025)(6043046)(6072148)(201708071742011); SRVR:HE1PR02MB1356; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1356; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(39380400002)(396003)(39830400003)(346002)(366004)(189003)(377424004)(199004)(74316002)(97736004)(25786009)(74482002)(316002)(45080400002)(5660300001)(3280700002)(81166006)(86362001)(478600001)(606006)(6436002)(4326008)(3846002)(6116002)(110136005)(81156014)(8936002)(5250100002)(229853002)(2900100001)(7736002)(66066001)(59450400001)(14454004)(7696005)(68736007)(106356001)(105586002)(2906002)(102836004)(76176011)(26005)(6506007)(53546011)(54896002)(186003)(6246003)(33656002)(11346002)(446003)(3660700001)(476003)(39060400002)(99286004)(53936002)(236005)(6306002)(9686003)(55016002)(486006); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR02MB1356; H:HE1PR02MB1068.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: whil.se does not designate permitted sender hosts) x-microsoft-antispam-message-info: l6fUlx/SJvLJ0P/zQrKwlu031PmbXWRdUFcw3bboqRHwUHF/syzwRiu4+P8I7CAsuxils2p7nfhogPV63SK2JF1na63nLT2mDwWoXNu94Fla1UHn6RNR2a6ieYVLYY8r8MDWgiSnAueo2S24qGsQ9NM8HePeJtjd7/tskDP/emnldWD2ix1pUvjnrKISQtyn spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM X-MS-Office365-Filtering-Correlation-Id: 8db7d07b-39d0-483e-cf67-08d5b4f27244 X-OriginatorOrg: whil.se X-MS-Exchange-CrossTenant-Network-Message-Id: 8db7d07b-39d0-483e-cf67-08d5b4f27244 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 14:46:13.3428 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f6cdb11-323f-43c4-adf3-a2c5097674cd X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB1356 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 09 May 2018 07:42:53 -0400 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:146090 Archived-At: --_000_HE1PR02MB106812F3D4DAA9E885F7E7A2DA9A0HE1PR02MB1068eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hmm... It seems I sent the Mail december 2011. I don't recall the problem a= ny more and as you say - old versions. Push the delete-button on it. I'm su= re other defects will be raised if the bug still persists. Kind regards Gustav Get Outlook for iOS ________________________________ From: Eli Zaretskii Sent: Monday, May 7, 2018 7:51:02 PM To: Gustav Wikstr=F6m Cc: bug-gnu-emacs@gnu.org Subject: Re: 24.0.92; Emacs runtime crashes with org-indent-mode and indire= ct-buffer > Date: Fri, 23 Dec 2011 08:18:19 +0100 > From: Gustav Wikstr=F6m > > 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? --_000_HE1PR02MB106812F3D4DAA9E885F7E7A2DA9A0HE1PR02MB1068eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hmm... It seems I sent the Mail december 2011.= I don’t recall the problem any more and as you say - old versions. P= ush the delete-button on it. I’m sure other defects will be raised if= the bug still persists.

Kind regards
Gustav


From: Eli Zaretskii <e= liz@gnu.org>
Sent: Monday, May 7, 2018 7:51:02 PM
To: Gustav Wikstr=F6m
Cc: bug-gnu-emacs@gnu.org
Subject: Re: 24.0.92; Emacs runtime crashes with org-indent-mode and= indirect-buffer
 
> Date: Fri, 23 Dec 2011 08:18:19 +0100
> From: Gustav Wikstr=F6m <gustav.erik@gmail.com>
>
> When org-startup-indented is set to true I get a fatal error when usin= g
> '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<= br> > windows.
>
> The following commands should reproduce the error:
>
>   "open an org-mode file with some headlines and text.&= quot;
>  
>   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 indir= ect 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?
--_000_HE1PR02MB106812F3D4DAA9E885F7E7A2DA9A0HE1PR02MB1068eurp_--