From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: space leak from `values' Date: Thu, 29 Jul 2004 16:50:42 +0900 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091087896 9682 80.91.224.253 (29 Jul 2004 07:58:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jul 2004 07:58:16 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Dave Love Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 29 09:58:06 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 1Bq5ni-0006mZ-00 for ; Thu, 29 Jul 2004 09:58:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bq5qt-0007xa-In for ged-emacs-devel@m.gmane.org; Thu, 29 Jul 2004 04:01:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bq5qE-0007pd-6d for emacs-devel@gnu.org; Thu, 29 Jul 2004 04:00:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bq5qB-0007pF-Tm for emacs-devel@gnu.org; Thu, 29 Jul 2004 04:00:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bq5qB-0007p5-Ll for emacs-devel@gnu.org; Thu, 29 Jul 2004 04:00:39 -0400 Original-Received: from [210.143.35.52] (helo=tyo202.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bq5ma-0003Di-Qu; Thu, 29 Jul 2004 03:56:57 -0400 Original-Received: from mailgate3.nec.co.jp (mailgate53.nec.co.jp [10.7.69.192]) by tyo202.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id i6T7urT06385; Thu, 29 Jul 2004 16:56:53 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id i6T7urb07497; Thu, 29 Jul 2004 16:56:53 +0900 (JST) Original-Received: from edtmg03.lsi.nec.co.jp ([10.26.16.203]) by mailsv.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id i6T7qmc13335; Thu, 29 Jul 2004 16:52:48 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg03.lsi.nec.co.jp (8.12.10/8.12.10) with ESMTP id i6T7qkuQ021936; Thu, 29 Jul 2004 16:52:46 +0900 (JST) Original-Received: from mctpc71 (mctpc71.ucom.lsi.nec.co.jp [10.30.118.121]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id i6T7ohwt007399; Thu, 29 Jul 2004 16:50:43 +0900 (JST) Original-Received: by mctpc71 (Postfix, from userid 31295) id BFC90409; Thu, 29 Jul 2004 16:50:42 +0900 (JST) Original-To: storm@cua.dk (Kim F. Storm) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Kim F. Storm's message of "29 Jul 2004 01:13:44 +0200") Original-Lines: 9 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:26081 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26081 storm@cua.dk (Kim F. Storm) writes: > + DEFUN ("setnthcdr", Fsetnthcdr, Ssetnthcdr, 2, 3, 0, > + doc: /* Set cdr of Nth element of LIST to VALUE (nil if omitted), returns the result. What's wrong with (setcdr (nthcdr (1- N) LIST) VALUE) ? -Miles -- .Numeric stability is probably not all that important when you're guessing.