You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was attempting to create a polymode for literate-calc so I can embed it into any mode without having to use the minor mode and without the "session" leaking across.
I ran into some issues and posted in the Polymode github: polymode/polymode#313, in case you have any insight into how I can do this.
The text was updated successfully, but these errors were encountered:
I've been playing a bit with polymode, but it's not really clear to me how it intends to avoid leakage at this point. LCM maintains calculation results in a simple local defvar, but walks the entire (current-buffer) from (point-min) to (point-max), neither of which are affected by isolation.
Wrapping literate-calc-eval-buffer in polymode-inhibit-in-indirect-buffer means it won't run anymore if the cursor is inside an embedded block, but if it runs in the parent buffer it still runs over the contents of all blocks, as they're considered part of the buffer.
I was attempting to create a polymode for literate-calc so I can embed it into any mode without having to use the minor mode and without the "session" leaking across.
I ran into some issues and posted in the Polymode github: polymode/polymode#313, in case you have any insight into how I can do this.
The text was updated successfully, but these errors were encountered: