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, 04 Feb 2018 20:08:58 -0500 Message-ID: References: <76b1fb81-54c0-c213-a542-dc7b9838c473@gmail.com> <2df2ff0a-6bbd-4d39-c830-ce2891909418@gmail.com> <0322c9de-6882-83f3-39ee-66bbb692579a@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1517792849 26835 195.159.176.226 (5 Feb 2018 01:07:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Feb 2018 01:07:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 05 02:07:24 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 1eiVFS-0005d7-Uk for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2018 02:07:07 +0100 Original-Received: from localhost ([::1]:33920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiVHT-00079v-Ux for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 20:09:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiVHJ-00077M-PJ for emacs-devel@gnu.org; Sun, 04 Feb 2018 20:09:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiVHI-0001sy-OI for emacs-devel@gnu.org; Sun, 04 Feb 2018 20:09:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiVHH-0001rj-Ah; Sun, 04 Feb 2018 20:08:59 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eiVHG-0005Sl-U3; Sun, 04 Feb 2018 20:08:58 -0500 In-reply-to: <0322c9de-6882-83f3-39ee-66bbb692579a@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sun, 4 Feb 2018 10:21:24 -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:222533 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. ]]] > > Does Python have autoloads? I would expect not. > Yes, in two senses: > * Installing a package with 'pip' commonly installs small binaries in your path, so you can call the program from the command line. > * Python has .pth files that work essentially like Emacs autoloads. These aren't used very commonly. How do these autoload-like constructs in Python interact with the usual need to 'import' a package to make its entry points accessible? -- 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.