From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Gildea Newsgroups: gmane.emacs.devel Subject: Re: a property "definition-type" would help find macro-defined tests Date: Tue, 07 Jan 2025 14:13:38 -0800 Message-ID: <234754.1736288018@pental.sg.gildea.net> References: <353457.1734800027@pental.sg.gildea.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39555"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 07 23:14:47 2025 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 1tVHqW-000A6D-Dm for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jan 2025 23:14:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVHpg-0004a3-56; Tue, 07 Jan 2025 17:13:52 -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 1tVHpe-0004Zb-DX for emacs-devel@gnu.org; Tue, 07 Jan 2025 17:13:50 -0500 Original-Received: from tigger.sg.gildea.net ([99.65.78.170] helo=tigger3.gildea.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVHpc-0000tW-LR for emacs-devel@gnu.org; Tue, 07 Jan 2025 17:13:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gildea.com; i=@gildea.com; q=dns/txt; s=2023b; t=1736288018; h=from : to : subject : in-reply-to : mime-version : content-type : content-id : date : message-id : from; bh=00PwPNJw8iNd8u6X78AGwDtzX2LECs5RlyIjOnbaZaA=; b=e7E3Q642FQfAtSFQg4niy/AbioAGYixL+KBOt8oiUjRCGy7RZJSJaUhQLpEvedOg4oeM5 Rms2YUwkaT9LHFNI+96LaeD0momA7T+2RLLlEL+Rp2Y+0lCHPWsYfOQ3pmDMC50jDmr3Bcf 6IAYD1eVJMWEWA46qjJIW15u5fkLucu+8y6PkYjIxbmMlTwyJmKvaF1Iu8wEcOgs63UVGQ0 dZPSQlFdKoVAegXPqKki2gk3I89G4N94XkhrH/ncqeNaKsEwJagCh6z7NzR65lqKGvWZtId 7GBM9Wbul3P/ZUcXYK36Pzm6MmnmL1pvycp/igUM2l37TghvNb36K3qXW1+g== Original-Received: from pental.sg.gildea.net (pental.wg.gildea.net [192.168.113.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "pental-mail", Issuer "gildea.net Mail Root CA" (verified OK)) by tigger3.gildea.net (Postfix) with ESMTPS id 964EE3E069D for ; Tue, 7 Jan 2025 14:13:38 -0800 (PST) Original-Received: from pental.sg.gildea.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by pental.sg.gildea.net (Postfix) with ESMTPS id 70AC22BCF18 for ; Tue, 7 Jan 2025 14:13:38 -0800 (PST) In-Reply-To: Message from stepheng+emacs@gildea.com of 21 Dec 2024 08:53:47 -0800 <353457.1734800027@pental.sg.gildea.net> X-Mailer: MH-E 8.6+git; nmh 1.8+dev; Emacs 31.0.50 Content-ID: <234750.1736288018.1@pental.sg.gildea.net> Received-SPF: pass client-ip=99.65.78.170; envelope-from=stepheng+emacs@gildea.com; helo=tigger3.gildea.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:327775 Archived-At: In the two weeks since posting the proposal for a new property "definition-type" (find-function-search-for-symbol would use it instead of the passed-in type to find a definition), I have received only one response, an enthusiastic "yes, please!" So unless I hear any objections now, I will go ahead and add this feature. In addition to the small code and doc-string changes to find-function-search-for-symbol, I will expand the Emacs Lisp manual's documentation of definition-name in node "Standard Properties" to include definition-type. I will also mention definition-type, with cross reference, in "defining functions dynamically" and, in the ERT manual, in "How to Write Tests". < Stephen