From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2 Date: Thu, 15 Jul 2021 11:41:38 -0400 Message-ID: References: <8735shrl57.fsf@tullinup.koldfront.dk> <83v95c7v3v.fsf@gnu.org> <87bl74evd7.fsf@gnus.org> <87bl74ry2z.fsf@gnus.org> <831r7z7jgl.fsf@gnu.org> <87bl73r4p1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2993"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 15 17:42:32 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m43VQ-0000bi-4v for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Jul 2021 17:42:32 +0200 Original-Received: from localhost ([::1]:47898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m43VP-0003K4-3s for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Jul 2021 11:42:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m43Uf-0001xq-Ia for emacs-devel@gnu.org; Thu, 15 Jul 2021 11:41:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m43Uc-0003pD-DT for emacs-devel@gnu.org; Thu, 15 Jul 2021 11:41:44 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 60D2910020E; Thu, 15 Jul 2021 11:41:40 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0CB281000C9; Thu, 15 Jul 2021 11:41:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1626363699; bh=OaSBrIPf76MHgpbBE45IDTmCyu3ZPVXd5s0mEqKAlBk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=IPmS0N9dikD4LldGfWLks4+7hYCMC+LSTpEpM+A2NIqw5qwge4YsKOOGck91oQxmk gk3WEJmPImVQbaQ58KulmZJp88pMfwy2iZFHtPRxNpmy8EDiJNYTKoF7MOSHxKPF+J aGV3fZQn3PNY30hC+n714JAmKuMfCG82gME+h5EJWhOfdCZfsCUCgPNVdv8zxTMj0Z yuE/gI+QndRak1TwkQWuKrsRJeUFcZixL6bkqNHaglGOdg5jAVEld4S+FJM1yumuUA P3yuKeyT60aA9ZpNKaOil4pARn7nIBfUvPZxRgj+fDlACszaUJzgSWZArlQCImxXI/ LobGOMIY4fQPQ== Original-Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B98BD120476; Thu, 15 Jul 2021 11:41:38 -0400 (EDT) In-Reply-To: <87bl73r4p1.fsf@gmail.com> (Tim Cross's message of "Fri, 16 Jul 2021 01:02:05 +1000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271255 Archived-At: > However, to really understand car (or cdr), you really need a bit more > understanding of lists, cons cells etc. So having a somewhat terse doc > string which includes a link to the manual may be a good thing as it > will encourage the user to look at the manual and possibly get some of > the additional information (plus caar, caadr, cddr etc). Agreed. There's one detail that would be helpful, tho: make it clear which is which, for those people who are familiar with the general idea but aren't using Lisp often enough to remember which of `car` or `cdr` return the right hand side of cons cell. Stefan