[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 4c85df2 02/49: Close #212: Don't block in eglot-i
From: |
Stefan Monnier |
Subject: |
[elpa] externals/eglot 4c85df2 02/49: Close #212: Don't block in eglot-imenu if performing non-essential task |
Date: |
Wed, 17 Mar 2021 18:41:42 -0400 (EDT) |
branch: externals/eglot
commit 4c85df2b04e467b8ed0eca68bd202fd0e7b671f4
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Close #212: Don't block in eglot-imenu if performing non-essential task
eglot-imenu is used by imenu which in turn is used by which-func-mode
called from an idle timer. We don't want it to block in that
situation. Latest which-func mode now sets "non-essential" when
performing its duties, so we leverage that in eglot-imenu.
* eglot.el (eglot-imenu): Use non-essential.
---
eglot.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index 1a53c16..c7f70ea 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2415,7 +2415,8 @@ is not active."
(jsonrpc-request (eglot--current-server-or-lose)
:textDocument/documentSymbol
`(:textDocument
- ,(eglot--TextDocumentIdentifier))))))))
+ ,(eglot--TextDocumentIdentifier))
+ :cancel-on-input non-essential))))))
(defun eglot--apply-text-edits (edits &optional version)
"Apply EDITS for current buffer if at VERSION, or if it's nil."
- [elpa] externals/eglot updated (4edd478 -> 97ed4ca), Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 926d0594 01/49: Close #575: Use flex completion if available by default, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 4c85df2 02/49: Close #212: Don't block in eglot-imenu if performing non-essential task,
Stefan Monnier <=
- [elpa] externals/eglot 16bbf85 03/49: Fix #582: flex completion style is not available on Emacs < 27, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot ceac05c 05/49: Fix #593: Unbreak interactivee eglot--connect for complex contact specs, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 83cd785 12/49: Fix #365: Fix eglot-completion-at-point for multiple matches, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 9da9d69 04/49: C-u M-x eglot discards class guessed by eglot--guess-contact, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 51f1320 09/49: Skip downloading GNU ELPA deps on make check by default, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 6370a1c 10/49: Fix some of eglot-tests.el for new Eldoc library, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 8761f86 11/49: Unbreak eglot-dcase test, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 0c4daa4 13/49: Fix #531: mention M-x eldoc as preferred documentation command, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot e5a9648 07/49: Fix #513: use `path-separator', not ":", in Eclipse/JDT custom code, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot e6ca70c 14/49: Close #599: add rnix-lsp server for nix-mode, community suggestion, Stefan Monnier, 2021/03/17