unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10360: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer
@ 2011-12-23  7:18 Gustav Wikström
  2011-12-24 19:20 ` Eli Zaretskii
  2018-05-07 17:51 ` bug#31379: " Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Gustav Wikström @ 2011-12-23  7:18 UTC (permalink / raw)
  To: 10360

[-- Attachment #1: Type: text/plain, Size: 2984 bytes --]

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:
<help-echo> M-x r e p o r t - e m a c s - b u <tab>
<return>

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)

[-- Attachment #2: Type: text/html, Size: 3948 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#10360: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer
  2011-12-23  7:18 bug#10360: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Gustav Wikström
@ 2011-12-24 19:20 ` Eli Zaretskii
  2018-05-07 17:51 ` bug#31379: " Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2011-12-24 19:20 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: 10360-done

> Date: Fri, 23 Dec 2011 08:18:19 +0100
> From: Gustav Wikström <gustav.erik@gmail.com>
> 
> 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.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31379: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer
  2011-12-23  7:18 bug#10360: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Gustav Wikström
  2011-12-24 19:20 ` Eli Zaretskii
@ 2018-05-07 17:51 ` Eli Zaretskii
  2018-05-08 14:46   ` Gustav Wikström
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2018-05-07 17:51 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: 31379

> Date: Fri, 23 Dec 2011 08:18:19 +0100
> From: Gustav Wikström <gustav.erik@gmail.com>
> 
> 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?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31379: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer
  2018-05-07 17:51 ` bug#31379: " Eli Zaretskii
@ 2018-05-08 14:46   ` Gustav Wikström
  2018-05-08 17:59     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Gustav Wikström @ 2018-05-08 14:46 UTC (permalink / raw)
  To: Eli Zaretskii, Gustav Wikström; +Cc: 31379

[-- Attachment #1: Type: text/plain, Size: 1842 bytes --]

Hmm... It seems I sent the Mail december 2011. I don't recall the problem any more and as you say - old versions. Push the delete-button on it. I'm sure other defects will be raised if the bug still persists.

Kind regards
Gustav

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Eli Zaretskii <eliz@gnu.org>
Sent: Monday, May 7, 2018 7:51:02 PM
To: Gustav Wikström
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öm <gustav.erik@gmail.com>
>
> 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?

[-- Attachment #2: Type: text/html, Size: 3375 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31379: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer
  2018-05-08 14:46   ` Gustav Wikström
@ 2018-05-08 17:59     ` Eli Zaretskii
  2018-05-08 18:16       ` Noam Postavsky
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2018-05-08 17:59 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: 31379-done

> From: Gustav Wikström <gustav@whil.se>
> CC: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
> Date: Tue, 8 May 2018 14:46:13 +0000
> 
> Hmm... It seems I sent the Mail december 2011. I don’t recall the problem any more and as you say - old
> versions. Push the delete-button on it. I’m sure other defects will be raised if the bug still persists.

Done, thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#31379: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer
  2018-05-08 17:59     ` Eli Zaretskii
@ 2018-05-08 18:16       ` Noam Postavsky
  0 siblings, 0 replies; 6+ messages in thread
From: Noam Postavsky @ 2018-05-08 18:16 UTC (permalink / raw)
  To: Eli Zaretskii, 31379; +Cc: Gustav Wikström

On 8 May 2018 at 13:59, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Gustav Wikström <gustav@whil.se>
>> CC: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
>> Date: Tue, 8 May 2018 14:46:13 +0000
>>
>> Hmm... It seems I sent the Mail december 2011. I don’t recall the problem any more and as you say - old
>> versions. Push the delete-button on it. I’m sure other defects will be raised if the bug still persists.
>
> Done, thanks.

It looks like it was indeed fixed back then:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10360#10





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-08 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-23  7:18 bug#10360: 24.0.92; Emacs runtime crashes with org-indent-mode and indirect-buffer Gustav Wikström
2011-12-24 19:20 ` Eli Zaretskii
2018-05-07 17:51 ` bug#31379: " Eli Zaretskii
2018-05-08 14:46   ` Gustav Wikström
2018-05-08 17:59     ` Eli Zaretskii
2018-05-08 18:16       ` Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).