-
Notifications
You must be signed in to change notification settings - Fork 275
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
Melpa #31
Comments
Not sure if it will be an issue, or the proper way to solve it, but the packages which contains bindings to a third party library will fail to byte compile. |
Probably due to the require statements. We might have to require with no errors. |
You could do that, but then you'd end up with warnings unless you forward declare variables. |
@fbergroth Which files do you think are problems? Most files are just using function symbols (not variables) so I don't see a problem byte compiling them with the optional package require. Try removing ag package for example and doing an optional require on it. It should byte compile fine. I think, for the general case, that approach should work fine. Of course, if someone else had a better idea, we can go with that. |
I tested with vlf, and when I changed
Which can be silenced by forward declaring it. I'm not sure why I'm not getting the same warning with ag though. |
Have a look at the output of #32 |
With compilation warnings out of the way, there are some issues reported by package-lint. I fixed a couple in #35. What remains is:
Edit: added workaround for the package-lint crash. Now I'm also seeing
It would be nice if |
@fbergroth I've made some changes for those. Package-lint should be good now. |
Sorry for coming too late to the party, but I'd like to close one issue before release: stabilize the rationale, i.e. all "Rationale:" items. I don't think it's so hard: I'll review the issues in depth in the coming days and make sure there is no conflict and everything is consistent. If we all agree with the result, then let's go MELPA. What do you think? |
I want to keep the rationale more flexible. If we pour cement all over it right now, that would be unfortunate. I'd rather we take a "we're releasing this package but it's still subject to change" approach. As this project matures, a lot of the patterns will harden naturally. Also, it's already submitted to Melpa and awaiting approval. |
OK, we can go for "flexible". |
We should just put big red warnings up top that the keybindings are still in a state of flux. (This would have to go in the commentary section of evil-collection.el so MELPA users can see the note.) |
As @purcell mentioned, we should prefix our sub-packages with 'evil-collection-'. I'll get to that at some point but if you had time and got to it before me, that'd be awesome too. |
@jojojames I can do the change now, i.e. prefix everything with |
One last question before I apply the changes: should I rename all the files, the provides and the setup in That will break everyone's config. |
Yeah. |
@Ambrevar Let me know if you want me to make the change. Should be fairly quick. :) |
Sorry, I cannot commit much now I'm afraid. If you can do it, you should go ahead :) |
Thanks. No worries. I'll go ahead and get to it at some point. |
Gave it best efforts to update the namespace. Lets fix things as we find them. I ended up with evil-collection as looking at evilcol- was a little weird after I made the change. We get the added benefit of not breaking anybody's config for the simple case where they just call the init function. |
Good job, thank you for going through this! There are a few issues with modes defining custom functions like in Eshell and EMMS. I'm working on it. |
Yeah, not surprised I broke a few things. :) |
Everything looks good on my end now. |
Merged into MELPA now - thanks! :-) |
Thanks again @purcell ! |
Thanks @purcell! I just posted an announcement on reddit. |
@Ambrevar Lets try and move forward with Melpa so that it's easier to obtain evil-collection.
Here's a list of issues tagged with Melpa already. I am splitting it up by what I don't see as required and what is probably required.
Required
Normalize the documentation header - #12
Documentation: use "state", not "mode" - #13
Documentation: Review readme.org - #14
Customizable initial/primary state - #21
Not Required
Keybinding Syntax - #8
Rationale: Sorting vs. Filtering - #20
image-mode and pdf-tools conflict - #23
Rationale: Marking - #19
Some of the required are already done and are left as a reminder. The biggest one seems to be #21.
In not required, I don't want rationale discussions to block pushing to melpa and image-mode/pdf-mode also doesn't seem to be too important to block.
#8, keybinding syntax, I see it the same way I see evilify macro. We want to move in one direction but the current stuff is fine as it is too, so it shouldn't be a blocker.
Let me know if you disagree with any points. I'm trying to avoid spinning wheels here and leaving this repo "melpa-less" for months. I know quite a few people that don't like to vendor / use git submodules and would prefer going through the package archives.
The text was updated successfully, but these errors were encountered: