From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Why 'define-package' marked obsolete? Date: Mon, 20 Mar 2023 16:58:11 +0000 Message-ID: <87bkkn9x7g.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: dalanicolai Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 20 17:59:52 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 1peIrP-0004Mn-CE for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Mar 2023 17:59:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peIpu-0005zW-On; Mon, 20 Mar 2023 12:58:19 -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 1peIpt-0005zE-6G for emacs-devel@gnu.org; Mon, 20 Mar 2023 12:58:17 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peIpr-0002Ma-12 for emacs-devel@gnu.org; Mon, 20 Mar 2023 12:58:16 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3482C2402E1 for ; Mon, 20 Mar 2023 17:58:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679331492; bh=BTEOIPW5izz5c3/K4mpszKpkd26cAtzsGQl1na7u4o8=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=OKCOszFZ7u26j+uDpUrtpuPK2583p921laaAnf1PugUPJBWBfLQ0h14UOue7EVrD0 74KkV6nE69smVm6z1KnIFasTzN7IP5otEnFuikGobWVhsPnra4OPvaJMTCVbJYnUlu swzdVlaUdn1X6KLpbp5ci7ZvFhmdWsb4p7wDt4u79vKfKGKmtlgPxEaiS8qDqlQ3Vt jXti3hHvZgup8eGUIMKzXKAJ0ZQyYcNETBKwRREgsRnaK22dzad7E25BRt3wVdT7Zk +C9KLWfbVj2nukYoEupvUKJSr6WwFdTMNK7Tz+EdBuUpJYFuwZ/kGL4874i9+wF8Y9 R6swDzNdYPSiA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PgLXM5YVrz9rxP; Mon, 20 Mar 2023 17:58:11 +0100 (CET) In-Reply-To: (dalanicolai@gmail.com's message of "Mon, 20 Mar 2023 17:21:04 +0100") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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:304611 Archived-At: dalanicolai writes: > HI all! > > Can I ask why 'define-package' was marked obsolete? > I can not find any information about it. I have searched the log, > where I could only find the respective commit > > . > > I have also searched the Emacs news for versions 28, 29 and 30, > but also there, I can find no information. > > Also in the comments of package.el itself I can not find any information > about it. > > Is it documented anywhere? `Define-package' is not an expression that is to be evaluated, it is just a (backwards-compatible) formatting for -pkg.el files. If you take a look at `package-process-define-package' and `package-load-descriptor', you will see that the arguments are actually passed to `package-desc-from-define' which is a `package-desc' constructor. AFAIU the changes you are interested in where made in the commit a7270fb20feaedc5dc6c4e0936714bdb167062f7. > Thanks! -- Philip Kaludercic