Packages not respecting `xref-find-definitions` and binding to `M-.`
Walheimat opened this issue · 1 comments
This is a minor thing but I switched to the suggested setup (adding dumb-jump-xref-activate
to the backend functions) and I didn't immediately understand why this didn't work in my Node.js projects.
The comical reason was that I use the js2-mode
package which binds M-.
to its own reference finding function js2-jump-to-definition
. I'm guessing it's not the only one that does something "helpful" like that.
So a suggestion would be to maybe suggest in the README.md that a user might be using packages that don't respect the default meaning of M-.
; or a trouble-shooting section that has this info.
This sounds like a good idea. We should probably explain how to check a keybinding (C-h c
) and maybe give a list of prominent (major-)modes that override M-.
.