-
Notifications
You must be signed in to change notification settings - Fork 12
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
Lentic interferes with undo #20
Comments
I haven't seen quite that before -- it's not specific to undo-tree, incidentally, and yes, it's clearly buggy. Lentic and the undo system do not interact well with each other at all at the moment. In general, I find it difficult to predict when switching views. This is the first time that I have seen it happen with a single buffer. Will investigate! Thanks for the report. |
Been investigating this further, and I know why it's happening, but not sure how to fix it yet! |
Thanks for looking into it! |
So, took a while, but this should be fixed now. It requires compiling from Emacs trunk, am afraid. There should be pretests out in a short while. Will close this now. Feel free to reopen if it doesn't work. |
Open lentic-org.el and a lentic view of that file in org mode (
lentic-orgel-org-init
). Write a longer text on one buffer line in either the Elisp view or the org view and executefill-column
to word wrap. This produces several new buffer lines. Then executeundo-tree-undo
.Expected result: the text is on one line as it was before
fill-column
.Actual result: I have to execute undo several times to arrive at the original text in several steps. In each step either two adjacent lines are joined, or the comment characters of a line (
;;
) are removed in the elisp view.Thanks for lentic mode. It looks very promising and I'm looking forward to use it.
The text was updated successfully, but these errors were encountered: