unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mohammed Sadiq <sadiq@sadiqpk.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 60923@debbugs.gnu.org
Subject: bug#60923: 29.0.60; package-vc-install: Allow specifying directories
Date: Wed, 01 Mar 2023 10:33:35 +0530	[thread overview]
Message-ID: <12986612ae63cadcf192f5080146504c@sadiqpk.org> (raw)
In-Reply-To: <87ttzo44qy.fsf@posteo.net>

On 2023-02-14 21:29, Philip Kaludercic wrote:
> 
> But perhaps I am misunderstanding you.  What would be the point of
> removing the files from the installation directory?

My need was to avoid letting the code in test files never available
in Emacs (as defuns and such are not namespace separated, functions
written in tests may confuse with other functions)

But given that the entire source including the vc history is kept
as such, I don't think removing the file is for this purpose is
worth.

> 
>>> 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?)

I just chose the URL of a popular project that has a .elpaignore file.

> 
>>                                                      Also, since
>> it is installed, I'm able to access functions like
>> `paredit-test-failed'.
> 
> Just like that or after loading the file?

After loading the file.  `paredit-test-failed` is no big problem.
But some projects may define functions like `load-test-file` etc,
which may not be obvious where the function is defined unless the
documentation or its code is inspected.

But anyway, as suggested, I don't think it's worth to have a way to
remove specified files as the entire vc history is cloned and kept
locally.  So please close the issue.

Sorry for the delayed response.  I was away last month.


cheers,
Mohammed Sadiq





  parent reply	other threads:[~2023-03-01  5:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18  4:24 bug#60923: 29.0.60; package-vc-install: Allow specifying directories Mohammed Sadiq
2023-02-13 19:59 ` Philip Kaludercic
2023-02-14 15:28   ` Mohammed Sadiq
2023-02-14 15:59     ` Philip Kaludercic
2023-02-23 13:17       ` Philip Kaludercic
2023-03-01  5:03       ` Mohammed Sadiq [this message]
2023-03-01 14:03         ` Philip Kaludercic

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12986612ae63cadcf192f5080146504c@sadiqpk.org \
    --to=sadiq@sadiqpk.org \
    --cc=60923@debbugs.gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).