From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: What to use after #'define-package is now obsolete? Date: Wed, 12 Apr 2023 17:53:11 +0800 Message-ID: References: <87cz495thd.fsf@gmail.com> Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33809"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.22; emacs 30.0.50 Cc: emacs-devel@gnu.org To: Chen Zhaoyang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 12 11:55:12 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 1pmXC4-0008ar-3P for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Apr 2023 11:55:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmXBQ-0007lY-Ml; Wed, 12 Apr 2023 05:54:32 -0400 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 1pmXBN-0007km-2j for emacs-devel@gnu.org; Wed, 12 Apr 2023 05:54:29 -0400 Original-Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmXBH-0002zP-Vi for emacs-devel@gnu.org; Wed, 12 Apr 2023 05:54:27 -0400 Original-Received: from fw.net.yu.netyu.xyz ( [27.18.242.10]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 314d54e0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 12 Apr 2023 09:54:19 +0000 (UTC) In-reply-to: <87cz495thd.fsf@gmail.com> Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:305267 Archived-At: Hi, Chen Zhaoyang writes: > Dear Friends, > > It seems that #'define-package is now obsolete (or has been for a while, > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ade7a212a882540178d9504e7e0bd3be3bf1fd41): > > (defun define-package ( _name-string _version-string > &optional _docstring _requirements > &rest _extra-properties) > "[...]" > (declare (obsolete nil "29.1") (indent defun)) > (error "Don't call me!")) > > Does that mean from now on we just use the constructor > #'package-desc-create in `foobar-pkg.el' files? Please find some discussion on this topic in this thread: https://lists.gnu.org/archive/html/emacs-devel/2023-03/msg00735.html. -- Best, RY