jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.89k stars 259 forks source link

Emacs crash on Mac OS X when typing '/path' when in elpy python mode. #1116

Open jtarthur5 opened 7 years ago

jtarthur5 commented 7 years ago

Hi,

I seem to be having a small issue when editing python scripts when in Elpy mode.

If I want to give an os path I try to type /path/to/file, however emacs always crashes after just typing two characters after the '/.

I have the following setup in my init.el: `(elpy-enable)
(elpy-use-ipython)

;; use flycheck not flymake with elpy
(when (require 'flycheck nil t)
(setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
(add-hook 'elpy-mode-hook 'flycheck-mode))

;; enable autopep8 formatting on save
(require 'py-autopep8)
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)`

How could I go about fixing this? Jake

jtarthur5 commented 7 years ago

Ok, I think I have fixed it :)

I had installed GNU emacs via brew, but now I have downloaded emacs-mac, and it has fixed the problem.

Sorry! Jake

jorgenschaefer commented 7 years ago

Thanks for the report, and glad you found a fix! Please do not hesitate to open a new issue if you have further problems! :-)