pythonic-emacs / blacken

Python Black for Emacs
GNU General Public License v3.0
193 stars 33 forks source link

Buffer locks up after blacken fix it #35

Open alienbogart opened 4 years ago

alienbogart commented 4 years ago

My Environment

Use-package declaration

(use-package blacken
  :ensure t
  :config
  (setq blacken-fast-unsafe nil)
  (setq blacken-line-length 79))

Issue

Every time blacken-mode fixes the code by itself, or that I run blacken-buffer, Emacs freezes and I have to run C-g to get it back. This is the error I get in *Messages*:

Error while checking syntax automatically: (error "Lisp nesting exceeds  max-lisp-eval-depth ")
alienbogart commented 4 years ago

Not sure why but it started working after a bunch of reboots. Please ignore for now. I'll update this issue if it come back.