unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "John Wiegley" <jwiegley@gmail.com>
To: "Richard Stallman" <rms@gnu.org>,
	"Philip Kaludercic" <philipk@posteo.net>
Cc: "Eli Zaretskii" <eliz@gnu.org>,
	yandros@gmail.com, emacs-devel@gnu.org, larsi@gnus.org,
	relekarpayas@gmail.com
Subject: Re: What does use-package do?
Date: Sat, 08 Oct 2022 00:50:12 -0400	[thread overview]
Message-ID: <22a29477-d649-40e7-baac-58a76cbce816@app.fastmail.com> (raw)
In-Reply-To: <E1ogw7t-0007yb-Om@fencepost.gnu.org>

It allows the user to declaratively configure a required package. There are several “best practices” when writing startup config that will load quickly and efficiently, and use-package effectively abstracts these practices for the user.

I originally wrote it to eliminate a lot of boilerplate and duplication in my own high efficiency unit.el file (with hundreds of packages configured, but less than one second Emacs load time).

John

On Fri, Oct 7, 2022, at 6:47 PM, Richard Stallman wrote:
> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> Can someone send me a self-contained description of the job
> use-package does, from a user's perspective?
>
> I'm not asking about how it does that job, or how it works.
>
> -- 
> Dr Richard Stallman (https://stallman.org)
> Chief GNUisance of the GNU Project (https://gnu.org)
> Founder, Free Software Foundation (https://fsf.org)
> Internet Hall-of-Famer (https://internethalloffame.org)



  reply	other threads:[~2022-10-08  4:50 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-24 12:56 Progress on merging use-package? Payas Relekar
2022-09-24 14:08 ` Philip Kaludercic
2022-09-24 14:22   ` Payas Relekar
2022-09-24 14:35     ` Philip Kaludercic
2022-09-24 14:36       ` Payas Relekar
2022-09-24 15:51         ` Philip Kaludercic
2022-09-24 20:24         ` John Wiegley
2022-09-25  2:34           ` Payas Relekar
2022-09-25  2:45             ` Payas Relekar
2022-09-25  8:09               ` Philip Kaludercic
2022-09-25  8:39             ` Philip Kaludercic
2022-09-28 22:57               ` chad
2022-09-29  8:20                 ` Eli Zaretskii
2022-09-29  8:36                   ` Philip Kaludercic
2022-10-07 22:47                     ` What does use-package do? Richard Stallman
2022-10-08  4:50                       ` John Wiegley [this message]
2022-09-24 15:42   ` Progress on merging use-package? Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2022-10-08  4:38 What does use-package do? Payas Relekar
2022-10-08  6:55 ` Eli Zaretskii
2022-10-08 22:34   ` Richard Stallman
2022-10-08 12:46 ` Akib Azmain Turja
2022-10-08 23:49   ` Stefan Kangas
2022-10-09 12:44     ` Philip Kaludercic
2022-10-09 20:16       ` Stefan Kangas
2022-10-11  4:46         ` Naoya Yamashita
2022-10-11  5:13           ` John Wiegley
2022-10-11  6:15             ` Emanuel Berg
2022-10-11  6:45           ` Stefan Kangas
2022-10-11  9:17           ` Philip Kaludercic
2022-10-11 15:21             ` 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

  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=22a29477-d649-40e7-baac-58a76cbce816@app.fastmail.com \
    --to=jwiegley@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=philipk@posteo.net \
    --cc=relekarpayas@gmail.com \
    --cc=rms@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 public inbox

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

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).