[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-package, use-package and recipe: which ones?
From: |
Stefan Monnier |
Subject: |
Re: define-package, use-package and recipe: which ones? |
Date: |
Tue, 03 Dec 2024 08:44:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Marco Antoniotti [2024-12-01 09:43:02] wrote:
> So. I do not need to do anything (except remove my -pkg.el file from the
> repo).
That's right, assuming you already have an `Author:` (or `Maintainer:`)
with a valid email address, and you maintain a `Version:` header
as well.
> 1. where should I put the 'recipe' file?
What recipe file? If you're referring to the data used to tell where to
find your repository, that's something maintained on the side of the
ELPA archive (e.g. Melpa or (Non)GNU ELPA) and each archive does
it differently.
> 2. what is `use-package` used for then?
It's an alternative style to write Emacs init files.
> 3. One of the two packages I want to submit builds an emacs module; any
> suggestions about how to package it?
I'd suggest you look at [libpq](http://elpa.gnu.org/packages/pq.html),
which is a package with similar needs (and with virtually zero ELisp
code of its own). It all starts in the `pq.el` file which doesn't do
much more than arrange to compile the module.
Stefan