-
Notifications
You must be signed in to change notification settings - Fork 287
evil-define-key' can no longer bind key in
gtags-mode-map'
#130
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
Comments
Original comment by Frank Fischer (Bitbucket: lyro, GitHub: lyro): Nasty bug. The problem is that the list of active auxiliary keymaps needs to be updated (i.e., exactly those auxiliary keymaps are activated whose corresponding "activator" keymap (in this case |
Original comment by York Zhao (Bitbucket: york, GitHub: york):
This makes sense.
This finally explained why it was working for me every day at my office (this is
Too bad if there is no `after-change-major-mode-hook' for minor-mode.
Added "(evil-normalize-keymaps)" to `gtags-mode-hook' and worked. Apparently Thank you very much for the explaination Frank. |
Original comment by Frank Fischer (Bitbucket: lyro, GitHub: lyro): But would this be sufficient? I may be wrong, but AFAIK |
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil): True. The big question is whether it will be efficient enough (keymap normalization is currently unnoticeable, and I very much intend to keep it so). I'll run some tests with |
Original comment by Nick DeCoursin (Bitbucket: CapinCape, GitHub: Unknown): Here's a couple more issues that reference the same bug: |
Originally reported by: York Zhao (Bitbucket: york, GitHub: york)
Here is all in .eamcs
Open a C++ file (or any file), type "M-x gtags-mode". Type "C-h k C-]" and I suppose to see
the key being binded to
gtags-find-tag-from-here' but it's not, what it shows is still the old binding
evil-jump-to-tag'. Same thing happens if you type "C-hk C-t". This used to be working for me, I have no idea why it just stops working
anymore. Even last night it worked for awhile, nothing has changed but it just
never works.
The text was updated successfully, but these errors were encountered: