blacken icon indicating copy to clipboard operation
blacken copied to clipboard

Buffer locks up after blacken fix it

Open alienbogart opened this issue 6 years ago • 1 comments

My Environment

  • OS: MX Linux 18
  • $ uname -r: 4.19.0-5-amd64
  • dotfiles
  • i3wm version 4.13
  • ~/.config/i3
  • GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2019-11-19
  • ~/.emacs.d
  • blacken-20191024.1230

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 avatar Nov 21 '19 17:11 alienbogart

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.

alienbogart avatar Nov 21 '19 17:11 alienbogart