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.devel Subject: Re: Help sought understanding shorthands wrt modules/packages Date: Thu, 15 Dec 2022 08:47:39 +0200 Message-ID: <83zgbpkvsk.fsf@gnu.org> References: <651bbe21-f179-730a-4f10-7dc6d27055ea@gmail.com> <871qpubx1p.fsf@rfc20.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, matt@rfc20.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 15 07:48:28 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 1p5i2c-0001eB-Sb for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Dec 2022 07:48:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5i22-0008Av-Bf; Thu, 15 Dec 2022 01:47:50 -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 1p5i21-0008Aj-Oi for emacs-devel@gnu.org; Thu, 15 Dec 2022 01:47:49 -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 1p5i21-0006w6-2n; Thu, 15 Dec 2022 01:47:49 -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=nDR04XHLMIbttQgQAKSOBUqnTgZ18VmIgpuC/W/xzi4=; b=K9atvEfgh5NI dHt2AIMg9qhLrom63+f09HSnQc9vKWqzQV6a8RTl6ZBHrhq+i423INQRkrHawlLih1cO2Oo2wj3zd 2es6nwfBEr+WxlDZAqBh04XtSMS3cOrkTvJL+KRpvz6nNMqpB5m8GjNjROL5AoZWVi5bLyBLAoJFc dc2NuT/8viad2zNRPIs8y6iASusM45WZuuasbJr4jyGQmHEYXv5dUq68FeKVvOOudQNiq+zbgMsN/ HXC1P9CdZls1IcEf1gBavuzVFattKbAhKyaPnU2Ko0/Gi3NdKqC8KUxWUXPUVog53kRryQYjtuxRe MRWmQLyX4BR80CAL/sxwsg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5i1t-0006zE-5Q; Thu, 15 Dec 2022 01:47:41 -0500 In-Reply-To: (message from Richard Stallman on Wed, 14 Dec 2022 17:21:54 -0500) 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:301438 Archived-At: > From: Richard Stallman > Cc: matt@rfc20.org, emacs-devel@gnu.org > Date: Wed, 14 Dec 2022 17:21:54 -0500 > > The message mentions :USE, and also use-package. > I thought these were totally unrelated, and that > usepackage realated to the sort of packages in ELPA. > > Could someone plesae clear this up for me? They are completely unrelated. use-package is basically a fancy 'require' facility, which (a) arranges for the library to be loaded only when it is actually used, and (b) allows the users to specify in their init file some code that needs to be run immediately before and after the library is loaded, such as setting up some variables from the library or which affect the library, turning on and off some optional features of the library, loading dependency libraries, etc.