From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: Loading a package applies automatically to future sessions? Date: Fri, 26 Jan 2018 11:24:32 -0800 Message-ID: References: <76b1fb81-54c0-c213-a542-dc7b9838c473@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1516994604 11820 195.159.176.226 (26 Jan 2018 19:23:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Jan 2018 19:23:24 +0000 (UTC) Cc: emacs-devel To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 26 20:23:20 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef9ap-0002j5-GB for ged-emacs-devel@m.gmane.org; Fri, 26 Jan 2018 20:23:19 +0100 Original-Received: from localhost ([::1]:47705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef9cp-0000B6-VD for ged-emacs-devel@m.gmane.org; Fri, 26 Jan 2018 14:25:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef9cj-00008a-Jj for emacs-devel@gnu.org; Fri, 26 Jan 2018 14:25:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ef9ci-0005Yt-R5 for emacs-devel@gnu.org; Fri, 26 Jan 2018 14:25:17 -0500 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:44796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ef9ch-0005XK-GP; Fri, 26 Jan 2018 14:25:15 -0500 Original-Received: by mail-lf0-x22d.google.com with SMTP id v188so1973057lfa.11; Fri, 26 Jan 2018 11:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tHfmJd80qY8wB77QUS5TS3Tf707KYwt3dMzSIPV8ejA=; b=bkyy/CKOjEVlMBzlquVB2dw3du44WudQ+hQaeCK0WXdAKl7GaO9b7xAXsViItPqyD6 z0PLWxWlUglVp5peKZeuT15uwWeCsJtf7cJO1nkxfnxHZ7ep/ZwlwpCwy5xo4xZMsAwm rryAod6OFlTghFXFEQ059AR0o2fByOY8/p8CfONjQy1GkeG3xX2JasQfUEaooMr90mzA UvL7dESh0o8pS6r1Hy26/Rvtg53NUtax78REy33nrVLkzcmga8RtnSkp9DVewdlM4X2n seehhmXl9aAQGa5YGN4pfKwxAlyM9yR+zfgAPB4p+DsnXCuni9XvlLT2M1/cbdDVTP0R +eGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tHfmJd80qY8wB77QUS5TS3Tf707KYwt3dMzSIPV8ejA=; b=tC2kdmREMxwp96R+87VKy5UfxFH6lYr514eNx8ppOYwOqx2ppJvo9VsWWWpwLQeEdq jhMozpZL2jXOcA97R0zr1sJ2DqVwgChfGpkDjDS3PgA1QloiJUSYkzAmwHSrrsDtHbCc NmeTh/iGOJ8tmFx3tgjIHXKnS38xImfPse7bnPO/9nzRyRo8eDK9Qn0RRZNXl8w1nG5A ur9xTvyzMjvTOfSEek8FSvpWut3SbApy8A7f4Sqbme9nDeqV96sAnHUoduAsjeiEmq7W 0il+RTSOrgtR9x/v0zJ0X8Bs2e8KhCnyyDuLOwZJKeHJfz2riFUsbDpVSmB+rJ+/X+UL o2vQ== X-Gm-Message-State: AKwxytctOAD0/VEOk0G5tK4in+cYjn/bmwdcsOhIFFIQ1vW0LL87PR29 0+gPVKMSY7A3EpZwdW+POsKegS6IX2HILJ1K2ao0Ey3e X-Google-Smtp-Source: AH8x2248WtgqtFFq5kKUTqLRHZDze+U/IS0ra5tj0C5AMKmTjuAKYQOIFsU1U1Xj3XRLwvVKvjPpY2I9zGqTovY4AUc= X-Received: by 10.25.215.223 with SMTP id q92mr8099217lfi.107.1516994713681; Fri, 26 Jan 2018 11:25:13 -0800 (PST) Original-Received: by 10.25.16.101 with HTTP; Fri, 26 Jan 2018 11:24:32 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222260 Archived-At: > Suppose the user loads a package to try it out. Will that cause it to > be loaded again in every session? It appears that way. I think the confusion here is because the Emacs manual currently uses the term "load" in two incompatible ways. Loading a package means evaluating its autoloads, while loading a Lisp file means evaluating the file's Lisp code. The problem is complicated by the fact that the word "package" is sometimes used to refer to a package in the package manager sense, and sometimes used to refer to a Lisp file. Perhaps some better terminology would be in order? I would suggest that we never refer to "loading" a package, and instead say: * "activating a package" means evaluating its autoloads * "loading a file/feature" means evaluating some particular file of Lisp code, which is possibly part of a package I don't have strong opinions, except that the current terminology is bad. -- Radon