-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Use the "next" version of Magit #1941
Comments
Thanks for mentioning this, I'll see if I can quickly implement some feature toggle but if it is not distributed via an elpa repository we will have to use extensions, I may exceptionally introduce a temporary submodule in order to help getting feedback on |
I tried switching to extensions and noticed that the way keybindings are defined has changed notably. There's something like 14 |
Without looking at the code I would guess that the new mode-maps have to be evilified like in the current magit layer https://github.com/syl20bnr/spacemacs/blob/develop/contrib/!source-control/git/packages.el#L132-L175 |
Magit 2.1.0 will be released on the 1st of July (see here), so we should ideally make sure that this works. Otherwise I suspect a lot of issues about magit not working correctly. @tko Do you already have a branch somewhere testing the implementation? I could help if you like. |
Make an extension with exceptionally a submodule pointing on magit2. A few days before the release of magit2 we migrate the magit2 config to A couple of weeks later we will be able to remove the magit1 specific Le dimanche 21 juin 2015, Christoph Paulik notifications@github.com a
-syl20bnr- |
@cpaulik I got as far as https://github.com/tko/spacemacs/tree/magit |
I've pushed my branch Basically I've added a variable |
@cpaulik I think you should probably just squash the patches together off of develop. I just threw some things together, I don't see myself finishing it :-/ |
Can we get magit as a separate layer ?. Is it possible for one layer to include others. if yes, we can include magit layer to be part of larger git layer. |
@kvaneesh I'm not sure that is makes sense to put magit into it's own layer since it is the core part of the git integration in emacs and spacemacs. If we want to enable/disable certain features of the git layer we can always do so using the layer variables. |
Thank you @tko and @cpaulik for starting to look at it. I pushed magit-next submodule in develop, can be used by setting the layer variable Major issues for now:
|
I'm currently working on the support for magit 2.1 and I plan to release the version 103 at the same time as the new magit (more or less). Some update about the status:
|
I worked a lot on magit keymaps today and I added new functions to automatically evilify a map. It handled the translation of shadowed bindings described in the conventions and even handle "sub-keymap" (like It almost works, actually it works with all the keymaps except one: I have still to work on the magit-popup which defaults to normal mode. |
@syl20bnr if magit can work with make-sparse-keymap, that can be a patch to magit upstream isn't it ? |
Thanks @syl20bnr. I've just been testing it a little bit and I got the following error pressing
|
@syl20bnr Is there a reason against adding The issue mentioned in my previous post might be a magit problem, I'll have to check. EDIT: no it works in holy-mode |
Sorry, I was working on the a new function to automatically evilify a map I will update the bindings for the new interactive rebase and commit modes. -syl20bnr- On Mon, Jun 29, 2015 at 6:04 PM, Christoph Paulik notifications@github.com
|
I finished the support of magit next, you should be able to test it on develop with the following layer variable Closing this as magit next is not available, please open new issues if you find bugs. |
This isn't necessarily urgent; I just wanted to make sure it was on y'all's radar since Magit's maintainer has started to encourage maintainers of third-party tools to try the
next
branch out. (source: magit/magit#1645 (comment))The text was updated successfully, but these errors were encountered: