From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook` Date: Sat, 24 Apr 2021 23:10:21 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28134"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Daniel Mendler , "47992@debbugs.gnu.org" <47992@debbugs.gnu.org>, "jakanakaevangeli@chiru.no" To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 25 05:11:13 2021 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 1laVAu-00079w-Vg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Apr 2021 05:11:12 +0200 Original-Received: from localhost ([::1]:52994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laVAt-0002rk-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 23:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laVAk-0002rM-Lx for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 23:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laVAk-0000gA-FR for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 23:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laVAk-0001iu-Aw for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 23:11: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: Sun, 25 Apr 2021 03:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47992 X-GNU-PR-Package: emacs Original-Received: via spool by 47992-submit@debbugs.gnu.org id=B47992.16193202316584 (code B ref 47992); Sun, 25 Apr 2021 03:11:02 +0000 Original-Received: (at 47992) by debbugs.gnu.org; 25 Apr 2021 03:10:31 +0000 Original-Received: from localhost ([127.0.0.1]:41770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laVAE-0001i6-MH for submit@debbugs.gnu.org; Sat, 24 Apr 2021 23:10:30 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:46800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laVAD-0001ht-19 for 47992@debbugs.gnu.org; Sat, 24 Apr 2021 23:10:29 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C05BF80BAF; Sat, 24 Apr 2021 23:10:23 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6BD8680801; Sat, 24 Apr 2021 23:10:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1619320222; bh=dKHBc3CAh1l6mdf90ptBhLPJnnV9HuvlKjP08nXmB50=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Zj35e4/3DV4e7BhdGX4UIQZ01+unxS44SuPSMqxoidfwZ8WFMeEI/6PjKPXHf2Ss3 7zhgmZGX3j0mJgMjXa62htEKez+YkGn5CLJNuBOn1KP+Ca+ffY6B6jjVEbtEo1Bz51 Z8AJqtX7s4J2eOIrt1hIkXpxOAALQDQoqFQ1lo1ivEX9hVBHV5fVDtAay3QgD+NMF6 9bdf15Ubn9axSwF6setP3BrOIi8yqP534lGI6ODQdOFoBZW27Mj8sj88yqkslF3nkC 4Em+tLG0Kpzs/u10XcQDNV/ZI2I3l3AtDalzebNE7LosFyg3WFNXPJHgJ6UH2Q1Vgu +eicFquXcAFxg== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 36B60120337; Sat, 24 Apr 2021 23:10:22 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun, 25 Apr 2021 01:23:03 +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" Xref: news.gmane.io gmane.emacs.bugs:204840 Archived-At: > Please elaborate. Comparing lambda forms using `eq'? > Not clear to me how that works in the general case. > > (eq (lambda () foo) (lambda () foo)) ? > > I don't see that it works at all, let alone works more > often than the current way: > (equal (lambda () foo) (lambda () foo)) IOW, you don't have an opinion either way on the proposed change of semantics. Stefan