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: Thu, 01 Feb 2018 21:14:13 -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 1517537851 16139 195.159.176.226 (2 Feb 2018 02:17:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 02:17:31 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Radon Rosborough Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 02 03:17:27 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 1ehQuE-0001fP-VZ for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2018 03:16:47 +0100 Original-Received: from localhost ([::1]:55035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehQwF-0003kS-P7 for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2018 21:18:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehQv1-0002xU-87 for emacs-devel@gnu.org; Thu, 01 Feb 2018 21:18:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehQtx-00075e-0P for emacs-devel@gnu.org; Thu, 01 Feb 2018 21:17:34 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehQrm-0004Jf-9o; Thu, 01 Feb 2018 21:14:14 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ehQrl-0002Ah-O2; Thu, 01 Feb 2018 21:14:13 -0500 In-reply-to: (message from Radon Rosborough on Sun, 28 Jan 2018 21:56:35 -0800) 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:222387 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 things already work the way users expect. Let's look at > Python. When you install a package using 'pip', the package files are > placed on Python's search path. Thereafter, 'import ' works > without any further "activation" step. The package is automatically > made available in future sessions, although it is not loaded until > requested. In Python, once a package is on the search path, the user needs to give a specific command to make it callable from a given module. I think Emacs should work the same way. If I understood correctly, it is currently NOT the same, because in Emacs the package doesn't require any command to make the package callable. Simply getting it from ELPA makes it callable _all the time_. The change I have asked for would make Emacs do like Python. -- 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.