From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: space leak from `values' Date: Fri, 30 Jul 2004 12:16:19 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1091204227 5671 80.91.224.253 (30 Jul 2004 16:17:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2004 16:17:07 +0000 (UTC) Cc: emacs-devel@gnu.org, d.love@dl.ac.uk, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 30 18:16:35 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bqa3e-0006w0-00 for ; Fri, 30 Jul 2004 18:16:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bqa6u-0006HD-1R for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2004 12:19:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bqa6l-0006Gy-Fd for emacs-devel@gnu.org; Fri, 30 Jul 2004 12:19:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bqa6l-0006Gl-17 for emacs-devel@gnu.org; Fri, 30 Jul 2004 12:19:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bqa6k-0006Gi-TZ for emacs-devel@gnu.org; Fri, 30 Jul 2004 12:19:46 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bqa3P-0001yS-K9 for emacs-devel@gnu.org; Fri, 30 Jul 2004 12:16:19 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Bqa3P-00081l-6z; Fri, 30 Jul 2004 12:16:19 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26119 I did not realize there were so many places where this was done. However, (setcdr (or (nthcdr N LIST) (list nil)) nil) is pretty simple. I am not sure we need a new function to replace that even if that is done 20 times in Emacs.