all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: chad <yandros@gmail.com>
Cc: EMACS development team <emacs-devel@gnu.org>
Subject: Re: Adding use-package to ELPA
Date: Mon, 07 Mar 2022 00:02:28 +0000	[thread overview]
Message-ID: <87zgm2bpez.fsf@posteo.net> (raw)
In-Reply-To: <m2mti2llyy.fsf@newartisans.com> (John Wiegley's message of "Sun,  06 Mar 2022 15:06:45 -0800")

"John Wiegley" <johnw@gnu.org> writes:

>>>>>> "PK" == Philip Kaludercic <philipk@posteo.net> writes:
>
> PK> The less concrete reason is tied to me being the maintainer of a
> PK> alternative package (setup on ELPA), that takes a different approach to
> PK> the issue of a configuration macro. As you can imagine, I prefer it over
> PK> `use-package', that I see as having inconsistencies and idiosyncrasies,
> PK> that should be addressed if it were added to the core.
>
> My only desire is the least inertia for users. Personally, I'd prefer it if
> setup, leaf and use-package were all in core, and let the user decide which
> one they wish to require at startup time. These types of packages are a bit
> special, because -- since they configure everything else -- it's best if they
> need the least configuration to become available. But I also understand that
> we tend to pick "a way" when something goes into core, and this results in
> maintainers having to make a choice of one over the other.

FWIW, as the maintainer of setup, I would strongly advise not to add it
to the core, as the package is far less mature.  I don't know enough
about leaf to say anything about the package, though it seems to be that
adding both would be superfluous, as they are relatively similar.  My
point with adding use-package to ELPA is that it already simplifies the
configuration to

    (unless (package-installed-p 'use-package)
      (package-install 'use-package))

without having to first configure MELPA.  How much of a difference this
makes is of course a different discussion.

> At the moment my only compelling evidence for use-package I find is its
> current ubiquity. Most Emacs package I come across on GitHub these days offer
> a use-package form for configuration. It would be nice if these could be
> copied and pasted into one's .emacs with an absolute minimum of extra fuss.

I agree, if any configuration macro were to be added, it would have to
be use-package, if anything just because of this point.

> But I'm not asserting that use-package is the best solution to the underlying
> problem. I am interested to know more about the idiosyncrasies you've found.
> The core of use-package has become highly user-configurable, so maybe it's a
> problem that can be changed.

I stopped using use-package ~2 years ago, so I don't remember the
details, but it could sketch up a few points that could be discussed,
and perhaps be addressed or at least acknowledged before adding the
package to the core.

-- 
	Philip Kaludercic



  reply	other threads:[~2022-03-07  0:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03 11:42 Adding use-package to ELPA Philip Kaludercic
2022-03-05  5:34 ` Richard Stallman
2022-03-05  8:15   ` Philip Kaludercic
2022-03-05 20:27     ` chad
2022-03-06 10:31       ` Philip Kaludercic
2022-03-06 23:06         ` John Wiegley
2022-03-07  0:02           ` Philip Kaludercic [this message]
2022-03-07  0:34             ` John Wiegley
2022-03-07  2:29               ` Stefan Monnier
2022-03-07  9:02                 ` Philip Kaludercic
2022-03-07 18:01                 ` Stefan Monnier
2022-03-07 18:42                   ` John Wiegley
2022-03-07 19:24                   ` Philip Kaludercic
2022-03-07 21:03                     ` Stefan Monnier
2022-03-07 23:12                       ` Philip Kaludercic
2022-03-07 23:40                         ` Stefan Monnier
2022-03-08  8:21                           ` Philip Kaludercic
2022-03-08 14:22                             ` Stefan Monnier
2022-03-06  5:16     ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2022-03-03 11:41 Philip Kaludercic
2022-03-03 14:49 ` Stefan Monnier
2022-03-04  5:57   ` John Wiegley

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

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

  git send-email \
    --in-reply-to=87zgm2bpez.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=emacs-devel@gnu.org \
    --cc=yandros@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.