From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: doc strings of reverse and nreverse. Date: Wed, 19 Nov 2003 22:10:59 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200311200410.hAK4Axt07727@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1069301887 18380 80.91.224.253 (20 Nov 2003 04:18:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2003 04:18:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Nov 20 05:18:04 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMgGa-0000ZF-00 for ; Thu, 20 Nov 2003 05:18:04 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMgGa-0007ew-00 for ; Thu, 20 Nov 2003 05:18:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMhDi-0000fA-Uk for emacs-devel@quimby.gnus.org; Thu, 20 Nov 2003 00:19:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMhDd-0000eU-Bb for emacs-devel@gnu.org; Thu, 20 Nov 2003 00:19:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMhD6-0000Vu-1h for emacs-devel@gnu.org; Thu, 20 Nov 2003 00:19:03 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMhCv-0000SA-E8 for emacs-devel@gnu.org; Thu, 20 Nov 2003 00:18:21 -0500 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 hAK4GqKk029632 for ; Wed, 19 Nov 2003 22:16:52 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id hAK4Axt07727; Wed, 19 Nov 2003 22:10:59 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17939 The doc strings of `reverse' and `nreverse' are strange and cryptic. Do C-h f reverse RET Result: reverse is a built-in function. (reverse LIST) Reverse LIST, copying. Returns the beginning of the reversed list. See also the function `nreverse', which is used more often. My comments: The "beginning" of the reversed list? How much of the beginning? Whenever I tried `reverse' it always returned the entire reversed list, like the Common Lisp function of the same name. Does it _ever_ do anything else? If yes, when and what is the "else"? If not, what does that strange sentence mean? If it ever does anything else, then there still is a bug in the new version of number-sequence I submitted, but there would be bugs all over Emacs. Same questions for `nreverse': reverse is a built-in function. (nreverse LIST) Reverse LIST by modifying cdr pointers. Returns the beginning of the reversed list. Sincerely, Luc.