Skip to content
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

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

Closed
auser opened this issue Dec 16, 2015 · 12 comments
Closed

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

auser opened this issue Dec 16, 2015 · 12 comments
Labels
Emacs 25.1 macOS stale marked as a stale issue/pr (usually by a bot)

Comments

@auser
Copy link

auser commented Dec 16, 2015

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

  • OS: darwin
  • Emacs: 25.1.50.1
  • Spacemacs: 0.104.7
  • Spacemacs branch: master (rev. 878f517)
  • Distribution: spacemacs
  • Layers:
(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
Copy link
Contributor

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
Copy link
Author

auser commented Dec 17, 2015

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
Copy link
Contributor

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

@auser
Copy link
Author

auser commented Dec 17, 2015

@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
Copy link
Contributor

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
Copy link
Author

auser commented Dec 18, 2015

@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

  • OS: darwin
  • Emacs: 24.5.1
  • Spacemacs: 0.104.8
  • Spacemacs branch: master (rev. 44d4525)
  • Distribution: spacemacs
  • Layers:
(auto-completion better-defaults emacs-lisp html yaml dockerfile lua osx clojure colors themes-megapack)

Additionally, I'm using the clojure layer

@StreakyCobra
Copy link
Contributor

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

@voeler
Copy link

voeler commented Aug 5, 2016

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
Copy link

xetra11 commented Sep 21, 2016

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:

  •  html
    
  •  java
    
  •  auto-completion
    
  •  search-engine
    
  •  better-defaults
    
  •  emacs-lisp
    
  •  latex
    
  •  c-c++
    
  •  extra-langs
    
  •  git
    
  •  markdown
    
  •  org
    
  •  rust
    
  •  javascript
    
  •  syntax-checking
    
  •  version-control
    

@voeler
Copy link

voeler commented Sep 21, 2016

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

@CMCDragonkai
Copy link

CMCDragonkai commented Feb 13, 2017

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
Copy link

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!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emacs 25.1 macOS stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

6 participants