From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: How to install documentation in sub-directory with Package VC? Date: Thu, 16 Mar 2023 08:44:54 +0000 Message-ID: <875yb1gk55.fsf@posteo.net> References: <87bkkvconh.fsf@posteo.net> <87o7oujqqp.fsf@posteo.net> <98f76116-4f5a-c225-3123-78c612ec64cb@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1772"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Okamsn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 16 09:45:24 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 1pcjEh-0000Fd-W7 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Mar 2023 09:45:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcjE0-0008Fj-8t; Thu, 16 Mar 2023 04:44:40 -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 1pcjDx-0008FL-TI for emacs-devel@gnu.org; Thu, 16 Mar 2023 04:44:38 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcjDv-0000m7-E3 for emacs-devel@gnu.org; Thu, 16 Mar 2023 04:44:37 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C6328240560 for ; Thu, 16 Mar 2023 09:44:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678956272; bh=EbONIv/3LaxtyNbm6zZ2rRpSWKVZ87eYD/bKtlCnpCM=; h=From:To:Cc:Subject:Date:From; b=SNnmyxMaUtPEi2FtWKf062kmTJ4dXn+tDK2RfWrRIjSVYdT3Q+VBaBRTy/Y+8s9Ps +YWN2m9inOCebGrIfRz5NWWPwOT04clXq+EQYHJumj06/YE0/5oont3BGftF1P5hiZ YHoXMx04lSLJVW1QvwWJRCd7X0b+PoPlraMJTsI3MxMi+SzpwYE5CJwmlt41MsR9jO 2euUyoEiV9VIpZffRg143X4muZl1QqQSYKaYN7VITNZEmRxjRzk0fUDYVOVyTtQonp 5Aw4vGoTCoYUERpKSpHO+fK/pzmz+yvtnnn5pLFA6GJJBcTm4S1bx4BmWffbehX5Fu Jg3SDxgHXpy8Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pcgmb3zGlz6tsd; Thu, 16 Mar 2023 09:44:31 +0100 (CET) In-Reply-To: <98f76116-4f5a-c225-3123-78c612ec64cb@protonmail.com> (okamsn@protonmail.com's message of "Thu, 16 Mar 2023 01:37:56 +0000") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.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:304511 Archived-At: Okamsn writes: > On 2023-03-15 09:41 UTC, Philip Kaludercic wrote: >> Philip Kaludercic writes: > > >>> 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. >> > > Thank you for making this change. With it, I see that the Info > documentation was installed. > > When you write that "package-vc uses ELPA package specifications, which > you can also pass to `package-vc-install'", does that disagree with the > documentation of `package-vc-selected-packages', which states that for > its arguments "all other keys are ignored"? The "all other keys are ignored" is to be understood in the sense of package-vc uses a subset of the keys that elpa-admin uses. After loading and initialising package-vc, you should in fact see a plist of package specifications fetched from {Non,}GNU ELPA in `package-vc--archive-spec-alist', which are used by package-vc if you attempt to install a package using just a symbol. > Are the keys used by the ELPA package specification documented in the > manual? If not, I would like to list the keys accepted at the end of the > Package VC manual page, take from here: > https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/README Yes, exactly. > I will write a patch for this, unless there is a reason to not do so. > What do you think? If you think it can be clarified, why not?