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 07:07:24 -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 1517141159 12170 195.159.176.226 (28 Jan 2018 12:05:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Jan 2018 12:05:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 28 13:05:54 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 1efliI-0001aQ-Cv for ged-emacs-devel@m.gmane.org; Sun, 28 Jan 2018 13:05:34 +0100 Original-Received: from localhost ([::1]:34514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eflkH-0004AL-4s for ged-emacs-devel@m.gmane.org; Sun, 28 Jan 2018 07:07:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eflkA-00049x-Fu for emacs-devel@gnu.org; Sun, 28 Jan 2018 07:07:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eflk9-0006AX-7B for emacs-devel@gnu.org; Sun, 28 Jan 2018 07:07:30 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eflk4-00067y-VQ; Sun, 28 Jan 2018 07:07:25 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eflk4-0007B3-Fr; Sun, 28 Jan 2018 07:07:24 -0500 In-reply-to: (message from Stefan Monnier on Fri, 26 Jan 2018 12:03:33 -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:222270 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. ]]] > There are 3 different steps: > A- installing a package: this places its files under ~/.emacs.d/elpa > B- activating a package: this loads its -autoloads.el file. > C- actually loading the package's files. > When a user does A, by default, it will do B in the current session and > causes subsequent Emacs invocations to automatically do B as well > (i.e. B is done by default on all installed packages). That doesn't make sense to me. I think A should not, automatically or by default, do B. I think there should be a way to activate the package right now, and a way to specify to activate it in future sessions. Perhaps each of those should automatically do A, since B requires A. -- 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.