Open erikmd opened 4 days ago
My suggestion in Issue#800 was probably naive. I think the problem is more subtle because when we undo a deletion of "foo ) bar ( baz" it means we'll add this string, but we can't figure out whether this undo will change non-comment code without a much finer analysis (in the general case we'll need to compare the code after the undo).
I had refactored PG's behavior w.r.t.
C-_
a long time ago (which was fairly broken before my patches)There is a limitation of the current algorithm of "pg-protected-undo":
FTR: see also https://github.com/ProofGeneral/PG/issues/800