-
Notifications
You must be signed in to change notification settings - Fork 32
Description
I set the black package so it blacks on save:
(add-hook 'python-mode-hook 'blacken-mode)
That worked fine for about a day, and then my emacs refused to open new files or save existing files after that, until I restart!
(Lucky I am constantly saving my buffers so I lost perhaps ten keystrokes... :-) )
It happened three times before I figured out that it was that one line above. I commented it out and restarted and it's days later and I've seen no issues.
I should have written down the error messages but I was in a hurry - also, I didn't realize it was the black package until I looked at what changes I'd made to my .emacsrc.
The message seemed to me to be implying that emacs had run out of file handles, so my guess is that the black package is somehow leaking file handles.
I'm on Aquamacs for MacOS, a GUI wrapper for emacs. I've been using it for a decade or and the compatibility has been extremely good.
Aquamacs 3.4 GNU Emacs 25.3.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) dated 2018-07-27 rev. 53e2a47a8fbbfce9586fd76891478ac5851ac3b5