From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: documentation incorrect for function `define-package'? Date: Sat, 25 Sep 2021 11:51:01 -0700 Message-ID: References: <87bl4iukia.fsf@gmail.com> <87pmswr0a5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14593"; mail-complaints-to="usenet@ciao.gmane.io" To: Michelangelo Rodriguez , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 25 20:52:26 2021 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 1mUCmg-0003eK-8m for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Sep 2021 20:52:26 +0200 Original-Received: from localhost ([::1]:59812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUCme-0002e9-Af for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Sep 2021 14:52:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUClN-0001l5-VI for emacs-devel@gnu.org; Sat, 25 Sep 2021 14:51:05 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:34327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUClL-0006Mc-No for emacs-devel@gnu.org; Sat, 25 Sep 2021 14:51:05 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id a7so8842361plm.1 for ; Sat, 25 Sep 2021 11:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=gTKGEydoYmCpPc58NQhyNaLvJ1iHCNVbCrZ4c4hZdJw=; b=CxsyhTCglt3HvIzVFUchVITA2GTu2uppnuP4WUpgr+O6gXd13Hdx3rVno/xgq4D4kt UcsjpC5wnCpj53/83ZdqwMBgzhDoAmWeOclNqGbHfLgDp5gY8MFA19YblVzIgJsp0h5S 5sqVBQXCS+nF5UW7Ca3+FVl4Bju0Mf3slsWb/0gK6UfZdjkGwFlfVH+n1aTBHXr28LpZ M7HfqXxouDz2ugmptxqpfCegvwDSzYBKcYUW03JXvcDOrfBY8PzJ7nZjy369nVHZtxHA g/47UwQTiO7ZDecbvZ9KGWWA2RZe2H7pB4tGokSWAe66zB+ffMMCgnbQ4N2TGjzVe9U5 kXJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=gTKGEydoYmCpPc58NQhyNaLvJ1iHCNVbCrZ4c4hZdJw=; b=GOJQ8xgta6p7xrP4UcCvfMc9+0j8CK95AMWG3DjlRPoL5dOgyA8X2zcTVRsd76i0Il gMecAlCMgvJrM7Pu30KZ4yPAKnPfX4PTPQChP+Xuzotz1fX5UCs1KPDfBkN1pJIHlERy Nmp/5f5woakhgdUedMoNeTBDqJOtYZ0I0BNyeEq5a5jNeJEgGF9oDuOC/4/c1cNK8g5Y CSSs5joP97IUxVB000c9SMaW3YkanBhlkihlOjH6twsM8ldllA/0sGtBX4AiJW8xGGTy blXDeDOJDlkS4JSOjUM68Qyen0JWA3CDAazFi8B3LhZqDAkFRo4Q7lUAuRn7B3Rz5RQh regA== X-Gm-Message-State: AOAM531NxT5kJ92LUk1TSAQCe6vWe0oBHLxMzE0jpSPjSLr448da1cei 9jvdz8SDSTEPd37HS7oKTNj6qMsH/XSKya5EjrY= X-Google-Smtp-Source: ABdhPJxfUc0iyXsbi0aI09OOKRKl0R8Bhsa70HMnySipCKh/VHatmLDC+O+IxVNB/uQjAjYFietpSc3+WNSXmjP+L1U= X-Received: by 2002:a17:90a:460a:: with SMTP id w10mr9602796pjg.132.1632595861815; Sat, 25 Sep 2021 11:51:01 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 25 Sep 2021 11:51:01 -0700 In-Reply-To: <87pmswr0a5.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=stefankangas@gmail.com; helo=mail-pl1-x62c.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:275475 Archived-At: Michelangelo Rodriguez writes: > So, in my actual understanding of how the package system works, actually > -pkg.el is generated by an authomation when that package is > installed from elpa or another archive? It is generated by whatever software creates the package archive. GNU ELPA and MELPA are two notable examples. > I think that because i try to install a local package in which i'm > working and if i try to install it by using `package-install-file' and i > don't specify various keywords to `define-package' then > `describe-package' does'nt report correctly some information. > so, which is the "correct way " to test the package? In general, you shouldn't need to create this file yourself. It will be created for you by e.g. GNU ELPA. What you do need to do is ensure that your package headers are correct. The usual work-flow here, I think, is to add your package to a package archive, see what kind of metadata it comes up with and address any problems you see.