🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2110

Selecting deleted buffer - wot?

#2110
From: Lawrence Hare
Date: Tue, 19 Mar 1991 01:03
29 lines
1822 bytes
I have a weird problem..

I am running epoch and emacsclient. I have defined a function key
to save-all-and-exit sort of thing. This function is as follows..

  (defun save-all-and-exit () (interactive)
    (setq *server-screen* (current-screen))
    (save-buffer t) (kill-buffer (current-buffer)) (server-edit))

I include the kill-buffer so that if I reenter I do not get messages
about whether to start a new buffer and whatnot.

It works fine until I fire up a new screen, edit something and then
exit back to the top level. Any attempt to edit a file, ANY file, 
returns "Selecting deleted buffer" and all grinds to a halt.

My guess is that the screen functions and buffer kill functions
inter-twine in some mysterious fashion, if I just use the first
screen, exit, emacsclient, exit, emacsclient, etc, etc, niet problemski.
If, once a screen is up, I fire up another, lots of problemski.

I need epoch to COMPLETELY forget about a buffer once emacsclient
has performed its final server-edit on that screen.

Any suggestions?
-- 
Lawrence D. Hare        Control Data - Silicon Valley Operations
Consultant              Voice: (408) 496 4339 - C/N [234] 4339
ldh@eagle.svl.cdc.com   Mail: SVLa60  FAX: (408) 496-4106
Technical Details
Message-ID: <9103190103.AA25869@eagle.svl.cdc.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!agate!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,c87d2ed4f59c2f51,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-03-19 10:33:27 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!agate!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: ldh@EAGLE.SVL.CDC.COM (Lawrence Hare)
Newsgroups: gnu.epoch.misc
Subject: Selecting deleted buffer - wot?
Message-ID: <9103190103.AA25869@eagle.svl.cdc.com>
Date: 19 Mar 91 01:03:20 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 29