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
acme-lsp should make use of the dump ctl message to set the command to restart acme-lsp from a dump file.
It's not clear whether we should keep a persistent window open for dumping purposes, or "/LSP/Diagnostics" window should become persistent, or something else.
The text was updated successfully, but these errors were encountered:
Can you briefly explain how such a thing would be done? I don't understand the mechanism.
I see this in acme(4). I guess you are referring to it, but I struggle to understand what it means, and how to use it.
...
ctl Text messages may be written to ctl to affect the window.
dump command
Set the command string to recreate the window from a dump file.
...
So apparently, one can write to the ctl file of an acme window to affect this window. And one of the possible writeable messages is dump <command>.
But what is the "command string" in that context? What would acme do exactly when such a message is posted? And when should acme-lsp write to that file?
@lobre The "command string" is just the acme-lsp command line arguments. Acme-lsp should write to this file when it starts up. This will tell acme that it should save the "command string" in the dump file, so that acme can restart acme-lsp later when loading from the dump file.
acme-lsp should make use of the
dump
ctl message to set the command to restart acme-lsp from a dump file.It's not clear whether we should keep a persistent window open for dumping purposes, or "/LSP/Diagnostics" window should become persistent, or something else.
The text was updated successfully, but these errors were encountered: