From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gustav =?UTF-8?Q?Wikstr=C3=B6m?= Newsgroups: gmane.emacs.bugs Subject: bug#10360: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Date: Fri, 23 Dec 2011 08:18:19 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba6e836ca8885304b4bd3822 X-Trace: dough.gmane.org 1324775984 25439 80.91.229.12 (25 Dec 2011 01:19:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2011 01:19:44 +0000 (UTC) To: 10360@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 25 02:19:37 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ReckQ-0002B7-Vx for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Dec 2011 02:19:35 +0100 Original-Received: from localhost ([::1]:40094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReckQ-0001tK-Bi for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2011 20:19:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReTtr-0000te-ML for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:52:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ReTtq-0002YP-0O for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:52:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReTtp-0002YL-S6 for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:52:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ReTw7-0004cg-Cn for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:55:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gustav =?UTF-8?Q?Wikstr=C3=B6m?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Dec 2011 15:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132474205417642 (code B ref -1); Sat, 24 Dec 2011 15:55:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Dec 2011 15:54:14 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ReTvJ-0004aQ-Nv for submit@debbugs.gnu.org; Sat, 24 Dec 2011 10:54:14 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdzQq-00008t-NW for submit@debbugs.gnu.org; Fri, 23 Dec 2011 02:20:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdzOf-0003EQ-0v for submit@debbugs.gnu.org; Fri, 23 Dec 2011 02:18:30 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:33121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdzOe-0003EM-Vb for submit@debbugs.gnu.org; Fri, 23 Dec 2011 02:18:28 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdzOa-0000ge-Ji for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2011 02:18:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdzOW-0003Db-8k for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2011 02:18:24 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:54598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdzOW-0003DW-1x for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2011 02:18:20 -0500 Original-Received: by iacb35 with SMTP id b35so15330446iac.0 for ; Thu, 22 Dec 2011 23:18:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=BDj3U2EsBZHhh6d2TjFr536ilQjHrkflsklFh52yJ5o=; b=dNAltYxUoz2Gv2XVQji2IW1vSRnGXpphc940I9LB9FbCuXuZLHhcsMpRQm3Ejioe1r IKUfXriYHJuVGz07sxdlPN8JZ9pJ0Vv3UmKwN82ri7XHGyOtJ2M9hAZcC/XJ7qaAEdML wDiaKT1ApKjuAYHvfyuzAXuqeMJamseUw/gXI= Original-Received: by 10.42.135.69 with SMTP id o5mr16145242ict.34.1324624699230; Thu, 22 Dec 2011 23:18:19 -0800 (PST) Original-Received: by 10.231.229.73 with HTTP; Thu, 22 Dec 2011 23:18:19 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 24 Dec 2011 10:54:11 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Dec 2011 10:55:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 24 Dec 2011 20:19:31 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55177 Archived-At: --90e6ba6e836ca8885304b4bd3822 Content-Type: text/plain; charset=ISO-8859-1 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 configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: SVE value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m a c s - b u Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) --90e6ba6e836ca8885304b4bd3822 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 o= rg-cycle on the
same heading in the indirect-buffer.

It seems that emacs breaks due to a call to "overlay-pu= t".

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:

=A0 "open an org-mode file with some headlines and text."<= div>=A0=A0
=A0 M-x org-indent-mode
=A0=A0
=A0= C-c C-x b (org-tree-to-indirect-buffer)
=A0=A0
=A0 C-x 0 (delete-window, the one that does not have = the indirect buffer)
=A0=A0
=A0 tab (org-cycle, inside = the indirect buffer)


In GNU Emacs 2= 4.0.92.1 (i386-mingw-nt6.1.7601)
=A0of 2011-12-07 on MARVIN
Windowing system distributor `Mic= rosoft Corp.', version 6.1.7601
configured using `configure -= -with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/includ= e -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1= .4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/em= acs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID= :/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1= /include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib'

Important settings:
=A0 value of $LC_ALL: nil=
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: = nil
=A0 value of $LC_MESSAGES: nil
=A0 value of $LC_MON= ETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_TIME: nil
=A0 value of $LANG: SVE
=A0 value of $XMODIFIERS: nil
=A0 locale-coding-system: cp1252
=A0 default enable-multiby= te-characters: t

Major mode: Fundamental

Minor = modes in effect:
=A0 tooltip-mode: t
=A0 mouse-wheel-mo= de: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 blink-cursor-mode: t
<= div>=A0 auto-composition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
<= div>=A0 transient-mark-mode: t

Recent input:
<help-echo> M-x r e p o r= t - e m a c s - b u <tab>=A0
<return>

=
Recent messages:
For information about GNU Emacs and t= he GNU system, type C-h C-a.

Load-path shadows:
None found.

=
Features:
(shadow sort gnus-util mail-extr message for= mat-spec rfc822 mml easymenu
mml-sec mm-decode mm-bodies mm-encod= e mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailhead= er
emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type= mwheel
dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd = fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
=
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame ch= am
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet= lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help sim= ple
abbrev minibuffer button faces cus-face files text-properties= overlay
sha1 md5 base64 format env code-pages mule custom widget
has= htable-print-readable backquote make-network-process multi-tty emacs)
=

--90e6ba6e836ca8885304b4bd3822--