-
Notifications
You must be signed in to change notification settings - Fork 13
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
Loading package
loads some other libraries, which may mask missing requirements
#47
Comments
The package.el library loads some other libraries, like url-parse.el, which can give false negatives when byte-compiling. With this change, package.el is only loaded when installing dependencies or linters, not when doing anything else. TODO: Maybe load package.el when running interactively. (An interactive session does by default, but in the context of using makem.sh, maybe we shouldn't...?) See: <#47> Reported-by: Joseph Turner <[email protected]>
@josephmturner This seems to work. With the changes on branch https://github.com/alphapapa/makem.sh/tree/wip/avoid-loading-package, compiling
Please let me know what you think of the changes on the branch. Thanks. |
Thanks for the fix! This seems to work except for a typo. There' s a missing backslash in the |
Of course, that's what I get for copying and pasting. Thanks. |
By the way, I think this change is probably fine to make, but it would be good to give it some basic testing first, e.g. test it with a few packages, intentionally cause some byte-compilation errors and ensure that they're caught, etc. If you have the time and interest to test it on a few like that, please do. |
I tested with I also tested with In |
Thank you! |
The package.el library loads some other libraries, like url-parse.el, which can give false negatives when byte-compiling. With this change, package.el is only loaded when installing dependencies or linters, not when doing anything else. TODO: Maybe load package.el when running interactively. (An interactive session does by default, but in the context of using makem.sh, maybe we shouldn't...?) See: <#47> Reported-by: Joseph Turner <[email protected]>
See melpa/melpa#9062 (comment)
The text was updated successfully, but these errors were encountered: