From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Okamsn <okamsn@protonmail.com>
Cc: Philip Kaludercic <philipk@posteo.net>, emacs-devel@gnu.org
Subject: Re: Adding the `prescient` packages to NonGNU ELPA?
Date: Fri, 09 Dec 2022 10:08:25 -0500 [thread overview]
Message-ID: <jwva63w8w2h.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <6cda848d-07da-9d8c-fd40-75727915ba3c@protonmail.com> (okamsn@protonmail.com's message of "Fri, 09 Dec 2022 03:58:47 +0000")
> 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.
Ah, so `straight` relies on linking/copying the files.
Do things like `C-h f` still jump to the actual VCS-controlled source?
How does it make sure the copies are updated/sync'd when you edit the
VCS-controlled sources?
> 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).
I think in the context of `package-vc` the cleanest way to support some
of that would be to require that the different subpackages's files live
in different subdirectories of the repository (so we can add/remove them
from `load-path` independently).
[ I also note a tension here: on the one hand you say that the
development is sufficiently tightly linked that you may want to change
several subpackages in a single commit , but on the other you want to
be able to use different versions of different subpackages at the same
time which requires a looser coupling. ]
> Is this what you are asking?
Yes, exactly, thank you.
> 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
It does a `git clone`, creates the *-pkg.el and *-autoloads.el files,
compiles the files and adds them to `load-path`. So you run your code
straight :-) from the VCS clone.
> 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.
Indeed, it does not support things like `:ignored-files` or
`.elpaignore` or `:renames`.
Stefan
next prev parent reply other threads:[~2022-12-09 15:08 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-20 3:27 Adding the `prescient` packages to NonGNU ELPA? Okamsn
2022-11-20 9:24 ` Philip Kaludercic
2022-11-20 11:23 ` Stefan Kangas
2022-11-20 15:19 ` Stefan Monnier
2022-11-20 15:41 ` Philip Kaludercic
2022-11-21 21:17 ` Richard Stallman
2022-11-22 13:53 ` Akib Azmain Turja
2022-11-23 23:12 ` okamsn
2022-11-26 0:50 ` Richard Stallman
2022-11-20 17:10 ` Visuwesh
2022-11-20 18:39 ` Stefan Monnier
2022-12-16 9:41 ` North Year
2022-12-16 19:25 ` Philip Kaludercic
2022-12-17 3:28 ` Stefan Monnier
2022-12-17 9:17 ` Philip Kaludercic
2022-12-17 15:52 ` Stefan Monnier
2022-12-17 16:07 ` Philip Kaludercic
2022-12-17 16:24 ` Philip Kaludercic
2022-12-17 18:01 ` Okamsn
2022-12-17 18:08 ` Philip Kaludercic
2022-12-17 18:39 ` Stefan Monnier
2022-12-20 1:32 ` Okamsn
2022-12-20 3:10 ` Stefan Monnier
2022-11-20 17:42 ` Okamsn
2022-12-05 0:27 ` Okamsn
2022-12-05 15:21 ` Stefan Monnier
2022-12-09 3:58 ` Okamsn
2022-12-09 15:08 ` Stefan Monnier [this message]
2022-12-09 15:27 ` Philip Kaludercic
2022-12-10 4:10 ` Richard Kim
2022-12-10 15:12 ` Stefan Monnier
2022-12-10 16:38 ` Richard Kim
2022-12-10 17:44 ` Stefan Monnier
2022-12-05 17:21 ` Philip Kaludercic
2022-12-16 2:04 ` Okamsn
2022-12-16 19:26 ` Philip Kaludercic
2022-11-22 15:41 ` Jonas Bernoulli
2022-11-22 21:09 ` Stefan Monnier
2022-11-23 9:56 ` Jonas Bernoulli
2022-11-23 12:33 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwva63w8w2h.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=okamsn@protonmail.com \
--cc=philipk@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.