all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sbaugh@catern.com
To: help-gnu-emacs@gnu.org
Subject: Using package.el from site-start
Date: Sun, 04 Feb 2024 19:48:06 +0000 (UTC)	[thread overview]
Message-ID: <87bk8w6mjf.fsf@catern.com> (raw)


Hi,

I maintain an Emacs installation used by many people at my employer.  I
have site-specific customizations in site-start.el, stored in site-lisp.

I would like to be able to use packages installed into site-lisp/elpa
(which is added to package-directory-list) in my site-start.el.  But I'm
not sure how in site-start.el I can activate the packages installed into
site-lisp/elpa without interfering with later customization by users
which might, e.g., change package-user-dir.  If I call
(package-initialize) in site-start.el, that will activate the
site-lisp/elpa packages, but it will prevent users from using
early-init.el to customize the package system.

Also, if possible, I would like to use the package-quickstart-file
functionality to speed up activating the packages in site-lisp/elpa.

Any suggestions on how I should approach this?



             reply	other threads:[~2024-02-04 19:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04 19:48 sbaugh [this message]
2024-02-05 19:27 ` Using package.el from site-start Björn Bidar
2024-02-05 20:22   ` Spencer Baugh
2024-02-07 19:48     ` Björn Bidar
     [not found]     ` <87o7csm4y1.fsf@>
2024-02-24 15:13       ` Spencer Baugh
2024-02-24 17:04 ` Stefan Monnier via Users list for the GNU Emacs text editor

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=87bk8w6mjf.fsf@catern.com \
    --to=sbaugh@catern.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.