From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#68370: 30.0.50; pcase eieio, map, seq, and cl-struct constructs are not described in the manual Date: Fri, 12 Jan 2024 22:54:28 -0500 Message-ID: References: <87zfxdpd99.fsf@localhost> <87h6jkjayn.fsf@localhost> <87sf32pvkh.fsf@localhost> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68370@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 13 04:55:14 2024 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 1rOV73-0005je-PQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jan 2024 04:55:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOV6x-0003gc-Ih; Fri, 12 Jan 2024 22:55:07 -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 1rOV6v-0003g2-TC for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 22:55:05 -0500 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 1rOV6u-0007Nw-OA for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 22:55:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOV6s-000560-I0 for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 22:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jan 2024 03:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68370 X-GNU-PR-Package: emacs Original-Received: via spool by 68370-submit@debbugs.gnu.org id=B68370.170511807619534 (code B ref 68370); Sat, 13 Jan 2024 03:55:02 +0000 Original-Received: (at 68370) by debbugs.gnu.org; 13 Jan 2024 03:54:36 +0000 Original-Received: from localhost ([127.0.0.1]:38095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOV6R-00054z-Sg for submit@debbugs.gnu.org; Fri, 12 Jan 2024 22:54:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOV6Q-00054m-6x for 68370@debbugs.gnu.org; Fri, 12 Jan 2024 22:54:35 -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 1rOV6M-000716-Iu; Fri, 12 Jan 2024 22:54:30 -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=qqzYzWBU9RcUTmpCZ6cntd0nA7yMRdVklfDdSqrkjHk=; b=ALaaQImdmjYy LyAQ75YPI1T5QHqWi/IDoMJGMJg5eqfmy9wgdndeCBvbs2DE9BpvDs9hSg+eiuVli9uXn+WC1FV/y kkHEDFdpWBeUOTTNzyg8/ySNqocy9i7xHmVbnntz+35idf7/2W4oOy/Y097ci4VqP3I43g+BnWhFk 4t83AwjoyW+RsjVLLQ9bM9IQ6i8fXY4lTCexBgCoJm7uuqcOHoW/TUsWkeXWOWaxsux06SLjBOG8Y 24MxP4ILNbU3zQZ27V7Fi6lgNfpj8CnM48cP3vQkgrJjKap0sb5dc8I/oNXhWz4Gj0+yTtM5ALLqW s1PdUp/9HyarMVBSOq6pow==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rOV6K-0004y4-0P; Fri, 12 Jan 2024 22:54:28 -0500 In-Reply-To: <87sf32pvkh.fsf@localhost> (message from Ihor Radchenko on Fri, 12 Jan 2024 12:47:42 +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:278081 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > 1. eieio is more or less clear - it is a separate manual I don't think anything but eieio and its documentation needs to describe how to use eieio. I won't try to implement anything about eieio in cond*. If there is a general need for such a construct in cond*, it can be added later. > 2. seq.el is documented in 6.1 section, which may be a problem - the > very concept of pattern matching is only introduced in 11.4.1 (pcase) > section. So, it might be confusing for the readers to see information > about pattern matching so early in the manual. Can someone please describe for me the construct used in pcase for matching sequences -- tell me how to use it and what it does? Then I could implement that facility in cond*. > 4. 11.4.1 The ‘pcase’ macro section already documents ‘(cl-type TYPE)’, > but not (cl-struct TYPE &rest FIELDS). It will be awkward to document > cl-struct pattern in CL manual, while leaving cl-type in the 11.4.1 > section of the Elisp manual. I would like to implement matching of cl-structs in cond*. But I have never used cl-structs and I don't know how they are used. Can someone tell me about the constructs for constructing a structure of a specified type with specified field values? Please tell me how to use it and what it does. Then I could implement that for cond*. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)