From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65051: internal_equal manipulates symbols with position without checking symbols-with-pos-enabled. Date: Sat, 12 Aug 2023 09:10:15 +0300 Message-ID: <83msywg5a0.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65051@debbugs.gnu.org, acm@muc.de To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 12 08:10:18 2023 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 1qUhpI-0001Rx-UA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Aug 2023 08:10:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUhp5-0002Ig-PT; Sat, 12 Aug 2023 02:10:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUhp4-0002FV-L9 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2023 02:10:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUhp4-00081h-Bu for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2023 02:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUhp4-0002Hb-7C for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2023 02:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Aug 2023 06:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65051 X-GNU-PR-Package: emacs Original-Received: via spool by 65051-submit@debbugs.gnu.org id=B65051.16918205928748 (code B ref 65051); Sat, 12 Aug 2023 06:10:02 +0000 Original-Received: (at 65051) by debbugs.gnu.org; 12 Aug 2023 06:09:52 +0000 Original-Received: from localhost ([127.0.0.1]:48466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUhou-0002H0-4A for submit@debbugs.gnu.org; Sat, 12 Aug 2023 02:09:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUhos-0002Gh-Ah for 65051@debbugs.gnu.org; Sat, 12 Aug 2023 02:09:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUhom-0007fx-W8; Sat, 12 Aug 2023 02:09:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BBRldeWThFtyEioV4N5+4O82wNgQEUKS/aWlGQC5KJo=; b=i2jybs9WK4bB MR3PAlAfaRabxBpNr9OT2EjeE7IfgcjZ24GB9ai2ZUbpS7QVruepsgK5x8qQAFrFs9TARsR9LT8j4 6kUv14MYWrhsntbBDUdP0yN2AYIqnl1PdT7/VHrPYrZ7RRSaP8kT3378OdX23qzlIASGDXkSRpPoP 4yXtxjvEbuuMI/BSNw3PUXfrCK2PTEwkasRySGDDBQAHZuT/KbrIcmFWIHU3Wpm7ZTMFM6Cy0zygE 5JjxUfZo/WeazFAaTiHfp9SAXYOjOYg22vle7k/C/Whs7ELSgAyIwu607tIsxeUHoBDX+BuHSdVno ZcmJDxu2U1VKK1rPWgolqw==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267251 Archived-At: > Cc: 65051@debbugs.gnu.org > Date: Sat, 12 Aug 2023 01:36:08 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > +A @dfn{symbol with position} is a pair of a symbol, the @dfn{bare symbol}, > +together with an unsigned integer called the @dfn{position}. > +They cannot themselves have entries in obarrays (contrary to their > +bare symbols; @pxref{Creating Symbols}). That "They" which begins the last sentence doesn't make clear who are "they". You want to say "Symbols with position" instead -- this is repetition, but in this case it is actually needed. > For most purposes, when the flag variable > @code{symbols-with-pos-enabled} is non-@code{nil}, symbols with > -positions behave just as bare symbols do. For example, @samp{(eq > -# foo)} has a value @code{t} when that variable > -is set (but @code{nil} when it isn't set). Most of the time in Emacs this > -variable is @code{nil}, but the byte compiler binds it to @code{t} > -when it runs. > +positions behave just as their bare symbols would. For example, ^^^^^^^^^ "position", singular. Thanks.