From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michelangelo Rodriguez Newsgroups: gmane.emacs.devel Subject: Re: documentation incorrect for function `define-package'? Date: Sat, 25 Sep 2021 23:48:22 +0200 Message-ID: <874ka85ntl.fsf@gmail.com> References: <87bl4iukia.fsf@gmail.com> <87pmswr0a5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14794"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 25 23:49:11 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 1mUFXj-0003ih-F0 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Sep 2021 23:49:11 +0200 Original-Received: from localhost ([::1]:59596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUFXh-0003d0-LB for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Sep 2021 17:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUFX1-0002Sl-Qt for emacs-devel@gnu.org; Sat, 25 Sep 2021 17:48:27 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:36783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUFX0-0004aB-Aq for emacs-devel@gnu.org; Sat, 25 Sep 2021 17:48:27 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id g16so38666454wrb.3 for ; Sat, 25 Sep 2021 14:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=RtVyzzjGEmNubtkjckCaKkl2V+2lESvl3DgsHV4K6mM=; b=dQftp04+rto0HyAtr5fc07OtW7m/CHGdzUHURhPjMNyFxZ/BJXiiPQBRp37o2XgwNL ACeVMaW2mlQpzSIQS9I3wLRaFNxoVr6CJprVzm8MIzzohEAARpL2AMAAKJsPab7t3/Fg b5GKeiMdhe4YHwOywm4LUlY4EYJJfEjNJ7vj5XPEB052vM+y3XhCl4Dfp5PZYdq7bO9H 1KO3dO9SIzzPnrWm46uE29oja98thYK0DG35Q3ACEcMYDpPtltNPU4Lh33dBCOHchYiU MMOJaZiE/y+s59uz0j+wmQ4b0C2XQfKtNJC/jq2HQRkqrsuWvKJCYGLPH+ls6zO8A3cC LF1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=RtVyzzjGEmNubtkjckCaKkl2V+2lESvl3DgsHV4K6mM=; b=ljDNk0cykIKubhMEn3tLEmRhgRcW+oYUlY8Up5fxQ+HlS2UpVkUW2esC1M6U07Vxab 7AaYFL4AaE8qljO+MhlKut1NLTOrnTGgFDHvspgOuLhpnedwc1kOUq4WVOSt5wRsv2WI nH3OK8wa7yN5svroMeblNdIeEWohUaj3ceV4cgjA/6k5WbXErpvDdq9D0B1R26ojuTqD MjWtrGhSZmKhCr6squSSZcwAbIP9WmX2VEZhxQj+rbbCVidE4sRowzm8hGaL5h/0nCs4 UarIry4K/c4KveJ9gGHdHEEMnJlya8fWX49TxK0g7N7odOUrEd6PBPlZVBHM8JuhFRqz 3DqQ== X-Gm-Message-State: AOAM532EHbDfqewE0UjlUGl7nZuUdrNuOnPJOMZpLt5ZGy/ZGxG57P4M uiD6W/YIYgBU4Q+sOJ9dQZYQW1cD1q0= X-Google-Smtp-Source: ABdhPJwHVHZU0k+Yqouc8K8uA8RNY/6l8jMrMac5bGAGjUCTLVncPJOKQLc97EZ4we4nlYa/x1Ibgw== X-Received: by 2002:a5d:4ed2:: with SMTP id s18mr18647784wrv.41.1632606504055; Sat, 25 Sep 2021 14:48:24 -0700 (PDT) Original-Received: from mugno (net-2-42-133-113.cust.vodafonedsl.it. [2.42.133.113]) by smtp.gmail.com with ESMTPSA id o26sm16259646wmc.17.2021.09.25.14.48.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Sep 2021 14:48:23 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Sat, 25 Sep 2021 11:51:01 -0700") Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=michelangelo.rodriguez@gmail.com; helo=mail-wr1-x42a.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:275485 Archived-At: Thank you Stefan for your help. Stefan Kangas writes: > 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.