]> git.eshelyaron.com Git - emacs.git/commit
Trim some edges and add a bunch of boring rpc methods
authorJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 22:59:56 +0000 (23:59 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 22:59:56 +0000 (23:59 +0100)
commit009062feb70d5d9ea0c3c68f7c1a977bdb4c80bb
treeb266622b3a33d849916a98ee393050da2ea43d19
parent6c84a2e8cbb1a1e9881710edc26c86f7947f2dd0
Trim some edges and add a bunch of boring rpc methods

* eglot.el (eglot--connect): Don't call eglot--protocol-initialize.
(eglot--process-filter): Break long line.
(eglot--process-receive): Also pass id to handler if a server request.
(eglot--log): New helper.
(eglot-editing-mode): Manage before-revert-hook,
after-revert-hook, before-save-hook, after-save-hook.
(eglot--protocol-initialize): Removed.
(eglot--server-window/showMessage): Simplify.
(eglot--server-window/showMessageRequest)
(eglot--server-window/logMessage, eglot--server-telemetry/event):
New handlers.
(eglot--signal-textDocument/willSave)
(eglot--signal-textDocument/didSave): New notifications.
(eglot--signal-textDocument/didOpen)
(eglot--signal-textDocument/didClose): Check
eglot--buffer-open-count.
(eglot--buffer-open-count): New var.
lisp/progmodes/eglot.el