[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] New package: calibre.el
From: |
Philip Kaludercic |
Subject: |
Re: [ELPA] New package: calibre.el |
Date: |
Thu, 20 Apr 2023 18:26:42 +0000 |
Kjartan Óli Águstsson <kjartanoli@outlook.com> writes:
>>> This is my first attempt at writing an Emacs package, so I expect to
>>> have gotten many things wrong. As such I would welcome reviews from
>>> people who know more about Elisp packaging.
>>
>> The first thing to note is that you don't need a -pkg.el file. ELPA
>> will generate one for you using the metadata in the main file and
>> overwrite whatever you have written.
>
> Another good to know. I remember reading that somewhere, but then I
> looked at some other packages that seemed to maintain a -pkg.el file.
It is a common mistake or a MELPA-ism I don't know about ^^.
> As for the usage of eieio, is there a reason not to use it?
If you just need a structure then cl-defstruct should be a less-heavy
solution.