From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Reacting to package load Date: Sat, 25 Nov 2023 15:06:55 +0200 Message-ID: <831qcec780.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20942"; 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 Sat Nov 25 14:07:36 2023 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 1r6sNj-0005Fn-AS for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 25 Nov 2023 14:07:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6sNE-0005gw-6s; Sat, 25 Nov 2023 08:07:04 -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 1r6sNC-0005go-Lp for help-gnu-emacs@gnu.org; Sat, 25 Nov 2023 08:07:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6sNC-0005ZI-D5 for help-gnu-emacs@gnu.org; Sat, 25 Nov 2023 08:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=DsrmBuZz4G2+i7C7O6Qf7J7U4rSENvP44IM0DIHFog8=; b=VEowORVNzOO1 1xeISvG4+GxztgYgNWqycZD/yNtPGEEbLCe2GCwqiM1cwLisoFhrDhK5z40BdCWnO+XSL8tpyxft3 ZZzvu1EnLrJYUSXwRQ2Gpp28YpJcsYeJWzTXRz9z06ELlowrTH4At/TyA8fJZxnou947/xHPXAXIt uisMs5mb1VoDaOrgcfwR37dTVkOOY2Aq5G4maug8d7Fu2UIHELONgLUGW9pj2KjLRGSgnYBt8w0Qa EvMqmEUy8Du8SUyBAA3viCxxgV1HUMDklogCzi+O7vYs8j2jjT3d1mOKeKxzjibVCQC34k+o/6pRq OaLAQMe7YhrGFFbN2GJTDA==; In-Reply-To: (message from Psionic K on Sat, 25 Nov 2023 21:54:47 +0900) 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:145568 Archived-At: > From: Psionic K > Date: Sat, 25 Nov 2023 21:54:47 +0900 > > I need a strategy to detect when a package is loaded so I can look for a > header (or predetermined override) to install non-elisp dependencies for > that package. > > If there's a hook or functions variable, I can't guess the name. Not sure > where I might add advice if that's the best available approach. Is eval-after-load what you had in mind?