🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9229

Re: notes on VM 5.32

#9229
From: Joe Wells
Date: Thu, 05 Mar 1992 00:53
32 lines
1665 bytes
In article <9203020511.AA22550@rodan.UU.NET> kyle@uunet.UU.NET (Kyle Jones) writes:

   Further Emacs crashes on me often when I use window configurations.

Probably the selecting-a-deleted-window or the deleting-a-deleted-window
bug.  Enclosed is a patch.  Try it and tell me if it makes any difference.

-- 
Enjoy,

Joe Wells <jbw@cs.bu.edu>

Member of the League for Programming Freedom --- send e-mail for details
----------------------------------------------------------------------
--- src/window.c-dist   Tue Feb  4 20:17:58 1992
+++ src/window.c        Thu Feb 13 17:37:13 1992
@@ -354,4 +354,7 @@

   p = XWINDOW (window);
+  if (NULL (p->buffer) && NULL (p->hchild) && NULL (p->vchild))
+    error ("Attempt to delete already deleted window");
+
   parent = p->parent;
   if (NULL (parent))
@@ -894,4 +897,6 @@
                        marker_position (w->pointm),
                        BUF_ZV (XBUFFER (buf)));
+
+  w->buffer = Qnil;
 }

----------------------------------------------------------------------
Technical Details
Message-ID: <JBW.92Mar4195306@bigbird.bu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!bu.edu!nntp-read!jbw
References: <9203020511.AA22550@rodan.UU.NET>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,f3a15f95673b716a
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1992-03-04 23:30:26 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!bu.edu!nntp-read!jbw
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: notes on VM 5.32
Message-ID: <JBW.92Mar4195306@bigbird.bu.edu>
Date: 5 Mar 92 00:53:06 GMT
References: <9203020511.AA22550@rodan.UU.NET>
Sender: news@bu.edu.bu.edu
Organization: Boston University Computer Science Department
Lines: 32
In-reply-to: kyle@uunet.UU.NET's message of 1 Mar 92 19:11:52 GMT