Article View: gnu.emacs.bug
Article #99033Re: Resetting GNU emacs to its initial state.
From: John Robinson
Date: Thu, 29 Nov 1990 05:04
Date: Thu, 29 Nov 1990 05:04
24 lines
1945 bytes
1945 bytes
In article <LJZ.90Nov21082354@benji.sisyphus.shearson.com>, ljz@sisyphus (Lloyd Zusman) writes: >Is there a way for me to reset my emacs session to its initial state? In >other words, I'd like to kill all user-created buffers, unbind all >user-created variables and functions, free all user-allocated memory, etc. One feature I have often wanted is, essentially, shell's "exec". You could then get the effect you want with (exec "emacs"). In combination with the saveconf package, this would let you recover memory dellocated within emacs but still in your address space. In a shared-executable/pure space world, this should be pretty fast. Doing it the way you suggest, however, is probably much harder, though perhaps more efficient. Think about user rebindings of pure-space lisp functions, for example. Hacking in the exec function ought to be an hour's work... -- /jr, aka John Robinson Bet you didn't know that jr@ksr.com, lately at bbn. Kendall Square is in Waltham, MA if troubles: ksr!jr@world.std.com -- /jr, aka John Robinson Bet you didn't know that jr@ksr.com, lately at bbn. Kendall Square is in Waltham, MA if troubles: ksr!jr@world.std.com
Technical Details
Message-ID:
<1161@ksr.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ksr.com!jrReferences:
<LJZ.90Nov21082354@benji.sisyphus.shearson.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,a3e9b9c99ab3ee3e X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-11-28 21:04:12 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ksr.com!jr From: jr@ksr.com (John Robinson) Newsgroups: gnu.emacs.bug Subject: Re: Resetting GNU emacs to its initial state. Message-ID: <1161@ksr.com> Date: 29 Nov 90 05:04:12 GMT References: <LJZ.90Nov21082354@benji.sisyphus.shearson.com> Sender: daemon@tut.cis.ohio-state.edu Reply-To: jr@ksr.com (John Robinson) Distribution: gnu Organization: Kendall Square Research Corp Lines: 24 Approved: bug-gnu-emacs@prep.ai.mit.edu Posted: Thu Nov 29 06:04:12 1990