From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Clojure mode Date: Mon, 28 Aug 2023 20:04:37 +0300 Message-ID: <837cpfhzdm.fsf@gnu.org> References: <87il9kksqz.fsf@dfreeman.email> <87a5uw9ivs.fsf@posteo.net> <87ttt42gna.fsf@dfreeman.email> <87wmy080kn.fsf@posteo.net> <83v8djcydl.fsf@gnu.org> <87350ndquw.fsf@dfreeman.email> <83350ncbns.fsf@gnu.org> <87cyzrjbd8.fsf@dfreeman.email> <83zg2vav46.fsf@gnu.org> <87o7j99304.fsf@dfreeman.email> <87zg2hsyrd.fsf@dfreeman.email> <87h6ontwfv.fsf@posteo.net> <4874df51-9652-f9fd-0576-9dd6a4cba31a@gutov.dev> <3d5ef276-ce6b-9ff0-0c60-1da6b887b365@gutov.dev> <1070e416-2a13-49e0-90d4-fbc526cd461c@app.fastmail.com> <83ttskia84.fsf@gnu.org> <97c96b72-ebba-4853-98d2-86e3ba8bbc05@app.fastmail.com> <83sf84i9ix.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bozhidar@batsov.dev, dmitry@gutov.dev, rms@gnu.org, danny@dfreeman.email, emacs-devel@gnu.org, manuel.uberti@inventati.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 28 19:06:25 2023 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 1qafh3-0002x2-4h for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Aug 2023 19:06:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaffx-0002fl-G6; Mon, 28 Aug 2023 13:05:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaffv-0002fS-PZ for emacs-devel@gnu.org; Mon, 28 Aug 2023 13:05:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaffq-0003fy-Nk; Mon, 28 Aug 2023 13:05:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PyVhuyuJhAbogR0bmcDJTOJnUYSmV/FHbvsbT2T6gCI=; b=Z+4qA02UkYqC dqfnziwoPXAY8VketRgZ7Z3jOkcnINW1fdHyXiTPxHzmpDXyCSggCDnDlFdGVHlICCJCeuWV12TCs +O2N7PZl25mjBdb1d61B5vQuz8sDujkfdqF5/PtQbKhZo/+VUb+KKXipaCfLxi7zGiuze5sjltuLC XYlj58iyFDwDL6zzxt5Nl9IqhLkObZHgK4EJtwkdrdqZn2Eu5WIDFqPkdDRyXG9YPWZOcxqjeOORY 5UQHS3EYVuZV8QvlKLfbue2USnU7yJtk+G5+I/rO4b9wZx/saz/BfQpYz4GidzVXoNgK6MyKeDtYe Z+WkJnx6/Ef6Aq9JrKzOng==; In-Reply-To: (message from chad on Mon, 28 Aug 2023 12:35:02 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309448 Archived-At: > From: chad > Date: Mon, 28 Aug 2023 12:35:02 -0400 > Cc: Bozhidar Batsov , dmitry@gutov.dev, rms@gnu.org, > danny@dfreeman.email, emacs-devel@gnu.org, manuel.uberti@inventati.org > > As a practical matter, how > would people feel about a sort of autoload variation, included in emacs (30) core, that points users > at relevant packages in [non-]GNU Elpa, which would be overridden by code included in an actual > package? The idea is to combine a thin pointer with a potential indirection point that allow users (who > had not already chosen) to choose between alternatives such as clojure-mode and clojure-ts-mode. You will have to present a more detailed proposal, because up front I don't see how will this work. For example, "autoloading" clojure-ts-mode from ELPA will need: . download the Lisp files . byte-compile the Lisp files . add the directory of Lisp files to load-path . download the clojure grammar library . build a shared library from the grammar library . install the shared library IOW, you will need to do what package.el does, but in batch and behind the user's back. Plus, it will take some non-negligible time. How is such "autoloading" useful? The current idea of including ELPA packages is to include them in the release tarball, so that for the end-user it looks exactly like a core package. What advantages does your proposal have wrt this idea?