From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.help Subject: Using package.el from site-start Date: Sun, 04 Feb 2024 19:48:06 +0000 (UTC) Message-ID: <87bk8w6mjf.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25174"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 04 20:48:45 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rWiTs-0006P9-PM for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Feb 2024 20:48:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWiTM-0001gk-ME; Sun, 04 Feb 2024 14:48:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWiTJ-0001gX-Sf for help-gnu-emacs@gnu.org; Sun, 04 Feb 2024 14:48:10 -0500 Original-Received: from s.wrqvtbkv.outbound-mail.sendgrid.net ([149.72.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWiTI-0002IE-Dw for help-gnu-emacs@gnu.org; Sun, 04 Feb 2024 14:48:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:mime-version:to:content-type:content-transfer-encoding: cc:content-type:from:subject:to; s=s1; bh=mnMYsMRi8rMTX4JNKO0X0o+F2AFNVRYjLDcvjmSsgqw=; b=KiPimFd0+8XSN9uU59MxL9oX3D45LYwLrpHhbPSQs/4mF70nIBTuQCh9SYDHcahOPxqp IQqb8I60laIKTcTXNPcwCNvnTCbUsBSsWN0t2OhGq82hxhh2lCyBLDR2nXxVquYB1nN2Mh w19FKGSodXZTrj3gfQRilEF6Sanlsg10vbJ80oAuxDSQJ03R6glAt6fHIqLUgOWXFq+Ut4 tkWusFSQ2MqaW/FobupO7wgrnPUM+BdGvvfSdENoH6lTzwtMlix8+gzF43t0z5cW6MgAKW ACC2371zIhTJ7JOzWjJhRAcBJcK9IhUMwySlqC1a5v/2aWU5K5wA6HN8l6CXt6UA== Original-Received: by filterdrecv-656b5b4c75-nx6ft with SMTP id filterdrecv-656b5b4c75-nx6ft-1-65BFE9F6-A 2024-02-04 19:48:06.295048043 +0000 UTC m=+883846.396718968 Original-Received: from earth.catern.com (unknown) by geopod-ismtpd-23 (SG) with ESMTP id ka_KiQAqQty0NOvQhX-hEw for ; Sun, 04 Feb 2024 19:48:06.222 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.101.51.129; helo=localhost; envelope-from=sbaugh@catern.com; receiver=gnu.org Original-Received: from localhost (unknown [74.101.51.129]) by earth.catern.com (Postfix) with ESMTPSA id BB231640A3 for ; Sun, 4 Feb 2024 19:45:40 +0000 (UTC) X-SG-EID: =?us-ascii?Q?ZgbRq7gjGrt0q=2FPjvxk7wM0yQFRdOkTJAtEbkjCkHbL4nweaUeo8EcKuCzwd3N?= =?us-ascii?Q?Pt17kLXYddejpxRt=2FpXlIYNO4A7O4v4Te+6Jdj=2F?= =?us-ascii?Q?9Qw2DZX+KMAA+hoH00N8LM3BC+8mAJ0RXas2EGH?= =?us-ascii?Q?dxaNT8I+JUzRzIg4SP1+J92+3IAiDwRavbucluK?= =?us-ascii?Q?1PNRLMaStPpdtTZqg4xV9FV=2FTs0ycjp=2FFRw=3D=3D?= X-Entity-ID: d/0VcHixlS0t7iB1YKCv4Q== Received-SPF: pass client-ip=149.72.123.24; envelope-from=bounces+21787432-cf9a-help-gnu-emacs=gnu.org@em8926.catern.com; helo=s.wrqvtbkv.outbound-mail.sendgrid.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_BL_SPAMCOP_NET=1.347, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145879 Archived-At: 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?