From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: a property "definition-type" would help find macro-defined tests Date: Wed, 08 Jan 2025 14:31:36 +0200 Message-ID: <86bjwh4hcn.fsf@gnu.org> References: <234754.1736288018@pental.sg.gildea.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11080"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stephen Gildea Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 08 13:33:45 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 1tVVFp-0002h5-Lp for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2025 13:33:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVVEf-0006YF-Be; Wed, 08 Jan 2025 07:32:34 -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 1tVVET-0006RA-Ii for emacs-devel@gnu.org; Wed, 08 Jan 2025 07:32:23 -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 1tVVER-0007M4-EH; Wed, 08 Jan 2025 07:32:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/e5WqIhahMtjPWu54EWcfepTcN3YkIkU0y6u743cvcw=; b=ZlBRKa/QoM4a 8TnWVu1BjDzyEoIGL4bDQ1QZ7hNy7C3B/ASn23jGyWkqIk3dVl9jekdoRzUptbAUb9Lp7y/retcH4 aupOME8vpWiSR1YXc65+o3vM0g8fANUeuf+33RnhmEGeaHW+itb9K0cjGrS8J/AbAojTdnrOXtIbM hwWz1XFGhWCqGn2VnQGw4szUuZ0LbE4HL3do3UNuCpvgPypqWUmIMBpKYiu4baDXicBanCffUo9ZQ ricsqSdmOyo6pZfF9HJll0D6pj7emDPZPUCVVbwOye4NvxEQ+N6aJMfedA5pbRupJlU6IyBz+Lccs mApY0DLWcq517LCyjAUl1Q==; In-Reply-To: <234754.1736288018@pental.sg.gildea.net> (message from Stephen Gildea on Tue, 07 Jan 2025 14:13:38 -0800) 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:327788 Archived-At: > From: Stephen Gildea > Date: Tue, 07 Jan 2025 14:13:38 -0800 > > 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". Please post the full patch before you install it. Your original message only shows a very small part of the tip of this particular iceberg, which makes it hard to provide useful feedback. Thanks.