🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98292

stack unwinding bug?

#98292
From: Peng Wu
Date: Mon, 07 Oct 1991 20:35
30 lines
1530 bytes
Here is a buffer list:

 MR Buffer         Size  Mode           File
 -- ------         ----  ----           ----
 *  temp	   205	 Lisp Interaction 
 *  *scratch*	   0	 Lisp Interaction 
.*  *Buffer List*  296	 Buffer Menu	

After executing command TEST it becomes:

 MR Buffer         Size  Mode           File
 -- ------         ----  ----           ----
 *  temp	   205	 Lisp Interaction 
 *% *scratch*	   0	 Lisp Interaction 
.*  *Buffer List*  200	 Buffer Menu	

Note that *scratch* is turned into read-only.
The command TEST is defined as the following:

(defun TEST ()
  (interactive)
  (set-buffer (get-buffer-create "*test*"))
  (make-local-variable 'buffer-read-only)
  (setq buffer-read-only t)
  (let ((buffer-read-only nil))
    (kill-buffer "*test*")))

It seems that after the buffer *test* is killed, its local
variables are restore in another buffer.  ftp-write-file
has a similar problem when it kills the process i/o buffer.
Technical Details
Message-ID: <9110072035.AA08747@maltex>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ai.mit.edu!pwu

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,bd8f643f1fd01396,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-10-07 19:00:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ai.mit.edu!pwu
From: pwu@ai.mit.edu (Peng Wu)
Newsgroups: gnu.emacs.bug
Subject: stack unwinding bug?
Message-ID: <9110072035.AA08747@maltex>
Date: 7 Oct 91 20:35:55 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30
Approved: bug-gnu-emacs@prep.ai.mit.edu