🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #955

How to keep *scratch* from popping up on C-x-# ?

#955
From: Jim.Rees
Date: Wed, 07 Apr 1993 03:05
33 lines
1715 bytes
I've modified server.el so that it kills the buffer rather than burying it
when I'm done.  And I've got inhibit-initial-screen-mapping turned on so I
don't have an empty window cluttering up my screen when I'm not editing
anything.  But now I get the scratch buffer (or some other random buffer)
mapped when I leave the last buffer with C-x-#.  Is there some way to
suppress this?

I'm also using Shankar Unni's scrperbuf.el, which is great.

Here is how I changed server.el.

% diff -cb lisp/server.el ~/u/lib/lisp/server.el 
*** lisp/server.el	Wed Jun  3 04:45:21 1992
--- //dabo/user/rees/u/lib/lisp/server.el	Wed Mar 24 23:39:02 1993
***************
*** 214,220 ****
  	(save-excursion
  	  (set-buffer buffer)
  	  (setq server-buffer-clients nil)))
!     (bury-buffer buffer)
      next-buffer))
  
  (defun mh-draft-p (buffer)
--- 214,222 ----
  	(save-excursion
  	  (set-buffer buffer)
  	  (setq server-buffer-clients nil)))
!     (if running-epoch
!       (kill-buffer buffer)
!       (bury-buffer buffer))
      next-buffer))
  
  (defun mh-draft-p (buffer)
Technical Details
Message-ID: <5f2ecfe1.cb12@dabo.citi.umich.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!destroyer!news.itd.umich.edu!dabo.citi.umich.edu!rees

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,f843bb61f43f4591,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1993-04-06 20:27:02 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!destroyer!news.itd.umich.edu!dabo.citi.umich.edu!rees
From: Jim.Rees@umich.edu
Newsgroups: gnu.epoch.misc
Subject: How to keep *scratch* from popping up on C-x-# ?
Date: 7 Apr 1993 03:05:47 GMT
Organization: University of Michigan CITI
Lines: 33
Distribution: world
Message-ID: <5f2ecfe1.cb12@dabo.citi.umich.edu>
NNTP-Posting-Host: dabo.citi.umich.edu