From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: lists.texi Date: Sat, 18 Jun 2005 19:37:09 -0500 (CDT) Message-ID: <200506190037.j5J0b9Y09287@raven.dms.auburn.edu> References: <200506182319.j5INJWF08937@raven.dms.auburn.edu> <200506190015.j5J0FQk09223@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119142035 26579 80.91.229.2 (19 Jun 2005 00:47:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2005 00:47:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 02:47:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjnxV-0004ae-HB for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 02:46:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Djo3Q-0002ov-9y for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2005 20:52:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Djo29-0002Xv-IH for emacs-devel@gnu.org; Sat, 18 Jun 2005 20:51:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Djo23-0002Um-Nw for emacs-devel@gnu.org; Sat, 18 Jun 2005 20:51:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Djo22-0002OZ-It for emacs-devel@gnu.org; Sat, 18 Jun 2005 20:51:26 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djnro-000125-Lo for emacs-devel@gnu.org; Sat, 18 Jun 2005 20:40:52 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j5J0cUCK015458 for ; Sat, 18 Jun 2005 19:38:30 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j5J0b9Y09287; Sat, 18 Jun 2005 19:37:09 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org In-reply-to: <200506190015.j5J0FQk09223@raven.dms.auburn.edu> (message from Luc Teirlinck on Sat, 18 Jun 2005 19:15:26 -0500 (CDT)) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39094 Actually, if we have to do all of that to get the correct return value, we could quite as well use the following function, which does get the order correct: (defun ring-elements (ring) "Return a list of the elements of RING in order, newest first." (let (lst) (dotimes (var (ring-length ring)) (push (ring-ref ring var) lst)) (nreverse lst)))