Closed svileng closed 4 years ago
You should report this upstream at https://github.com/jacktasia/dumb-jump
Thanks @CeleritasCelery! I'm closing this one.
@CeleritasCelery According to @jacktasia this is not an issue with the dumb-jump
package, since it doesn't use tags: jacktasia/dumb-jump/issues/167 . It seems that when I do SPC h d k SPC m g g
the jump to definition is part of Spacemacs' core. I'll reopen the issue. Thanks!
looks like it is more complex then I expected. From looking at the value of spacemacs-jump-handlers-elixir-mode
and spacemacs-jump-handlers
it looks like it is alchemist-goto-definition-at-point
. So looks like the alchemist
package is where you need to look.
@CeleritasCelery I respectfully disagree. alchemist
does not contain a reference to helm or gtags, so I do not think it is responsible for invoking this.
@svileng I was able to get rid of this by removing the gtags
layer from my configuration. Of course you may need that for other languages.
@jeremyjh Thanks for the tip! I just checked my .spacemacs
and I don't seem to have gtags
explicitly added. That's my current list:
'(
markdown
html
javascript
yaml
elixir
ivy
(auto-completion :variables
auto-completion-enable-snippets-in-popup t)
emacs-lisp
git
osx
)
Is it possible, and how can I find out, if one of these packages includes gtags
behind the scenes?
This might be related to #9873 , try adding this to your dotspacemacs/user-config
and restart:
(setq spacemacs-default-jump-handlers
(remove 'evil-goto-definition spacemacs-default-jump-handlers))
@sdwolfz Brilliant, that worked! Cheers 🍻
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description :octocat:
I recently re-installed my OS and got Spacemacs again. I'm using the Elixir layer that includes with Alchemist, that provides things like Go to definition.
Previously (not sure which version I had, sadly) pressing
SPC m g g
would just navigate to the function in whichever Elixir module it is, simple as that, nothing else.Currently, the same shortcut also brings the Quickfix bottom window with the following text, expecting some input:
which just stays there, even after I do
SPC m ,
to go back. The only way to get rid of it is to doSPC w j
+Ctrl g
, but If I try toCtrl g
while I'm looking at the newly opened buffer, this closes the buffer as well.Reproduction guide :beetle:
SPC m g g
on a function call to go to function's definitionObserved behaviour: :eyes: :broken_heart: Quickfix comes up with the mentioned annoying message, until dismissed, which dismisses the currently opened buffer as well.
Expected behaviour: :heart: :smile: Quickfix should not be there to bother you.
System Info :computer:
Backtrace :paw_prints:
N/A