From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: decision on moving core packages to ELPA; also move to obsolete? Date: Tue, 15 Dec 2020 17:09:11 -0500 Message-ID: References: <86a6ugnopl.fsf@stephe-leake.org> <83im94b17m.fsf@gnu.org> <834kknatxs.fsf@gnu.org> <83sg86apqb.fsf@gnu.org> <865z52oqfp.fsf@stephe-leake.org> <83ft46akpm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35132"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: daniele@grinta.net, stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 15 23:10:38 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kpIWi-00091d-W2 for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Dec 2020 23:10:36 +0100 Original-Received: from localhost ([::1]:37672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpIWh-0007PJ-Qs for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Dec 2020 17:10:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpIVS-0005La-Ah for emacs-devel@gnu.org; Tue, 15 Dec 2020 17:09:18 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpIVO-00072L-Vr; Tue, 15 Dec 2020 17:09:17 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6A69844196F; Tue, 15 Dec 2020 17:09:13 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EA39B44196A; Tue, 15 Dec 2020 17:09:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1608070151; bh=5d0NDrtNqB5AM32ILieWhjZr4kf1dgaCg294VHtxPro=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KwA6LeegKB77lB4BK8P6q11piifA5MkWRWse2oZBjz5Rlh3r8BkdTjF9N/+o56+6c fYHWURFQUG2WkK1fWViTEy89zqdkrlPKsX9bOyh6k4uvXy8TpDUZ6Jr/r3TmBvefuV 3z7YypMVrHN+5mAK5W9c2dteL3XHwhQDlcM9sEnHFkogMxcaG9R7g97EgifD7Vsjzf cRTgZkUlg+vC4dFQMcCcuNudvUX+wCIwKsl0ewFqhpdxtUmf5y9AqYO5lUCI/CVakS 2KSeD9GpMLrEhGeqIDYW3TI3xnCVdkHxps3wTZpb14see1Cw2cns3gV/WYgoRoBrSb ubEVgnwbzYHuQ== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id ACB02120320; Tue, 15 Dec 2020 17:09:11 -0500 (EST) In-Reply-To: <83ft46akpm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Dec 2020 22:16:37 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260936 Archived-At: > So now we are talking about changing the basic logic in > normal-top-level-add-subdirs-to-load-path and > normal-top-level-add-to-load-path? Not at all. What I'm suggesting is the following: - the tarball we build will include the same file as before in `emacs/lisp`. - it will additionally contain a new directory `emacs/elpa` in which each bundled package has its own directory (all in the normal format of installed packages in ~/.emacs.d/elpa). - the only change to the code of Emacs will be that at startup `package-directory-list` will include this `emacs/elpa` directory. So until `package-activate-all` is called, the bundled packages will just sit there on your file system but Emacs won't "see" them. We could also place some or all of the bundled packages directly inside `lisp` and have them be activated in the same way all other Emacs's code is activated (i.e. basically by loading `loaddef.el` at dump time), so they'll behave a bit less like normal packages and a bit more like Org and Tramp do now (i.e. you can't "not have them"), but I think the above suggestion is more conservative and flexible for the user (the downside is that it's less efficient at startup). Stefan