-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epl find available packages broken on snapshot #18
Comments
@rejeep Er, no, I'd rather not do this.
Namely, I can install Flycheck from MELPA, and afterwards remove the MELPA archive again. Now, Flycheck is still installed as in As such, “Installed packages”, and “packages available for installation” are simply two different things, and each has its own functions ( |
@rejeep Ah, I probably misunderstood you. It seems, as if snapshot doesn't add an available package to Actually, I don't think that this is our fault. While I can understand the motivation to keep installed packages out of As such, I think this is actually more of an issue in Emacs than in EPL. I'd go so far as to say that it is a bug. Did you report it to the Emacs developers? |
Yes, I agree. I will report it and see what they have to say about it. Thanks for your input! |
PSA: From reading other issues, I think rejeep reported this to Emacs in #16762, which sounds like it was fixed and closed in April 2014, released with Emacs 24.4. rejeep's code in his first comment is returning |
@lunaryorn,
It seems that
epl-find-available-packages
behaves differently on24.3.1
and24.3.50.1
.In
24.3.50.1
, if you have installed a package with the most recent version available, then it will not be added topackage-archive-contents
when you call(package-refresh-contents)
. The functionepl-find-available-packages
checks if the package is inpackage-archive-contents
, which it might not be.Here's some code to reproduce the issue:
The package is however available in
package-alist
. What we could do is that we extendepl-find-available-packages
so that it first checkspackage-archive-contents
and thenpackage-alist
.What do you think?
The text was updated successfully, but these errors were encountered: