From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Tue, 21 Nov 2023 13:11:05 +0200 Message-ID: References: <87fs169mjj.fsf@posteo.net> <093f11a1-57c2-5e56-d39b-26fef1c67cbb@gutov.dev> <25942.25061.217864.329049@retriever.mtv.corp.google.com> <87zfzdcz6z.fsf@posteo.net> <763f067b-4ca9-1eba-9f3c-424c38589e9c@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17503"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: philipk@posteo.net, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 21 12:12:11 2023 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 1r5Ofr-0004Oq-3W for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Nov 2023 12:12:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5Of4-0006Aj-1M; Tue, 21 Nov 2023 06:11:22 -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 1r5Oey-000683-3T for emacs-devel@gnu.org; Tue, 21 Nov 2023 06:11:17 -0500 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5Oew-0001Hl-BT; Tue, 21 Nov 2023 06:11:15 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1B0283200C9D; Tue, 21 Nov 2023 06:11:09 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 21 Nov 2023 06:11:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1700565068; x=1700651468; bh=TCcnMtOUXjM0v1YNGe47aRZ1wD8q+7b2EB2 QD0TV6G0=; b=RPDU3+6EHoIyTiEgditmRct98RFY8zi9KzpCwxyE0TcdqgZiTGW aEysLCNuXSvii+eg6fj/muZzeJ9Wr9NS3AcWjDY+jv21yXisRYDTeYWhfkYGpkEa jQkdjQMIKKv4SpjQMHhnWtgl6+6frdZGQrQXojdi6A39l6M59FxvmRwZGTQrGvgZ MO6oXJ2l1Na99Cf6AFhL907n87aDkQaqypupgKMumFlx5dD/Y45VyGPTMg9GVBh3 i5N7ALdGFe2+MzZDN8T3V6+Ez+gvqHXhO0wbZQK3A2FLg6xvCWZ2dL9jI4vvcc0Z DvrYDCDum6TuE7WjG4ct/8qAFG48ctYnbLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700565068; x=1700651468; bh=TCcnMtOUXjM0v1YNGe47aRZ1wD8q+7b2EB2 QD0TV6G0=; b=tZgsavabVBd2f/kQ1mOHgY693kzUijqiCtsXcnDlKRTO71Ci78q dtS6TSG0ae1qBnDjlnzMIiS6CcijtRethjovvbUXwRaF/JudIQEDDQb5gV46ZKPA kZQ1jz648em4jt3/58s2sTnKlDGnuHN8OAEYLNgrWO0zfB/V5q34aG475M07Hj89 k268BsIwlfgGJq6nxJPWy0oqwoyD/6n3zyjNGVI/wU8YtgaqnUABS1kSK+K1otat vcylRhmv2eLAKX3WRmwI0SfgvmVGFhLM9a64FWuBpMQoUhJH3FN7gNen3nOupPeq tOtnHa+VKeySK0FxMciju2OEc0vGLnckrxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesth ejredttdefjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehg uhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpeeigfetveehveevffehledtueekie eikeeufeegudfgfeeghfdulefgfeevledvveenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Nov 2023 06:11:07 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.25; envelope-from=dmitry@gutov.dev; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -67 X-Spam_score: -6.8 X-Spam_bar: ------ X-Spam_report: (-6.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-4.009, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:313103 Archived-At: On 21/11/2023 04:42, Richard Stallman wrote: > I uderstand that when you say it, but when I saw the line > >> > (`(,hookfun . (,start ,end ,collection . ,plist)) > I was not sure which part of the line that rule applies to. > > In particular, what is the reason for the period and inner > parenthsses? Why doesn't the code say this? > >> > (`(,hookfun ,start ,end ,collection . ,plist) > Would that be equiva;ent? These are indeed equivalent. The particular shape is chosen to follow how the data matched against was constructed in completion--capf-wrapper: (cons fun res). So it was for the ease of comprehension, actually.