From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: emacs-29 acd462b0306: ; Improve the use-package manual Date: Mon, 12 Dec 2022 11:37:01 -0800 Message-ID: References: <167059642832.4265.15913417645926264658@vcs2.savannah.gnu.org> <20221209143348.961DEC0E4CA@vcs2.savannah.gnu.org> <87cz8rgr0h.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12149"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: Philip Kaludercic , Stefan Kangas , emacs-devel@gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 12 20:37:42 2022 Return-path: Envelope-to: ged-emacs-devel@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 1p4ocO-0002sa-27 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Dec 2022 20:37:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4obx-0002p4-Uy; Mon, 12 Dec 2022 14:37:13 -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 1p4obw-0002ov-7l for emacs-devel@gnu.org; Mon, 12 Dec 2022 14:37:12 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4obu-0008Qi-7h; Mon, 12 Dec 2022 14:37:11 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E25455C008F; Mon, 12 Dec 2022 14:37:08 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 12 Dec 2022 14:37:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newartisans.com; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1670873828; x=1670960228; bh=lU cpX2rz0OLwL2tDGYjTe/Nc3xAUe6WVaVxt/+0FvWw=; b=ddLBfOdsU/F01lybcV lJyfYSM1cofnt4idLQrrx9eK10HqRjdsMXmB5Vg6UN5NmtgWcxPkjvxXyuku/0VV FOIujNKqHrsxmnLpukCu2fOCiykuFtZDNOlLRXOs0lPdVpzJAwqtzGHae4VmKHIq BuvqeD6/+buzjR1f5Xhkor3OqloxtHEIxuDVbrTe3elnojP1YckhIMpgbuacPv0j Zh0w1GSujzRJam6koDSqqj6AdwtVjj21iE7OYGuvLYHqLxNOMNrYRc/EoEMLNRjE k8GpSOfp/5tyZh/SClnYa6b+gkiyuY+3A3H8eQxGlYcC8bYPOvLghAUwLofQ1M5Y 9UKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1670873828; x=1670960228; bh=lUcpX2rz0OLwL2tDGYjTe/Nc3xAU e6WVaVxt/+0FvWw=; b=IZkxJIDA1RT0hkZrdYDBiAUrqnpeCh/CRIMCxWgJ+5ux sK2XYvOB834k1O1IPtyeTWpJZFaulow3irLKjeCL4bfUMO+0rnAZl5oV1rzBOFE3 7pwJfq3vyTAHGzzxYJyFACoO58TkBct2MgkM37IMFFisaN8VjnT4hTgFrCVtNLVm eDfXgNxeiITmaK2YawE72uDnEzcDfNQIfcZXnxTDZB4nwc0cxtf2nLZrJa4e60nZ LhXeu+EDapgGEqhod9KZrPPFhAKMO1x4ZeI219kFD2qbqRxD+X9KiAi7qSDeFxXy gqRp5C/sbZiBsNHhzW9NFVGZnNXbby5BVkH9iZLfzA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujgffkfhffgggtgesthdtredttdertdenucfhrhhomheplfhohhhn ucghihgvghhlvgihuceojhhohhhnfiesnhgvfigrrhhtihhsrghnshdrtghomheqnecugg ftrfgrthhtvghrnhepudevfefhhfevteevtdejuefhgeeludettdeijedvudfghfelveev udefgffftdelnecuffhomhgrihhnpehnvgifrghrthhishgrnhhsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhohhhnfiesnhgv figrrhhtihhsrghnshdrtghomh X-ME-Proxy: Feedback-ID: i4e0145b7:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Dec 2022 14:37:07 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Sat, 10 Dec 2022 11:40:24 -0500") Mail-Followup-To: Stefan Monnier , Philip Kaludercic , Stefan Kangas , emacs-devel@gnu.org, Eli Zaretskii Received-SPF: pass client-ip=66.111.4.25; envelope-from=johnw@newartisans.com; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301273 Archived-At: >>>>> Stefan Monnier writes: >> It would also be nice to have user options like >> 'use-package-always-defer' enabled by default, but that will certainly >> break a number of configurations. > Those users can always (setq use-package-always-defer nil) to recover the > old behavior. This should *not* be enabled by default. Basically, `:demand` and `:defer` are considered overrides, which basically short-circuit the intelligent in use-package that figures out when a deferred load would offer the most benefit. The `-always-` variables cause these overrides to be applied globally, but this is almost always a bad choice, since it means giving up one of the reasons why use-package exists in the first place: to figure out when things should be deferred, but not deferring them when it's unhelpful. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2