[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 1.2 7342d88 054/101: Close #115: Don't block kill-buffer-hook if
From: |
Christian Johansson |
Subject: |
[elpa] 1.2 7342d88 054/101: Close #115: Don't block kill-buffer-hook if server somehow hangs |
Date: |
Thu, 29 Apr 2021 15:08:59 -0400 (EDT) |
tag: 1.2
commit 7342d8833cefa88ffe0d4e34cdfed38c70c4a4b1
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Close #115: Don't block kill-buffer-hook if server somehow hangs
* eglot.el (eglot--signal-textDocument/didClose): Use
with-demoted-errors.
---
eglot.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/eglot.el b/eglot.el
index 1a70254..959cc5d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1223,9 +1223,11 @@ When called interactively, use the currently active
server"
(defun eglot--signal-textDocument/didClose ()
"Send textDocument/didClose to server."
- (jsonrpc-notify
- (eglot--current-server-or-lose)
- :textDocument/didClose `(:textDocument ,(eglot--TextDocumentIdentifier))))
+ (with-demoted-errors
+ "[eglot] error sending textDocument/didClose: %s"
+ (jsonrpc-notify
+ (eglot--current-server-or-lose)
+ :textDocument/didClose `(:textDocument
,(eglot--TextDocumentIdentifier)))))
(defun eglot--signal-textDocument/willSave ()
"Send textDocument/willSave to server."
- [elpa] 1.2 2e21c12 084/101: * eglot.el (eglot-client-capabilities): Mention supported SymbolKinds., (continued)
- [elpa] 1.2 2e21c12 084/101: * eglot.el (eglot-client-capabilities): Mention supported SymbolKinds., Christian Johansson, 2021/04/29
- [elpa] 1.2 9cee9eb 086/101: Move constants to top instead of forward-declaring, Christian Johansson, 2021/04/29
- [elpa] 1.2 fc9bbf7 096/101: Fix #160: Properly delete inserted text after completion, Christian Johansson, 2021/04/29
- [elpa] 1.2 b573d42 003/101: Close #44: Don't turn on flymake-mode any more than is needed, Christian Johansson, 2021/04/29
- [elpa] 1.2 13d8da4 039/101: Fix textDocument/hover responses where MarkedString is a plist (#72), Christian Johansson, 2021/04/29
- [elpa] 1.2 cf4881c 081/101: Simplify eglot-code-action. Fix compilation warning, Christian Johansson, 2021/04/29
- [elpa] 1.2 0f8091f 082/101: Fix a bug when response to definitions request is a single location, Christian Johansson, 2021/04/29
- [elpa] 1.2 a81bb01 091/101: Tweak solution to #125 with a hint from Fangrui Song, Christian Johansson, 2021/04/29
- [elpa] 1.2 ba41ed8 099/101: Fix #167: correctly insert TextEdit-less snippets, Christian Johansson, 2021/04/29
- [elpa] 1.2 aa3de04 021/101: Require jsonrpc.el 1.0.2 (GNU ELPA didn't build 1.0.1), Christian Johansson, 2021/04/29
- [elpa] 1.2 7342d88 054/101: Close #115: Don't block kill-buffer-hook if server somehow hangs,
Christian Johansson <=
- [elpa] 1.2 985ba0f 062/101: Improve signature help, Christian Johansson, 2021/04/29
- [elpa] 1.2 0509576 042/101: Improve snippet support, Christian Johansson, 2021/04/29
- [elpa] 1.2 97b9c06 065/101: Override eglot-execute-command for eclipse.jdt.ls server, Christian Johansson, 2021/04/29
- [elpa] 1.2 1aeeb45 085/101: Support ocaml-language-server out of the box (#149), Christian Johansson, 2021/04/29
- [elpa] 1.2 e5738ff 094/101: Per #144: Format documentation of signature parameters, Christian Johansson, 2021/04/29
- [elpa] 1.2 e70be91 101/101: * eglot.el (Version): Bump to 1.2, Christian Johansson, 2021/04/29