From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "John Haman" Newsgroups: gmane.emacs.help Subject: Load all deferred packages (use-package) Date: Thu, 26 Sep 2024 12:41:51 -0400 Message-ID: <0173856c-af94-4c1d-a3cf-d2d2e12a599e@app.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3715"; 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 Thu Sep 26 18:42:57 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 1strZx-0000qI-7Y for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Sep 2024 18:42:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1strZP-0005pN-Ls; Thu, 26 Sep 2024 12:42:23 -0400 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 1strZL-0005oo-Du for help-gnu-emacs@gnu.org; Thu, 26 Sep 2024 12:42:19 -0400 Original-Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1strZI-0000OL-Oo for help-gnu-emacs@gnu.org; Thu, 26 Sep 2024 12:42:19 -0400 Original-Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id 6B6CA13800E8 for ; Thu, 26 Sep 2024 12:42:13 -0400 (EDT) Original-Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-09.internal (MEProxy); Thu, 26 Sep 2024 12:42:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnhaman.org; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1727368933; x=1727455333; bh=d1KH8cKhybl4j6EzY1sDpi/6t6PyA1rJ Wprk7Oyu3NE=; b=vXqcTyKx7cD/sTJIf00bcPkFBiUOEvX2IP8+L3y6zA2mudRC cK2Uk/Ir+w3aZAJ3kpQZWHKpOTjRn1TaxqyK+as7h+xcKIb9lGJ9c7tZXKPXyBVl Z/kCWHj9NIne/7uR97Ryx7Xn+mK9tt27+UscrS9vBg1jGUObHrD+mEoUCV1LHkNK cvwyd682sHitKOK35ggaTpujLF6JM8nWUmhBFKPabTtmOASILQlFKAiS6EgdM+BF 8XSZrSIoN2HzLG5M3ak4hR08B6ZSkxJT2MyY9M7X5YOE7NCChVLC29XJntCRCQjq jMx2CXaHZMD5f8OnCDvFgZEujz5h2UWGy9M/eA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1727368933; x=1727455333; bh=d1KH8cKhybl4j6EzY1sDpi/6t6PyA1rJWpr k7Oyu3NE=; b=Km7fILy7XTAslujClSVz5iYk5weZEFeo3FaoUGHNHVeDq3J8wsl 5YkDqzMZlk3th7wAfyfdpFMBHp2KeTFDFz88kMdjfnceD5ibY/qD3b4gSnXUWpzl r/ffkeiaYpjt1FZJTcALlztAvTzgOXqJJ79C+ZO4ItLnsmujp2BC3/5LshR5sJxh G+kHW5g8lnTB/xON89JmRqTWhjHHNwomFLq5lFEa4Q9jmCnzWJCYG1A4e+r0xc2n rO2KmBz6kQJVRrjiChdkRJYJy9iMceUqI9zkdlYUeadLiyyReNcDzm+kITF1eASQ v/L9ibXRrWgnOGACPR5j2cy/5sDYH/JotJA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddtjedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkufgtsegrtderreertddtnecuhfhrohhmpedflfhohhhnucfjrghmrghnfdcuoehm rghilhesjhhohhhnhhgrmhgrnhdrohhrgheqnecuggftrfgrthhtvghrnhepgffgveejhf ekuddvgfejieegleegkeekgeetlefggfelueeuhfelueeileevgeeunecuffhomhgrihhn pehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehmrghilhesjhhohhhnhhgrmhgrnhdrohhrghdpnhgspghrtghpthht ohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohephhgvlhhpqdhgnhhuqdgvmh grtghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: idfe144c2:Fastmail Original-Received: by mailuser.phl.internal (Postfix, from userid 501) id 2A108B00067; Thu, 26 Sep 2024 12:42:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=103.168.172.147; envelope-from=mail@johnhaman.org; helo=fout-a4-smtp.messagingengine.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:148075 Archived-At: I use use-package to organize my configuration, and a fair number of packages are deferred from loading. The keyword ":defer N" rather than ":defer t" causes the package to load after N seconds, but it cannot be implied like ":defer t" (I created an issue about that, https://github.com/jwiegley/use-package/issues/1080) Does anyone have a snippet that I could run on a timer, say, after 2 mins of idle, that would cause all my deferred packages to be loaded into my emacs session? Thanks, -- John T. Haman mail@johnhaman.org