From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Wells Newsgroups: gmane.emacs.bugs Subject: Re: frames vs. weak hash tables and garbage collection Date: Sat, 29 Sep 2007 17:20:40 +0100 Message-ID: <867im9xx2f.fsf@macs.hw.ac.uk> References: <86wsvdvmkb.fsf@macs.hw.ac.uk> <86y7fru45n.fsf@macs.hw.ac.uk> <868x6u1g8x.fsf@macs.hw.ac.uk> <874phgo5l2.fsf@ambire.localdomain> <86k5qazvm4.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1191082858 7910 80.91.229.12 (29 Sep 2007 16:20:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2007 16:20:58 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Stefan Monnier To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 18:20:53 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ibf3k-0003re-Of for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 18:20:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibf3g-00019G-Td for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 12:20:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ibf3f-00018t-9e for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:20:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ibf3e-00018V-Po for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:20:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibf3e-00018A-GZ for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:20:46 -0400 Original-Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ibf3b-0006go-Ha; Sat, 29 Sep 2007 12:20:43 -0400 Original-Received: from lxultra1.macs.hw.ac.uk ([137.195.27.173]:59036 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.51) id 1Ibf3Y-0001JM-MH; Sat, 29 Sep 2007 17:20:40 +0100 Original-Received: (nullmailer pid 30768 invoked by uid 1001); Sat, 29 Sep 2007 16:20:40 -0000 In-Reply-To: (Richard Stallman's message of "Sat\, 29 Sep 2007 12\:10\:20 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16659 Archived-At: Richard Stallman writes: > But it seems that `values' is never flushed, so it is a source of lea= ks. > We should probably fix it (I'd remove it since almost noone even know= s that > it exists, but I guess Richard uses it once in a blue moon). > > I don't use it myself. I put it in because a history of values > is a useful thing for any read-eval-print loop. We could delete it, > but it might be better to do more to inform people about it. > For instance, mention it in the text in the *scratch* buffer. > > Then they might indeed find it useful. Or if they don't, > we could delete it. > > I agree with the suggestion to truncate it to a specified maximum > length. How about 40? Personally, I can't remember using anything more than (car values). Maybe once I used something older than the most recent addition to the list. So it seems to me a length of 3 would probably be plenty. By the way, the name =E2=80=9Cvalues=E2=80=9D is not good. I would suggest =E2=80=9Ceval-expression-recent-values=E2=80=9D. --=20 Joe