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.bugs Subject: bug#60923: 29.0.60; package-vc-install: Allow specifying directories Date: Thu, 23 Feb 2023 13:17:33 +0000 Message-ID: <87pma04j2q.fsf@posteo.net> References: <53e3ed2fa97c11f2d3fb68afee57379d@sadiqpk.org> <87o7pxe3pu.fsf@posteo.net> <159754a18c3ef265ad752a3dcb7e2275@sadiqpk.org> <87ttzo44qy.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28428"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60923@debbugs.gnu.org To: Mohammed Sadiq Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 14:18:36 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pVBUZ-0007A1-Rc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 14:18:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVBU5-0006pI-3Y; Thu, 23 Feb 2023 08:18:05 -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 1pVBU2-0006n8-KQ for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 08:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVBU2-00070G-CJ for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 08:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVBU2-0004lq-2U for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 08:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2023 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60923 X-GNU-PR-Package: emacs Original-Received: via spool by 60923-submit@debbugs.gnu.org id=B60923.167715824618283 (code B ref 60923); Thu, 23 Feb 2023 13:18:02 +0000 Original-Received: (at 60923) by debbugs.gnu.org; 23 Feb 2023 13:17:26 +0000 Original-Received: from localhost ([127.0.0.1]:33372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVBTS-0004ko-Ek for submit@debbugs.gnu.org; Thu, 23 Feb 2023 08:17:26 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:37049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVBTO-0004kV-Uk for 60923@debbugs.gnu.org; Thu, 23 Feb 2023 08:17:24 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B516C240684 for <60923@debbugs.gnu.org>; Thu, 23 Feb 2023 14:17:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677158236; bh=gMybEgTVSB1NniqP4sffUQJe22YlWZL5P8rOHvy4CL4=; h=From:To:Cc:Subject:Date:From; b=Fsgng5FSd8jm+hAv0GTLuxjIdhYINEMdQDN+OiCfmORqVXIcs7VW7mtryZwxpt0mK 85oxIJEoQzUqNjplI6vNqLfv+Fo4qmYKKDcQ6tYtm+zQYkFHi75q9jpq5FwFX41y6Z kVLnxOo13a3LfQ+32hLVZ90IqwiMXcGRiL6yt9DDHeJGD5gSNf8HsTbuZKW2b1S2QO H5Mj5/ompd0LIYniZhXOpW5UMONQD8reH2GPzDV+HYcnm/0/FVwLLINzeC/jCnoRnV xr38qD/0OeUV3eN8Z9D9BxxBzWtF1abtupQWtSa3s/BHEps08WwMq7WMlw9+iiKSSV utMtssqbmd3AQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PMtpz3SgMz6tpT; Thu, 23 Feb 2023 14:17:15 +0100 (CET) In-Reply-To: <87ttzo44qy.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 14 Feb 2023 15:59:49 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256460 Archived-At: ping? Philip Kaludercic writes: > Mohammed Sadiq writes: > >> On 2023-02-14 01:29, Philip Kaludercic wrote: >> >>> What does "ignore" mean in this context? >> >> Ignore as in, the file is never kept in the installation directory. > > I am afraid that would be contrary to the point of package-vc. The > intention is to provide the facilities to manage a package (activate, > load, update, etc.) directory from source. > > But perhaps I am misunderstanding you. What would be the point of > removing the files from the installation directory? > >>> package.el already supports ignoring the contents of a .elpaignore >>> file, >>> but all that does is remove a few files from the byte-compilation >>> process. >> >> I tried installing pareedit, and it doesn't seem to work. I tried: >> emacs --batch --eval='(package-vc-install >> "https://github.com/emacsmirror/paredit.git")' > > (Is there a reason you specified a URL instead of the package?) > >> The project contains .elpaignore, which specifies the file test.el, >> but the file test.el is still compiled to test.elc. > > It seems like this is a bug in `byte-recompile-directory' or rather in > the way it is invoked from package-compile. I will have to look into > this at some point, if it is even regarded as a bug -- there was a > discussion that it is OK to attempt compiling every file in a project, > even if the actual Lisp files are only located in a subdirectory. Most > of the time the issues in test files are just due to negligence, and > could also be fixed upstream. > >> Also, since >> it is installed, I'm able to access functions like >> `paredit-test-failed'. > > Just like that or after loading the file? > >> Or am I missing something obvious? > > Nothing obvious enough for me to see.