From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Loading a package applies automatically to future sessions? Date: Sun, 28 Jan 2018 20:50:43 -0500 Message-ID: References: <76b1fb81-54c0-c213-a542-dc7b9838c473@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1517190600 19977 195.159.176.226 (29 Jan 2018 01:50:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2018 01:50:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 29 02:49:55 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 1efyZt-0004FW-Go for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 02:49:45 +0100 Original-Received: from localhost ([::1]:55025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efybs-0005T1-Eq for ged-emacs-devel@m.gmane.org; Sun, 28 Jan 2018 20:51:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efyat-0005SN-GK for emacs-devel@gnu.org; Sun, 28 Jan 2018 20:50:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efyas-0000CJ-K3 for emacs-devel@gnu.org; Sun, 28 Jan 2018 20:50:47 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efyap-0000AM-Dw; Sun, 28 Jan 2018 20:50:43 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1efyap-0001EO-1m; Sun, 28 Jan 2018 20:50:43 -0500 In-reply-to: (message from Stefan Monnier on Sun, 28 Jan 2018 08:21:08 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:222284 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > >> I think there should be a way to activate a package explicitly for the > >> current session _without_ automatically activating it for future > >> sessions. > > The failure of package.el to support this use case > FWIW, package.el does support this case: > - one way is to prevent package-initialize from activating packages, > and then activating the ones you want by explicit calls to package-active. > - another is to set package-load-list. E.g. This means a user _can_ do it -- but it isn't naturak and easy. I suggest adding a convenient interface for it. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.