All "M-x egg-" commands work ok
M-x egg-start-new-branch
start new branch with name: xxx
But all of the "C-x v " key-bindings are still bound to "vc-" commands (I expected C-x v b to bind to egg-start-new-branch)
C-h k
C-x v b runs the command vc-switch-backend, which is an interactive
Do I need to do somethings else besides doing a (require 'egg)?
Additional info
"Describe variable: egg-minor-mode"
"egg-minor-mode is a variable defined in `egg.el'. Its value is t"
"M-x describe-minor-mode" -> egg-minor-mode
"no such minor mode"
A bit late, but I just ran into the same problem.
You mention in a comment that you're using git 1.7. The thing is, egg requires version 1.6 to work, and it actually checks that you're using that version at line 5939. You can see that when the string doesn't match, the body of the when
form doesn't get executed; but this is precisely where the keymap is set!
So if you wanna be adventurous, you can just replace the 1.6.
by 1.
, or 1.7.
(but then you'll have to remember to change it when you upgrade git to 1.8) and egg-mode will load fine, keymap and all. Use at your own risk, though; I don't know what changes version 1.7 introduced, and egg might do something unexpected.
Can you do M-x customize-group
for egg and check the value of egg-mode-key-prefix
? This has to be set to "C-x v"
for it to work properly; if you changed it anywhere (maybe in your .emacs?) the key bindings will not work properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With