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: Sun, 28 Jan 2018 21:56:35 -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 1517205384 19276 195.159.176.226 (29 Jan 2018 05:56:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2018 05:56:24 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 29 06:56: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 1eg2Q8-0003ER-3b for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 06:56:01 +0100 Original-Received: from localhost ([::1]:40941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eg2S8-0006oZ-TW for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 00:58:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eg2RU-0006oC-Sm for emacs-devel@gnu.org; Mon, 29 Jan 2018 00:57:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eg2RU-0007Gs-1f for emacs-devel@gnu.org; Mon, 29 Jan 2018 00:57:20 -0500 Original-Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:45740) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eg2RR-0007E1-Qd; Mon, 29 Jan 2018 00:57:17 -0500 Original-Received: by mail-lf0-x229.google.com with SMTP id x196so8143854lfd.12; Sun, 28 Jan 2018 21:57:17 -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=wFQgnPXXhjlHk2xl+DdpLN6Xc/Pdx2yO2WR3+24OXx0=; b=Wh+wipu8kMnR0ddYw4vrYRh4Y359fv8n62KwkGoGvqJp+c/GSV7Zk2z8bRMRGkU5gU uMn6V8Zr9jZfBKlLGO8IZCbwhs00eNy1MpPWcZEozL8prwoBvxUAjIX8Ll2s5DRBrOnm yOoz3kb/VctVcRsRGoLLKA3JyxxXMDn3QC+UjEyUjc3FEXhEizfCSJpZ2U6QMghEJ502 7UTY+1Kkhmx0EgwBeBHcW/onm7J/IsjgPtX225vlanFtF2LGCyVCn6jwQpFbK7qsCsyM 1hR68ZSOsxfDSFUZ73N5Vwqa0gibz04pR1ejusoPOCnWBFPspbH2pzSviBMVJFg+qEnI JS8w== 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=wFQgnPXXhjlHk2xl+DdpLN6Xc/Pdx2yO2WR3+24OXx0=; b=cczIVXXVjg6M6tSljf8bZ95DEdTpxAnnJuoISVYPf0EcfxEeuQl+e/4BiK3g/S2N4N 9f+2URF9jbeYnEPKpaBtJJ4pR0iwdN6fDuC1TjpAxdVzJntyQFhxRsVgMaVRSuXt+7kj +WrWP8n2h0Wp7HbnwQQbeEyExV/TMTuoMBjnOv6k8Ah4sNtL4VOtBw1d3JwBwa5+PCx2 3XT66cpt+RJLIxgTq762u/x16nBWOj64YX1Z01hSbnSsvlpZPHvY0PLAUh1YUHuZe7Ax ol2cKAKRhqkqP9KOx0q9ZZ1xkY38KMwkwBXX2t449fJMQQc3NrwgQMtVcr8AIdzq3NtM c90A== X-Gm-Message-State: AKwxytfDtK5ifNS4eGxOqzFKojYEhuBNZYCEg2PHMV9v/0kM3yxRM43J /iLETKM/DmoRic6iFV7UsS9ZnhQ2IUDLxDei4zHClEx1 X-Google-Smtp-Source: AH8x2270TEyGuYJfW0BWhuFBm7JaAf6mF4CJM9qcRMjt53HMA4IOvT90fsBVqvtHhN4rUteh8eIB33AvXPp6jatWESU= X-Received: by 10.46.0.42 with SMTP id 42mr11987431lja.110.1517205436226; Sun, 28 Jan 2018 21:57:16 -0800 (PST) Original-Received: by 10.25.16.101 with HTTP; Sun, 28 Jan 2018 21:56:35 -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::229 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:222289 Archived-At: > They are always "activated", but the downloadable packages are not. > Since the status of activation can change, let's handle this in the > way users expect, for things that can be enabled and disabled. 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. The analogous behavior is to have installed packages' autoloads be made available automatically in future sessions of Emacs, although the packages are not loaded until requested. -- Radon