Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacken mode does not save excursion #33

Open
alienbogart opened this issue Oct 26, 2019 · 2 comments
Open

Blacken mode does not save excursion #33

alienbogart opened this issue Oct 26, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@alienbogart
Copy link

My Environment

Issue

Rich now blacken-mode does not save-excursion in most of the cases. This breaks the flow of the coding, because every time I run blacken-buffer, or it is run automatically, the cursor goes either to the beginning of the buffer, or to some random place. This makes it impossible to use auto-save modes such as super-save, which are extremely useful. This bug is preventing me from using blacken-mode, which is otherwise extremely useful.

@CeleritasCelery CeleritasCelery added the bug Something isn't working label Nov 20, 2019
@leungbk
Copy link
Contributor

leungbk commented Jun 26, 2020

You could try https://github.com/raxod502/apheleia to cut down on unexpected point movement. It has some problems with undo history though. radian-software/apheleia#15

@cjauvin
Copy link

cjauvin commented Feb 21, 2021

For me the point position is correctly saved in the window where the focus is (not sure what's the correct term for that) however if I have another window with the same buffer, the point position in that other window is lost, and that is somewhat annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants