syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.65k stars 4.89k forks source link

Spacemacs hangs under normal usage (moving the cursor, etc) #4208

Closed auser closed 4 years ago

auser commented 8 years ago

I've been using spacemacs for the past year and have had very few issues, but when reseting my spacemacs to head and reseting my .spacemacs file, all of a sudden I get 'hiccups' when moving the cursor where spacemacs pauses and hangs briefly until it can "catch" up. It basically renders spacemacs useless for development right now. Has anyone else experienced this problem?

SPC h d s:

System Info

(auto-completion better-defaults emacs-lisp html yaml dockerfile lua osx
                 (clojure :variables clojure-enable-fancify-symbols t)
                 colors themes-megapack)

My emacs port was installed via Homebrew:

brew install emacs --HEAD --use-git-head --cocoa --srgb

Any ideas?

StreakyCobra commented 8 years ago

Do you have the possibility to try emacs 24.5 with the same config? We know there are some problems on emacs 25, it may be the case here.

auser commented 8 years ago

Thanks for the suggestion/idea @StreakyCobra

When running on 24, I get the following error (I think this is a helm error?)

byte-code: Symbol's function definition is void: eieio-make-class-predicate
StreakyCobra commented 8 years ago

Hum, can you try to move (or remove) the ~/.emacs.d/elpa folder, byte-compiled code could be different between versions.

auser commented 8 years ago

@StreakyCobra Unfortunately it doesn't fix it. I ended up recompiling/reinstalling everything and the problem still persists.

EDIT: I didn't see your earlier suggestion. I'll try that

StreakyCobra commented 8 years ago

Yes, when installing another emacs version it's better to recompile all bytecode files because it may be incompatible. Removing the elpa/ dir force redownload and recompilation of packages, but you can also do: M-: (byte-recompile-directory package-user-dir nil 'force) RET

auser commented 8 years ago

@StreakyCobra Okay, after a complete uninstall/reinstall, the problem still exists.

I've noticed that it happens after I Cmd+Tab. It exists on both 25 and 24.

SPC h d s:

System Info

(auto-completion better-defaults emacs-lisp html yaml dockerfile lua osx clojure colors themes-megapack)

Additionally, I'm using the clojure layer

StreakyCobra commented 8 years ago

Clojure + Emacs 25 + OS X :wink: Nothing that I'm using, so I don't know how to help more, sorry :pensive:

voeler commented 8 years ago

I had considerable lag in spacemacs for pretty much any input. Finally, after disabling minor modes one by one, I found that flycheck caused the issue. After disbling spacemacs is really responsive. I'd sugggest trying a similar approach to isolate the issue. See also #1114.

xetra11 commented 8 years ago

Hey guys,

I also have those "hiccubs". Mostly when I'm navigating down/up for a while. I switched to Use M-g g to jump directly to a line number but that's not always the best solution for me.

System Info:

OS: Linux Mint Emacs: 24.5.1 Spacemacs: spacemacs-0.105.22 Spacemacs branch: master Distribution: spacemacs Layers:

voeler commented 8 years ago

@xetra11 Did you try disabling the syntax-checking layer (flycheck)? Alternatively disable all layers and see if the problem persists.

CMCDragonkai commented 7 years ago

I'm getting as well, but I don't have the flycheck, and I'm running spacemacs 64 bit on Windows 10. Every once and a while, the cursor just hangs when I'm trying to move it up or down. It's stock spacemacs with just some of the default layers installed (uncommenting some of the lines in the spacemacs config file).

github-actions[bot] commented 4 years ago

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!