From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook` Date: Sun, 04 Jul 2021 04:35:26 +0200 Message-ID: <875yxqrekx.fsf@web.de> References: <87mttdh57n.fsf@gnus.org> <877di6udfy.fsf@web.de> <87wnq6opfo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40611"; 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, monnier@iro.umontreal.ca, jakanakaevangeli@chiru.no To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 04 04:36:11 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 1lzrzO-000ALh-Mu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jul 2021 04:36:10 +0200 Original-Received: from localhost ([::1]:52540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzrzM-0004KH-TF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 22:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzrzG-0004Jn-Iy for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 22:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzrzG-0006jk-74 for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 22:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzrzG-0008SJ-33 for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 22:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jul 2021 02:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47992 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 47992-submit@debbugs.gnu.org id=B47992.162536616032496 (code B ref 47992); Sun, 04 Jul 2021 02:36:02 +0000 Original-Received: (at 47992) by debbugs.gnu.org; 4 Jul 2021 02:36:00 +0000 Original-Received: from localhost ([127.0.0.1]:40235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzrzE-0008S3-GM for submit@debbugs.gnu.org; Sat, 03 Jul 2021 22:36:00 -0400 Original-Received: from mout.web.de ([212.227.15.3]:58661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzrzB-0008Rm-9A for 47992@debbugs.gnu.org; Sat, 03 Jul 2021 22:35:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1625366128; bh=90Va2Tc7ruhqN0pJX4IHTK608p/EPWQUhv9ypZMfAQs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jpqi3zRTM1gohtnMhWqpYeEBQrEArPZk4QfFmnBSbLpseeMwCXA9bE4Uiwr4pPmZn vzi7AU1xtqB7k2VCn8HvRT1WU79C6fyKrh/ncxiLZsu5PY6pHqPKSYm++e2NjiEtS9 0uI/arhMOAYOQKwE6fb/VqwxkqAeCcwV0zEHhhK0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([88.66.201.45]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mrww5-1lNFV44Bm9-00o2ad; Sun, 04 Jul 2021 04:35:28 +0200 In-Reply-To: <87wnq6opfo.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 04 Jul 2021 03:09:15 +0200") X-Provags-ID: V03:K1:0QEZ/ZP3b2EyxlAiDbaUGHdHOR9ATPXZU7Re9Y+DK6D7vVB0VUC QRrs5KqAhSu1gNrZ3MXVj7T4KIkrU8Vr++ORtY24vF/FbdTkoRawWMlMF7lX8k/knVQlTX4 duDvlFqbiLUpk5UydyXFHq8nhvaUNonZaCHLxHIDhaoYoqh5yWFJFMWh2ztDojHCJn+Ncmf HzdN5DOPq2iWaEqEPJU1w== X-UI-Out-Filterresults: notjunk:1;V03:K0:C5Vqs4d7XxY=:lHyBqzI8aSPcMqV9q1UQoB MkcjdgbxBA075S6RU9gWVvGLceVWCHs1aZBKa6xoV4/YDhnC5iyQZXIzvcIh380V7FVVEYN0q C4QWHlUcj4s8IpKKBZa7ZNoJYKN71+mv5FzmgsVEgZQw/XVBlz+AWBpfybGdYUPNXPgnRvCGG 59Q55XzovZ/HhyRaSdBg78diYaeheEdX0o10egv5u7j25uTefYL4E8hK6yXGJs64pLPaOtCB+ iVbV2563dkgzq+a3FTkGdxXrmCiNO7bHA41fmDouGqnoR7QqXOOA6fGbtBgkXRYrjhXNHkEF1 RGSXOaApR8IN8axOZf+/AXAbqBzo7G/fI6mNK5iLD3estBTcofBaum/ijciACk725z0+vA0aM aoQM09/d2Bw+SGdzW0JX+LFMRC2gl8Jfe1TDnj3c4NzaT7xbTEDGCXg/QZeGHGViqyLR8NSBj 6QmaeftMa28Im0dQgiiuxlu5UMyGkFXjhiLaafcVR5jnsNkLmMkquS9CmtZkj6fYB++zPxd2v 2i6F/CQjp9as+HsHReABnV8d7YepSHQYsyGjxxwy8oxx5Q3J7Q3cVwNZ1YAc4bYbZpLHT89Xk KX/14ovY/oYdpbEe8lubFsgTd4MgStTHcDbmlUhx0GQ4W+bHDgZWke6bpgaGteoCqC06x9HpH bkH7DkHrokXwzZ5FbD73sVUR0dhd/PeN1Rk621UV0BAks5w44PRXzd3XtOFGYDvcBRcOGJzDt fu9X2A7FLM+b3fGPA7byllseOtHcZzFPEQZ5xgYurwXCVLMmZe3a3H7HfLu2cmazF6PFP84V 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:209376 Archived-At: Lars Ingebrigtsen writes: > [...] > and then this new add-hook function could refuse to accept name-less > lambdas... I must say I'm skeptical: in the case of `add-hook', this would be not much different from forcing the use of symbols (aka named normal functions). Why add another name space (and the complexity this implies) - where is one too limiting? Michael.