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: [External] : Re: Adding use-package to core Date: Sun, 13 Nov 2022 22:02:03 -0800 Message-ID: References: <838rkels13.fsf@gnu.org-NGltIw7----9> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3642"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: "xenodasein@tutanota.de" , xenodasein--- viaEmacs development discussions. , Eli Zaretskii , "stefankangas@gmail.com" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 15 00:32:33 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 1ouiwK-0000hw-EE for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Nov 2022 00:32:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouipf-0002BG-Bn; Mon, 14 Nov 2022 18:25:39 -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 1ouigh-0007vt-VN for emacs-devel@gnu.org; Mon, 14 Nov 2022 18:16:29 -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 1ouSYC-00076Z-Ih; Mon, 14 Nov 2022 01:02:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Date:In-Reply-To:Subject:To: From; bh=lK3SoL03xI4cMRCHwqt/WBsv9W9O8h7s4D+IJLnKluw=; b=AGu2tOu6BKq1CixRPSeE 9rH43jZcdfRIZIf3y4DfqYL3hFoOgHhrTng/bL42lZeVdPOh8DlO6cCxNErq5FNE9JfaUlATQ4Smu /Ll8GhOgcKbmElKjFSXljsJ8QGghcAcofVYRsGIPrb7kfWHMO8sOOTAuNCfUP2nCVDt5f/xWeyhCp F2UG87gfjZvZhtq58PxtnYrFIjIwH3c3w97zJ2pRJ98HAhDPReKO/V2YppC3ZfWfnAHwMxDRyesUY p/LdfWhcd/ePltn43ovGgVOVz9Y2qopLS/K/Ob3zKNMeGzGPrmphTBQrOmgze8JzXC80m2yaRBBnP 61WAUcLBncih6w==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouSYC-0004Fx-9x; Mon, 14 Nov 2022 01:02:32 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 76BC127C0054; Mon, 14 Nov 2022 01:02:31 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 14 Nov 2022 01:02:31 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedugdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfffkfhgfgggtsehttdertddtredtnecuhfhrohhmpeflohhhnhcu hghivghglhgvhicuoehjohhhnhifsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe fhfeehieekhfeileekiefgfffhkeefkefguddviefgvdevfeelvddvtdektdegveenucff ohhmrghinhepghhithhhuhgsrdgtohhmpdhnvgifrghrthhishgrnhhsrdgtohhmnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhohhhnfido mhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqieekjeektdelgeegqddujeejhe efkeduiedqjhhohhhnfieppehgnhhurdhorhhgsehnvgifrghrthhishgrnhhsrdgtohhm X-ME-Proxy: Feedback-ID: ib64945b7:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Nov 2022 01:02:30 -0500 (EST) In-Reply-To: (Drew Adams's message of "Sun, 13 Nov 2022 22:03:03 +0000") Mail-Followup-To: Drew Adams , "xenodasein@tutanota.de" , xenodasein--- viaEmacs development discussions. , Eli Zaretskii , "stefankangas@gmail.com" 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:299771 Archived-At: >>>>> Drew Adams writes: > 1. "Customization beyond what Customize provides" > What kinds of such customization, besides the one you call out next (#2)? Defining custom functions, binding keys, advising functions, adding functions onto hooks (when the hook isn't customizable), using `setq` when necessary, etc. use-package was originally created to eliminate repeated boilerplate in my init.el file, because, not only do I want all of these customizations, but I want them to load FAST and come into play only if I actually use the package. > 2. "allows you to concentrate changes related to the same package in one > place" > Can you be more specific here? How does what you have in mind differ from > what customize groups provide? Customize group is great, but it only works for what is customizable. I'm a huge fan of customize, btw, and have been using it for many years. The fact that my init.el is 4.6k lines long should tell you that it doesn't satisfy all my needs; 463 use-package declarations are needed to achieve that. https://github.com/jwiegley/dot-emacs/blob/master/init.el -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2