[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to install documentation in sub-directory with Package VC?
From: |
Philip Kaludercic |
Subject: |
Re: How to install documentation in sub-directory with Package VC? |
Date: |
Wed, 15 Mar 2023 09:41:50 +0000 |
Philip Kaludercic <philipk@posteo.net> writes:
>> What is the correct way to make Package VC install the documentation
>> contained in the sub-folder?
>
> Package-vc uses ELPA package specifications, which you can also pass to
> `package-vc-install':
>
> (package-vc-install '(loopy :url "https://github.com/okamsn/loopy"
> :doc "doc/loopy.texi"))
>
> That being said I have found a bug in `package-vc--unpack-1' and
> `package-vc--desc->spec' in that it fails to re-locate the
> specification. This is a general problem, whenever packages are
> installed with a provided specification. One trick might be to also
> consult `package-vc-selected-packages', but that wouldn't solve the
> issue we have here.
>
> I believe a general fix would involve storing new or custom package
> specifications in a user option, which probably cannot be
> 'package-vc-selected-packages', similarly to
> `package-selected-packages'.
I have made the change alluded to here, in the commit
168165178f32fb4e20aea32858407921baf079f0, which has been pushed to the
emacs-29 branch. This has also allowed for some other simplifications
to be made, which is nice.
The above `package-vc-install' now works on my end, and I see the Loopy
manual listed under (dir)Top.
- How to install documentation in sub-directory with Package VC?, Okamsn, 2023/03/13
- Re: How to install documentation in sub-directory with Package VC?, Philip Kaludercic, 2023/03/14
- Re: How to install documentation in sub-directory with Package VC?,
Philip Kaludercic <=
- Re: How to install documentation in sub-directory with Package VC?, Okamsn, 2023/03/16
- Re: How to install documentation in sub-directory with Package VC?, Philip Kaludercic, 2023/03/16
- Re: How to install documentation in sub-directory with Package VC?, Okamsn, 2023/03/27
- Re: How to install documentation in sub-directory with Package VC?, Philip Kaludercic, 2023/03/28
- Re: How to install documentation in sub-directory with Package VC?, Eli Zaretskii, 2023/03/28