From unknown Thu Jun 19 14:04:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24316 <24316@debbugs.gnu.org> To: bug#24316 <24316@debbugs.gnu.org> Subject: Status: Mistake in GNU Emacs Lisp Reference Manual, Section 5.3 Reply-To: bug#24316 <24316@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:04:23 +0000 retitle 24316 Mistake in GNU Emacs Lisp Reference Manual, Section 5.3 reassign 24316 emacs submitter 24316 Eric Wayman severity 24316 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 16:54:23 2016 Received: (at submit) by debbugs.gnu.org; 26 Aug 2016 20:54:23 +0000 Received: from localhost ([127.0.0.1]:41731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdO8s-0005iF-RJ for submit@debbugs.gnu.org; Fri, 26 Aug 2016 16:54:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdO8r-0005i3-C7 for submit@debbugs.gnu.org; Fri, 26 Aug 2016 16:54:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdO8l-0007Rj-AF for submit@debbugs.gnu.org; Fri, 26 Aug 2016 16:54:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdO8j-0007Qf-1O for submit@debbugs.gnu.org; Fri, 26 Aug 2016 16:54:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdO8g-0003Oi-RT for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 16:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdO8d-0007O4-MI for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 16:54:10 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdO8b-0007J2-D3 for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 16:54:07 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3D69720337 for ; Fri, 26 Aug 2016 16:53:56 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 26 Aug 2016 16:53:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=EFG ljmPfrv845RH2AOSwbteqGjQ=; b=VqP3bjIXCQQrNTXedHEv/qN9HA+jjnzmXpg yVGBs44tFmUN56Aiee+82QUy+AFAesUBqSZbXjsnK2XSH8VgJBOYUW0DnEQ6UMer Jhzu3HinN4g/I9iYVsqS+ue3E96plyET7JWVSTGLjqGuB1+zdjRcftaXBOdEafCh vxFzwgEM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=EFGljmPfrv845RH2AOSwbteqGjQ=; b=gGHwu LND7sJYECZP9w+Q5MEIFKZUoA6j8BAS7XU7LcFoSEDplAwri3Gf6uvoifx7u/t44 jD5GIaggyV98HuZQWgRTT5WJCW+0xkfsB+85cASutXWblmaYaupA00h3WaWg1djH Bml9432Yl9wMKyNjvkFhQStnmBpWHId5EhPlTQ= X-Sasl-enc: UoTQ6tD/jzB8LivyF4oXEpK7f+49TfGH+KYGdwWgCN5w 1472244835 Received: from debian (c-68-40-195-40.hsd1.mi.comcast.net [68.40.195.40]) by mail.messagingengine.com (Postfix) with ESMTPA id D8190F29D2 for ; Fri, 26 Aug 2016 16:53:55 -0400 (EDT) Date: Fri, 26 Aug 2016 16:53:34 -0400 From: Eric Wayman To: bug-gnu-emacs@gnu.org Subject: Mistake in GNU Emacs Lisp Reference Manual, Section 5.3 Message-ID: <20160826165334.6ad4746c@debian> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) With respect to -- Function: safe-length list the text says "If LIST is not =E2=80=98nil=E2=80=99 or a cons cell, =E2=80=98safe-len= gth=E2=80=99 returns 0." But running (safe-length nil) gives 0. Best regards, Eric Alan Wayman From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 17:04:23 2016 Received: (at 24316) by debbugs.gnu.org; 26 Aug 2016 21:04:23 +0000 Received: from localhost ([127.0.0.1]:41736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdOIY-0005x7-QT for submit@debbugs.gnu.org; Fri, 26 Aug 2016 17:04:22 -0400 Received: from limerock02.mail.cornell.edu ([128.84.13.242]:47367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdOIX-0005wv-3H for 24316@debbugs.gnu.org; Fri, 26 Aug 2016 17:04:21 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u7QL4Eci028175; Fri, 26 Aug 2016 17:04:14 -0400 Received: from [192.168.1.9] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u7QL4Ds5009813 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 26 Aug 2016 17:04:14 -0400 Subject: Re: bug#24316: Mistake in GNU Emacs Lisp Reference Manual, Section 5.3 To: Eric Wayman , 24316@debbugs.gnu.org References: <20160826165334.6ad4746c@debian> From: Ken Brown Message-ID: <479097c6-b734-2c2d-5e8b-2fa6a64576e5@cornell.edu> Date: Fri, 26 Aug 2016 17:04:15 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160826165334.6ad4746c@debian> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 24316 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) On 8/26/2016 4:53 PM, Eric Wayman wrote: > With respect to > > -- Function: safe-length list > > the text says > > "If LIST is not ‘nil’ or a cons cell, ‘safe-length’ returns 0." > > But running > > (safe-length nil) > > gives 0. That case is covered by the first paragraph of the documentation, which you didn't quote: This function returns the length of LIST, with no risk of either an error or an infinite loop. It generally returns the number of distinct cons cells in the list. However, for circular lists, the value is just an upper bound; it is often too large. Ken From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 18:20:33 2016 Received: (at 24316-done) by debbugs.gnu.org; 26 Aug 2016 22:20:33 +0000 Received: from localhost ([127.0.0.1]:41748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdPUG-0007di-V8 for submit@debbugs.gnu.org; Fri, 26 Aug 2016 18:20:33 -0400 Received: from limerock04.mail.cornell.edu ([128.84.13.244]:43506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdPUF-0007dV-MV for 24316-done@debbugs.gnu.org; Fri, 26 Aug 2016 18:20:31 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u7QMKPlj031692; Fri, 26 Aug 2016 18:20:25 -0400 Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u7QMKNQu003940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 26 Aug 2016 18:20:24 -0400 Subject: Re: bug#24316: Mistake in GNU Emacs Lisp Reference Manual, Section 5.3 To: Eric Wayman References: <20160826165334.6ad4746c@debian> <479097c6-b734-2c2d-5e8b-2fa6a64576e5@cornell.edu> <20160826170517.71887c34@debian> From: Ken Brown Message-ID: <42a9db55-1312-202d-8f70-67e86c2ca630@cornell.edu> Date: Fri, 26 Aug 2016 18:20:21 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160826170517.71887c34@debian> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 24316-done Cc: 24316-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) On 8/26/2016 5:05 PM, Eric Wayman wrote: > Dear Ken, > > I misunderstood; excuse me for taking your time! No problem. I'm closing the bug. Ken From unknown Thu Jun 19 14:04:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Sep 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator