home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 6 Nov 1992 00:16:50 EST
- Date: Thu, 5 Nov 1992 21:17:13 PST
- Message-ID: <9211060517.AA05701@thalidomide.lucid>
- X-Windows: Don't get frustrated without it.
- From: jwz@lucid.com (Jamie Zawinski)
- Sender: jwz%thalidomide@lucid.com
- Subject: Re: GC idea
- References: <9211060256.AA08035@thymus.synaptics>
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 18
-
- In message <9211060256.AA08035@thymus.synaptics> Dave Gillespie wrote:
- >
- > What would you say to putting something in Emacs' command loop so that,
- > if Emacs has been idle for, say, 20 seconds, and the allocator is more
- > than, say, 3/4 of the way to gc-cons-threshold, then Emacs pauses to do
- > a GC. This would drastically reduce the number of times Emacs has to
- > stop for GC while you're actually in the middle of something.
-
- I think you should be able to implement that in lisp; emacs autosaves after
- 30 seconds of idle time, via the timer mechanism.
-
- (Emacs autosaves once 30 seconds has passed since the last user input, but
- really it should autosave when the user has been idle for 30 seconds during
- which time emacs has been waiting for input. Right now emacs will always
- autosave after any command which takes longer than 30 seconds to execute,
- which I find kind of annoying...)
-
- -- Jamie
-