From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: cond* vs pcase Date: Thu, 08 Feb 2024 12:01:15 -0500 Message-ID: References: <822c332c-1a85-4454-8978-0b1491981058@alphapapa.net> <874jek5r0o.fsf@yahoo.com> <87eddn4t4g.fsf@yahoo.com> <868r3vxwqy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, arthur.miller@live.com, drew.adams@oracle.com, adam@alphapapa.net, emacs-devel@gnu.org, philipk@posteo.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 08 18:02:45 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rY7nR-0001yv-EP for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Feb 2024 18:02:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY7mC-0004hx-Qr; Thu, 08 Feb 2024 12:01:28 -0500 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 1rY7m4-0004bg-OF for emacs-devel@gnu.org; Thu, 08 Feb 2024 12:01:21 -0500 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 1rY7m3-0002Lx-9m; Thu, 08 Feb 2024 12:01:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=5bT0pWJu1s8N7YN4J4DAAZjDrV6pNbBY3dZMu5Qy/ak=; b=B2rerH86zC3J ud+u4EZo/znlcceGGV0osGVnB6Os7j3/XBgGmRs6PbFZ4LUB1wdVgQIGsFB4wrj8udDqFBRn6EeJC dh+1XAWD7rvDS0HpFhksnI+ZhEXoUScBD3FRGRkI2RnzOYyx8ioqh/1+iDb7rdoB37rpjhWMLCo3I iZGptW1Re2xPifQQTsaZvMXoqM0GURy1DUwJ0wUxYBXH3PDpGs2UEUQ8XwtImn7MyzB2Am2vcKQUS tJu+nmsQVPhOqJ4or+/QsfBmyICbdbfuVSe2w4igTgtJ3cCMBd4Ki1Tf4cxKuxa38FjCVBbIBffOc XtTYJvXkHt5Kg1UnLp8OLQ==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rY7lz-0000gW-CS; Thu, 08 Feb 2024 12:01:15 -0500 In-Reply-To: <868r3vxwqy.fsf@gnu.org> (message from Eli Zaretskii on Thu, 08 Feb 2024 09:04:21 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316044 Archived-At: > From: Po Lu > Cc: Arthur Miller , drew.adams@oracle.com, > adam@alphapapa.net, emacs-devel@gnu.org, philipk@posteo.net > Date: Thu, 08 Feb 2024 09:55:27 +0800 > > "Alfred M. Szmidt" writes: > > > That would be really nice (and maybe ecase, ccase as someone else > > noted). > > So provided that no serious objections emerge within the next couple of > days, I will install a change to this effect. Thanks. Please don't. We don't have any real reason for doing this at this time. The fact that the idea was popped up in a not-entirely-related discussion is not a good reason for adding stuff to Emacs. The number of callers of cl-case in our tree is not high enough to justify this. The only reason for that is because cl-FOO has been activley discouraged to be used, and active efforts to reduce cl-FOO usage was done when the 'cl package became deprecated. There are quite a bit of places where cl-case/case could have been used, and pcase is used instead for no additional benefit. Just because nothing uses it, doesn't mean that is a good argument to not add it either.