bbatsov / super-save

Save Emacs buffers when they lose focus
316 stars 20 forks source link

Conflict with blacken mode #30

Open alienbogart opened 5 years ago

alienbogart commented 5 years ago

When used in conjunct with https://github.com/pythonic-emacs/blacken/blob/master/blacken.el, Super Save fails to keep the cursor in the same position (does not save excursion), and it ends up going to the top of the file.

This does not occur with super-save in any other mode, nor if I save the python file manually.

alienbogart commented 5 years ago

It turns out the issue was of my own making - I altered a vital function on super-save-mode. Sorry for the time wasted.

alienbogart commented 5 years ago

Nope. I was wrong.