-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Freeze while searching in file using / #9220
Comments
There is too little information to diagnose the problem, you can use profiler-start command to check where stacked |
@achikin Do you get this issue when using the Spacemacs |
does excluding the if not, the |
I thought the recommendation to disable unicode in powerline here TheBB/spaceline#123 (comment) fixed my issue, but, it just happened again. I will try |
Did you set it in |
I did not! I've kept away from that expression entirely. I have now set it in dotspacemacs/init, after the setq-default expression. Thanks, I'll see how it goes. |
I'm running the latest |
Quick update: Excluding the |
@carloscheddar that's odd -- but just to double check: a line already exists in the default If not, when the freeze occurs, you might want to triple check your modeline for any unicode characters: I suspect I initially ran into trouble partly because the only unicode symbols I used on my modeline were the workspace numbers, which are frequently hidden (so I didn't notice that I hadn't successfully turned them off). |
@braham-snyder After verifying my config I finally found what was causing the hang. (setq powerline-default-separator 'utf-8) After removing it everything works as expected even with |
My |
it's not clear to me what is causing this issue, but arrow is fine syl20bnr/spacemacs#9220
It also doesn't work for me. I'm not even using spaceline. I'm using |
This bug is driving me nuts. It will lock up my emacs for about 30s-1m, at times, when I search for anything in a large file. Is there a way to disable this instant search until at least three or four characters have been typed? |
@JonathanReeve It's chosen from the On the The default value is: It uses the first tool it finds, as the comment above the variable says:
|
It doesn't seem to matter which tool you use. I've tried it with Once spacemacs gets started with searching and highlighting single letters, it can't be stopped: not with Ctrl+G, not with Esc, or by trying to close Emacs. I'll echo @x-ji's question above and ask: is there a way to disable typeahead search? From there it should be possible to disable it for large files. |
These variables might be what your looking for:
|
Apparently when you set those values to a higher number, say, 1.0, it still has the issue. To reproduce, try doing this:
|
Unfortunately none of the above helped. I did my trick usual of commenting out large chunks of config and found that disabling smooth scrolling fixed it for me.
HTH |
I don't see what scrolling has to do with it. I'm not even scrolling when this is happening. But anyway, I've had smooth scrolling disabled this whole time, so that doesn't help. |
Well neither do I but it seemingly worked. Today, not so well (froze again). So in debugging, the last line before freezing is This is in evil-commands.el in the base evil package. Looking there, I found this bug Testing 'search-invisible' set to nil and will see if that works... |
This should have been fixed in Evil. |
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
Emacs freezes while searching in file using /
Reproduction guide 🐞
/
Observed behaviour: 👀 💔
Expected behaviour: ❤️ 😄
System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: