From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?UTF-8?Q?Sj=C3=B8gren?=) Newsgroups: gmane.emacs.bugs Subject: bug#9082: Add hints to documentation of car and cdr for (e)lisp newcomers Date: Thu, 14 Jul 2011 21:19:13 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87k4bkd61a.fsf@topper.koldfront.dk> References: <8762n4ewfx.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310672397 5015 80.91.229.12 (14 Jul 2011 19:39:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 19:39:57 +0000 (UTC) Cc: 9082@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 21:39:51 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhRlG-0005A4-UL for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 21:39:51 +0200 Original-Received: from localhost ([::1]:47705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhRlF-0001Qe-Gp for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 15:39:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhRSD-0004I0-SF for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 15:20:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhRS8-0001pS-Dz for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 15:20:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhRS8-0001p6-2j for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 15:20:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhRS7-00061f-3j; Thu, 14 Jul 2011 15:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: asjo@koldfront.dk (Adam =?UTF-8?Q?Sj=C3=B8gren?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 19:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9082 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 9082-submit@debbugs.gnu.org id=B9082.131067117023119 (code B ref 9082); Thu, 14 Jul 2011 19:20:03 +0000 Original-Received: (at 9082) by debbugs.gnu.org; 14 Jul 2011 19:19:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhRRW-00060m-ED for submit@debbugs.gnu.org; Thu, 14 Jul 2011 15:19:30 -0400 Original-Received: from 2505ds5-by.0.fullrate.dk ([95.166.24.143] helo=topper.koldfront.dk) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhRRQ-00060U-MC for 9082@debbugs.gnu.org; Thu, 14 Jul 2011 15:19:25 -0400 Original-Received: by topper.koldfront.dk (Postfix, from userid 1000) id C583650FA70D; Thu, 14 Jul 2011 21:19:13 +0200 (CEST) X-Now-Playing: Talkin' World War III Blues, Live 1964 (cd 2) (Bob Dylan) X-Hashcash: 1:21:110714:larsi@gnus.org::bOfs1Fzse5Iyok1V:0000tXK X-Hashcash: 1:21:110714:9082@debbugs.gnu.org::w/FEreiW0F5uHcsw:000000000000000000000000000000000000000002DYB X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97, Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR (Lars Magne Ingebrigtsen's message of "Thu, 14 Jul 2011 20:31:32 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 15:20:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49071 Archived-At: On Thu, 14 Jul 2011 20:31:32 +0200, Lars wrote: > asjo@koldfront.dk (Adam Sj=F8gren) writes: >> * data.c (car, cdr): add functionality hints to documentation. > I've applied your patch to Emacs 24, although... Thanks! >> DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0, >> ! doc: /* Return the cdr (rest) of LIST. If arg is nil, return n= il. > this is kinda still wrong-ish. I mean, you can take the cdr of a cons > cell. The cdr isn't more `rest' then the car is. However, since the > documentation says LIST, I guess it's OK. I see what you mean. I just read 'LIST' and looked at wikipedia=B9 and... Please correct it, if possible ;-) Best regards, Adam =B9 "When cons cells are used to implement singly linked lists (rather than trees and other more complicated structures), the car operation returns the first element of the list, while cdr returns the rest of the list." - http://en.wikipedia.org/wiki/CAR_and_CDR --=20 "Good car to drive after a war" Adam Sj=F8gren asjo@koldfront.dk