From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: frames vs. weak hash tables and garbage collection Date: Sat, 29 Sep 2007 12:10:20 -0400 Message-ID: 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> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1191082291 6426 80.91.229.12 (29 Sep 2007 16:11:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2007 16:11:31 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, jbw@macs.hw.ac.uk To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 18:11:26 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 1IbeuU-0001BJ-8u for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 18:11:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbeuQ-0004Jr-Cw for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 12:11:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbeuN-0004FG-JL for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:11:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbeuL-0004Cp-Ny for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:11:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbeuL-0004CX-ET for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:11:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbeuL-0004bd-8b for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 12:11:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IbetY-00082W-CG; Sat, 29 Sep 2007 12:10:20 -0400 In-reply-to: (message from Stefan Monnier on Fri, 28 Sep 2007 12:27:20 -0400) 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:16658 Archived-At: But it seems that `values' is never flushed, so it is a source of leaks. We should probably fix it (I'd remove it since almost noone even knows 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?