-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
stops working after fast undo sequence #7
Comments
Hi @andreyorst thanks for submitting this issue, that recording was very helpful. I was able to recreate your bug and I think I was able to fix it. At least, it's fixed on my machine 😅. I pushed it and a few other changes up under tag v0.5.4. Can you let me know if this fixes the issue for you? |
this seems to be fixed, but still one problem persisted, that was observed in my recording as well, although I didn't mentioned it explicetly. In: (defvar a
'(:a 1
:b 2)) add space before (defvar a
'(:a 1
:b 2)) Structure is preserved. Undo once: (defvar a
'(:a 1
:b 2)) Structure is broken. Another undo will fix it, but If you've added more than one space structure will remain broken with each undo until final undo. Recording: https://asciinema.org/a/H5NdmLxw0j2Lm9N47z642veLM I'm using undo-tree package, but it can be reproduced without any undo plugin as well. |
Unfortunately, that's kind of expected behavior within the Emacs Undo system. I've tried various work arounds so that Emacs treats a |
Maybe there are some facilities to group modifications into single undo item? |
I feel that this is a different issue, so let's close this, since the main issue is fixed, and I'll open a new one, explicitly for this undo problem |
indent the some multiline code by some amount of spaces, then undo all by holding undo shortcut and parinfer no longer does anything when indenting code again. No error messages are thrown.
Recording: https://asciinema.org/a/Wk6eSQ2ecVxgFTqFHPThVUEKh
The text was updated successfully, but these errors were encountered: