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
When creating a polymode, let's say like poly-js-html-mode where there's HTML inside of a template string in the JavaScript, and I apply a file local variable to set the mode automatically such as:
// Local Variables:// mode: poly-js-html// End:
It seems to enter an infinite loop where it keeps applying the mode variable and keeps asking the kill the HTML buffer (I assume it uses a buffers to manage internal modes) over and over until I hit Ctrl-g.
In the debugger, it looks like maybe it's because it applies the polymode at the top level, loads javascript-mode again for the host, and then it keeps trying to reload the mode variable because it's not the polymode and gets stuck in this loop.
The text was updated successfully, but these errors were encountered:
When creating a polymode, let's say like
poly-js-html-mode
where there's HTML inside of a template string in the JavaScript, and I apply a file local variable to set the mode automatically such as:It seems to enter an infinite loop where it keeps applying the mode variable and keeps asking the kill the HTML buffer (I assume it uses a buffers to manage internal modes) over and over until I hit Ctrl-g.
In the debugger, it looks like maybe it's because it applies the polymode at the top level, loads javascript-mode again for the host, and then it keeps trying to reload the mode variable because it's not the polymode and gets stuck in this loop.
The text was updated successfully, but these errors were encountered: