From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Okamsn Newsgroups: gmane.emacs.devel Subject: Re: Adding the `prescient` packages to NonGNU ELPA? Date: Fri, 09 Dec 2022 03:58:47 +0000 Message-ID: <6cda848d-07da-9d8c-fd40-75727915ba3c@protonmail.com> References: <16193c73-ab80-04c9-558f-d5e6142f38f3@protonmail.com> <871qpydllo.fsf@posteo.net> <4a52210d-3e39-ed34-a7c9-c3ee6e2a7a68@protonmail.com> <11680a2c-b082-cfce-e075-9694ed06dae0@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25202"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 09 05:59:14 2022 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 1p3VTd-0006O0-Ge for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Dec 2022 05:59:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3VSy-0005QQ-4A; Thu, 08 Dec 2022 23:58:32 -0500 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 1p3UXV-0007vs-9E for emacs-devel@gnu.org; Thu, 08 Dec 2022 22:59:09 -0500 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3UXT-00024F-8U for emacs-devel@gnu.org; Thu, 08 Dec 2022 22:59:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670558335; x=1670817535; bh=/XIzEkbDYWuRgRPtfDAmhHOzSxViixV4jcbtgcilaxw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=AcWqpljOQK4sigUOvZwIykw0pqe7gsNKI9N2swORP5hdNyTY1vImU0BV0w0UQDHve wrQyiN1St1yDRvk/ZG78pqBlSe7DboqZfHA3YpDnRPf8K76SQnc27YT3blTnjwlZsZ 11lr1MCcg9nFXUKb4ejfOgHuG0Ck8ZzhAUGbqsglVu4IcA/22rBDZVYwgQSg7uCRwf rArPOZXCWRQlAuJ8MYAO/JOdkFYC6/78Ho9NEs4Us9g3yXK2WJ63RnGwbUC/nn/cQb 4BZER/W52LTZdd/b7fSSeG0CPZDh+dbiY+gGOU+HhLkqgguOQqPHI/khcod2sge5/l jFCT7xFYkQAow== In-Reply-To: Feedback-ID: 25935600:user:proton Received-SPF: pass client-ip=185.70.40.131; envelope-from=okamsn@protonmail.com; helo=mail-40131.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 08 Dec 2022 23:58:30 -0500 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:301063 Archived-At: On 2022-12-05 15:21 UTC, Stefan Monnier wrote: >> You mentioned that there are caveats for package-vc. If a user wanted to >> install a package using that feature (which I look forward to trying), >> is it possible to tell it the files that should be added (or not be >> added) to the load path? > > `load-path` is a list of directories, so you can only control which > files are included by controlling which directories are included. > > But I don't understand the question coming from you: as a developer of > the package, how do *you* control that (since, presumably, you use that > same file layout as used in the Git repository)? > > > Stefan > If you are asking whether I add the Git repository itself to the load path for testing packages, I do not. Instead, I have been using Straight.el (https://github.com/radian-software/straight.el) to install development versions of packages, which can download the repository once but only install the files and needed dependencies (according to a specification) by linking/copying those compiled files to another directory, which is then added to the load path. For Prescient in particular, it makes sense to have the files in a single repository, since a change in the main file can mean changes in the extension files and vice versa (as a single conceptual step in development). However, testing the development version of an extension for one UI (such as for Vertico) doesn't necessarily mean wanting to use the development version of another UI's extension (such as for Company) or wanting to install another extension's dependee UI package (such as Selectrum, which was soft-deprecated in favor of Vertico). Is this what you are asking? Really, I was wanting to ask whether package-vc installs all of the ELisp files in a repository or whether it installs the files according to the ELPA spec or a provided spec. I see that the user option `package-vc-selected-packages` does not mention the `:ignored-files` entry that the ELPA spec uses, so I was wondering. The documentation string for `package-vc-checkout` mentions a `package-vc-link-directory`, but I don't see that in the file. Did that become `package-vc-install-from-checkout`?