From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#58338: 29.0.50; mapatoms called on more elements than in obarray? Date: Thu, 06 Oct 2022 18:28:58 +0000 Message-ID: <8735c0n6vp.fsf@posteo.net> References: <87ilkxlygs.fsf@posteo.net> <877d1cn77o.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58338@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 20:55:44 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ogW23-0009mo-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 20:55:43 +0200 Original-Received: from localhost ([::1]:55288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogW21-0001Cx-8b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 14:55:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogVdD-0001kv-6l for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 14:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogVdC-0002e2-Cm for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 14:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogVdC-0001RM-4y for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 14:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58338 X-GNU-PR-Package: emacs Original-Received: via spool by 58338-submit@debbugs.gnu.org id=B58338.16650809495440 (code B ref 58338); Thu, 06 Oct 2022 18:30:02 +0000 Original-Received: (at 58338) by debbugs.gnu.org; 6 Oct 2022 18:29:09 +0000 Original-Received: from localhost ([127.0.0.1]:33543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogVcK-0001Pg-MF for submit@debbugs.gnu.org; Thu, 06 Oct 2022 14:29:08 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:58591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogVcI-0001PC-3k for 58338@debbugs.gnu.org; Thu, 06 Oct 2022 14:29:06 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id ECD4824002B for <58338@debbugs.gnu.org>; Thu, 6 Oct 2022 20:28:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665080940; bh=FnTPlm42REJguvE9ElZi/SmH//dz8rmkZTo7L3r2tp0=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=RnEOd+ghbzDku72Sn2T0sQayawr8qs/wBrRAQD+Gf+w6L4b014ZqcabispED5akPQ xrU/EkPi2fD0VRLCLCqCj+DLjLr6w8Q+dFnm7AfFcfkfBsgK+pN+htCKhbceAv+Zpf RlH/YOBk682R1RQKeXrOcawsNYacNJ+mC5yI2sfiFYzKmMKAkaijF3c3NyQDzdwucA QIVX+PHRReFVJ8GjkugJ/WFu7qLkk5RBbW+KNKSnTgT3HGF7SGqOR2WJ0dG18SBP2G rEsSxqjYANjsqhdgASXt9s/kYUDRLwKQtYqMvH+Qk9O0OeUUQT4FY+AmaLJ0EbQef+ HYy2woqhfI6jg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mk0MH2cM7z6tmf; Thu, 6 Oct 2022 20:28:59 +0200 (CEST) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Thu, 6 Oct 2022 20:25:59 +0200") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244705 Archived-At: Gerd M=C3=B6llmann writes: > On 22-10-06 20:21 , Philip Kaludercic wrote: > >> In that case what confuses me is that (length obarray) doesn't throw an >> error. Or what useful information does that give me? > > It's a vector, and each vector has a length. But isn't the fact that it is a vector just a detail of the internal implementation? What is even more vexing is that the deceptively named `obarray-size' just calls `length'. Is there no better way to count the number of entries in a obarray, as `hash-table-count' does for hash tables?