From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65017: 29.1; Byte compiler interaction with cl-lib function objects, removes symbol-function Date: Thu, 03 Aug 2023 17:46:44 -0400 Message-ID: References: <8B08E514-B2D5-48F5-BA90-4F5A9492F8F9@gmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12358"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 65017@debbugs.gnu.org, Eric Marsden To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 03 23:47:23 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 1qRgAF-0002zD-DW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Aug 2023 23:47:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRg9w-0006jt-Lo; Thu, 03 Aug 2023 17:47:04 -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 1qRg9u-0006ji-PN for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 17:47: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 1qRg9u-0002P9-HP for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 17:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRg9u-00029g-04 for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 17:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Aug 2023 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65017 X-GNU-PR-Package: emacs Original-Received: via spool by 65017-submit@debbugs.gnu.org id=B65017.16910992188275 (code B ref 65017); Thu, 03 Aug 2023 21:47:01 +0000 Original-Received: (at 65017) by debbugs.gnu.org; 3 Aug 2023 21:46:58 +0000 Original-Received: from localhost ([127.0.0.1]:53070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRg9q-00029P-HO for submit@debbugs.gnu.org; Thu, 03 Aug 2023 17:46:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:25798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRg9m-00029A-FM for 65017@debbugs.gnu.org; Thu, 03 Aug 2023 17:46:56 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A21A41000EF; Thu, 3 Aug 2023 17:46:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1691099207; bh=aq6IjbiAoygtKK8pXr5l1NZlG5sOTWFJ5/Z8ZGnks7I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=lnBC+MhtAbas+tPQEFsKcHsJbB3fUzMxPcrgM8d/OBj/o1Jmx+OQV9y5OXyJ7ZbPe HbFAKUWG9ISxFm60XIA1gyZ5Ql7w2XoqlWxHnGnGe3eGUdccCXS3O1VLsNCBD587Me PEBnNEaqz7GqIbO0vfm0X18frV8WZjftyFvsOc8VdH5oN0X506CRhykKWzd/6ZOlRx KGZGzlnspUJBbkSyIyciJFOD7dK3u1sdPOMaEf3MfEtXdUDH3Pit8/pomhkKxBuB9A ilIHhskUAlIScDBiooqETAhWWza4bMEMHGgZwqUbMGTzi2QVEtsotf57P3CZtyyzO+ EKcP+eJ2zYl7w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8F5701000BC; Thu, 3 Aug 2023 17:46:47 -0400 (EDT) Original-Received: from alfajor (unknown [181.44.118.150]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5C8BF1202AD; Thu, 3 Aug 2023 17:46:46 -0400 (EDT) In-Reply-To: (Alan Mackenzie's message of "Thu, 3 Aug 2023 21:10:56 +0000") 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:266627 Archived-At: > Sorry about my last post. I now see what the core problem is, namely > that (equal 'equal #) is returning non-nil. This is not really the core problem IIUC since `cl-macs.el` uses `eq` rather than `equal` so changing `equal` won't make much of a difference here. I'm not sure whether the above should return nil, or non-nil, or the value of `symbols-with-pos-enabled`, to be honest, but I guess returning non-nil has worked fine until now, so I think we'd be better off staying with that. I'd even like it to try and replace uses of `eq/eql` with `equal` in those cases where we want to overlook differences in symbol-positions, so that we can eventually get rid of `symbols-with-pos-enabled` which I consider as a wart. Stefan