help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using use-package


From: Stefan Monnier
Subject: Re: using use-package
Date: Thu, 13 Aug 2015 11:24:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>>> Stefan is saying that many packages do things _wrong_.
>> Actually, no.  What I was saying is that several use-package features
>> are only useful if a package is poorly packaged.
> Yes, or not packaged at all, or in development to be packaged in the
> future or where the developer of a package which is well-packaged wants
> to provide an option configuration for development time on his machine.
> And this is some features, not but all of them.

The core part of "Packaging" in the elpa.git world basically means:
- Start the package's main file with ";;; <name> --- <description>"
- Sprinkle a few ";;;###autoload"s.
- Add a "Package-Requires:" (when needed).

This is very straightforward and can be done from the very beginning
of development.

After that, something needs to create the *-pkg.el and *-autoloads.el
files, but we know how to do it mechanically ("make" in elpa.git takes
care of it, for example).

So what's missing here I think is just some extra support to
transparently do this "make" step (probably not with "make", of course)
for those packages not installed via package.el.

> In the case of this form, can you tell me how the package is poorly
> packaged, or how this is overlapping with ELPA?

I said "partly overlaps".  So it doesn't all overlap (and in those parts
that don't overlap, the correct/incorrect packaging is not relevant).

> (use-package org-mode)
> is useful since it gives performance data on start up that

If I didn't consider use-package useful/interesting I wouldn't
participate in this discussion.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]