jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.57k stars 150 forks source link

Dumb-jump with preview choices in helm on Enter freeze Emacs #301

Open Pfedj opened 5 years ago

Pfedj commented 5 years ago

From 115. It doesn't work as it described for some reasons. With eval: 1.helm-M-x 2.C-j embedding function from helm is called. My init file:

(require 'helm)
(require 'dumb-jump)
(setq dumb-jump-selector 'helm)

For what reasons it doesn't work?

helm-20191002.1340 dumb-jump-20190804.533 emacs 27.0.50

jacktasia commented 5 years ago

For what reasons it doesn't work?

Does it just do nothing or is there any error/message shown?

It doesn't work as it described for some reasons. With eval:

I don't really understand what you're describing here. It seems like you're potentially not getting into helm via dumb-jump-go result. Can you please expand on the exact steps you're taking?

emacs 27.0.50

This very well might be the reason since emacs 27 is not officially out yet.

Pfedj commented 4 years ago

I made call dumb-jump-go-prompt in a wrong way. I try to call this function for the list from helm-M-x. Now I call it a right way:

  1. M-x dumb-jump-go-promt
  2. C-j to call list of all the functions.

It works, the list of all the functions are shown, now in repeated press C-j temporary buffer opens with the location of the defenition of the function. My problem is in the following: when I press enter to jump to this buffer to the location of the defenition of the function my Emacs freezes until I press C-g. I tried both with enabled (setq dumb-jump-force-searher 'rg) and with defaulted (my project under git). Also I have the folder with .dumbjump with excluded folders and this part works correctly, because I see the whole list of functions.

Also I use OS Windows 10.

jacktasia commented 4 years ago

So it sounds like now it's just really slow? Can you tell me more about the project you're using? Like which programming language and how many files?