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

Unresponsive Python Emacs #30

Open
PieterPaulussen opened this issue Oct 19, 2017 · 3 comments
Open

Unresponsive Python Emacs #30

PieterPaulussen opened this issue Oct 19, 2017 · 3 comments

Comments

@PieterPaulussen
Copy link

Hello,
I just generated a config folder using your bootstrapper. However when I run emacs I notice that it becomes really sluggish in response. Navigating with an arrow to the next line takes like 2 seconds...
Any indication where I could start looking for a solution? Perhaps too many plugins are being loaded?
I'm running (16.04 ubuntu)
Thanks

@rakanalh
Copy link
Contributor

Hi Pieter,

I wouldn't think that the reason is because many plugins are being loaded. Could you share a bit more information about your issue?

  1. What languages did you choose for the generation?
  2. What was the major mode when you were experiencing the slow responses? did you open a text file, python, C?

@PieterPaulussen
Copy link
Author

I installed Python combined with the theme Spacemacs and tried Ivy and Helm as completion frontend.
After installation I let the installer complete (the theme changed etc) and then opened a python file (just a small one ,500 lines or so)
When you open a file, does the completion frontend need to load or construct the data for it?

@rakanalh
Copy link
Contributor

Interesting... i think i've seen this before and the reason could be elpy trying to connect to the backend to retrieve auto-complete information.
What you could do is try elpy-config and verify that you've installed the requirements elpy needs in your local virtualenv: pip install jedi at the very least. elpy-config should show you the rest of it's requirements or you can check out it's github page.

Otherwise, i would profile the code using this guide:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Profiling.html

And you'll get a report where the code is spending most of the time in execution. Let me know how it goes for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants