在 WSL 上能编译出来,不过给原生 Windows Emacs 用没能试成功,但是大概明白在 macOS 上不能用是怎么回事了,有空再试试看。
read-message
2024 10 19 0 5 50 869441171
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"processId":17924,"clientInfo":{"name":"Eglot","version":"1.17"},"rootPath":"g:/","rootUri":"file:///g%3A/","initializationOptions":{},"capabilities":{"workspace":{"applyEdit":true,"executeCommand":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":false},"configuration":true,"workspaceFolders":true},"textDocument":{"synchronization":{"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":false,"completionItem":{"snippetSupport":true,"deprecatedSupport":true,"resolveSupport":{"properties":["documentation","details","additionalTextEdits"]},"tagSupport":{"valueSet":[1]}},"contextSupport":true},"hover":{"dynamicRegistration":false,"contentFormat":["plaintext"]},"signatureHelp":{"dynamicRegistration":false,"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true},"documentationFormat":["plaintext"],"activeParameterSupport":true}},"references":{"dynamicRegistration":false},"definition":{"dynamicRegistration":false,"linkSupport":true},"declaration":{"dynamicRegistration":false,"linkSupport":true},"implementation":{"dynamicRegistration":false,"linkSupport":true},"typeDefinition":{"dynamicRegistration":false,"linkSupport":true},"documentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"documentHighlight":{"dynamicRegistration":false},"codeAction":{"dynamicRegistration":false,"resolveSupport":{"properties":["edit","command"]},"dataSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPreferredSupport":true},"formatting":{"dynamicRegistration":false},"rangeFormatting":{"dynamicRegistration":false},"rename":{"dynamicRegistration":false},"inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"relatedInformation":false,"codeDescriptionSupport":false,"tagSupport":{"valueSet":[1,2]}}},"window":{"showDocument":{"support":true},"workDoneProgress":true},"general":{"positionEncodings":["utf-32","utf-8","utf-16"]},"experimental":{}},"workspaceFolders":[{"uri":"file:///g%3A/","name":"g:/"}]}}
(format "~s is not of type ~s" () #<record type file-node>)
2024 10 19 0 5 50 870197951
send-message
2024 10 19 0 5 50 870208661
{"jsonrpc":"2.0","id":1,"error":{"code":-32001,"message":"initialize"}}
read-message
2024 10 19 0 5 51 39552480
原因其实 startup.md 里多少有提到,但是写作过于随性我一开始没看慬。昨天本就有所怀疑现今明确了。
Please check if you installed the original one
写的什么玩意,麻烦解释下什么 original one?Chez Scheme?Chez-exe?我猜是 petite-chez.a 的原因试下了才整出来的。
In WSL, although it’s kind of another Linux,
compile-chez-program
might fail with such a message:
显然这个问题和是不是 Linux 没关系。明显是 chez-exe 编译好后要怎么 install 的问题。