Closed phikal closed 4 years ago
Thanks!
I would definitely like to keep them not obsolete and to have them as interface into dumb-jump so I don't need to rebind my keys and what not.
Arthur Miller notifications@github.com writes:
I would definitely like to keep them not obsolete and to have them as interface into dumb-jump so I don't need to rebind my keys and what not.
The whole point is that you don't have to rebind anything. Xref's "go to definition" is already bound by default (M-. is bound to the command xref-find-definitions). All you need to do is register the backend, but as the README explains, that's a single line of elisp.
-- Philip K.
Something along these lines was originally implemented in #343, but I decided to leave it out since it's a different issue.
Marking the commands as obsolete doesn't break anything, so backwards compatibility is ensured. Furthermore, this will only take effect if xref is installed, so the theoretical Emacs 24.1 user won't be annoyed ^^.
If you're not interested in obsoleting the old commands, please feel free to say so. If that's the case, I continue developing the changes from #334 into it's own fork, since it has basically been rewritten 100%, dropping all backwards compatibility so that it may be merged into ELPA.