unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: define-package, use-package and recipe: which ones?
Date: Sat, 30 Nov 2024 14:14:43 -0500	[thread overview]
Message-ID: <jwv34j8ilj2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: CAKmY7cUsQ7vWoKnSEpSJVGhMG6H=hoaiQ-m_ePvPoN94RjdaDA@mail.gmail.com

> I am (almost) ready to post a couple of packages to elpa/melpa, but I am by
> now confused about what to put in the top level folder.

The main ELisp file of your package, using the recommended format for
ELisp files, and in which you make sure to include a `Version:` header
an `Author:` header (or `Maintainer:`), as well as (if needed)
a `Package-Requires:` header.

The MELPA/(Non)GNU ELPA scripts will take care to generate the
`<PKG>-pkg.el` from that (which will contain a `package-define` form).


        Stefan


PS: `use-package` is something only loosely related.




  reply	other threads:[~2024-11-30 19:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-30  6:49 define-package, use-package and recipe: which ones? Marco Antoniotti
2024-11-30 19:14 ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-01  8:43 Marco Antoniotti
2024-12-01  9:17 ` Rudolf Schlatte
2024-12-01 14:14   ` Philip Kaludercic
2024-12-03 13:44 ` Stefan Monnier via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv34j8ilj2.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).