From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Tarsiger Newsgroups: gmane.emacs.devel Subject: Re: "The starting list count" ????? Date: Mon, 3 Jan 2022 12:59:56 -0600 Message-ID: <6efd3286-257e-e086-ae57-c726657b5d06@dasyatidae.com> References: <4b0fc44c-8ef2-e6c8-0146-1497fe43acf7@dasyatidae.com> <874k6k1xfz.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37084"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Cc: emacs-devel@gnu.org To: Andreas Schwab , acm@muc.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 03 20:00:51 2022 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 1n4SZd-0009Mv-RU for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Jan 2022 20:00:50 +0100 Original-Received: from localhost ([::1]:56702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4SZb-0004oh-Ts for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Jan 2022 14:00:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4SYq-0003zn-Ss for emacs-devel@gnu.org; Mon, 03 Jan 2022 14:00:00 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4SYp-0008Ku-Bg for emacs-devel@gnu.org; Mon, 03 Jan 2022 14:00:00 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8E1015C01CF; Mon, 3 Jan 2022 13:59:58 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 03 Jan 2022 13:59:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dasyatidae.com; h=message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=s Ihk+VK1GKmSQ1m3Ouw/sDK2Evd6/dwFRJ9vsjNbuDA=; b=jsklogU8ISIOADfxn ymxD/0kGv0EGR+szHpJI+wWvbzLO7aG/ZAoIvKwTVfdKS9LMDY6wYVoA7OF/O+T3 HaD6zBvJBHreidhesdKhspLexWgeVRS6mBEz4c0lMMXS1X+IN/zxtnQy6ceINCeH MO5bphGiBqZvEaxcx8tY3IDHIh1Su2q+fH7DJVhDUdAe4Xm+PLLRl/AKDIZ/alnD 6wqFMRMRS+IPgC2Jl9IF4HTmkavm/rlYMX4edmRf14ocKmGlOioR+xNI+OLm0oGT e+m7RngHOjTn/lAf789qPhDzS+uzkK1wRP4kc87pmNa1Xsb+nTML6fivMmPzxpS8 RjXIA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=sIhk+VK1GKmSQ1m3Ouw/sDK2Evd6/dwFRJ9vsjNbu DA=; b=MEn07f6sO8lSwbF3XxcMruOX4gRWbd347z8QmBPtuWvlJA3iuPfltC1tb vHCBsre6iGn/cgRjVkOopDxb+LwRSpjH2rYM7NIW90bUrcmLs2IdxmBj3HV63hli YqweBROPhn9afFPX/w5NvBaZ13FZJOPiINqxAlMKESkYU76OtrOO+g+DIJy+7ZXr ADcu+m5FWDWbYs+3sNOcMsL7XqQ5asuLfKDzFqq1LwA6aJeE1cz4jMbETiAgg+lb XmykVAG4+XOOqtFuv2fo/VNh8aXLUMaZheseIskYmliU2AnUUhylMY/jZ6xk38mt VywyzcetnQDfS2eUPXu6rRcB+FKZw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudefuddguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftohgs ihhnucfvrghrshhighgvrhcuoehrthhtsegurghshigrthhiuggrvgdrtghomheqnecugg ftrfgrthhtvghrnhepgeefgeejteetfefhudehvdehveehhedujeeguefgueelueduvdek veelgeeugedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homheprhhtthesuggrshihrghtihgurggvrdgtohhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Jan 2022 13:59:57 -0500 (EST) Content-Language: en-US-large In-Reply-To: <874k6k1xfz.fsf@igel.home> Received-SPF: pass client-ip=66.111.4.29; envelope-from=rtt@dasyatidae.com; helo=out5-smtp.messagingengine.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.354, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:284088 Archived-At: Andreas Schwab wrote: > It gets more complicated if the circle is embedded inside another > object. > > ELISP> (list (let ((a (list 1))) (setcdr a a))) > ((1 . #1)) Foo. You're right, I'd mixed it up with something else. The number of descent operations necessary from the _outermost_ enclosing list expression to reach the referent, then? ... hmm. (setq abc (let ((x '(a b c))) (rplacd (cddr x) x)))) abc ==> (a b c . #0) (cons 'x abc) ==> (x a b c . #1) (list abc) ==> ((a b c . #1)) (list (list abc)) ==> (((a b c . #2))) (list '(x y z) (list abc)) ==> ((x y z) ((a b c . #3))) (vector '(x y z) (list abc)) ==> [(x y z) ((a b c . #2))] (record 'foo (list abc)) ==> #s(foo ((a b c a b . #2))) Whoa, what happened with that last one?! Is that even intentional? Alan's definitely right to imply that this needs a better definition. -RTT