[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot f7a1bf6 49/69: Fix #236: much less noisy mode lin
From: |
João Távora |
Subject: |
[elpa] externals/eglot f7a1bf6 49/69: Fix #236: much less noisy mode line |
Date: |
Sun, 20 Oct 2019 08:21:51 -0400 (EDT) |
branch: externals/eglot
commit f7a1bf69834520052ab6ee9a901b9f6691cfa36d
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Fix #236: much less noisy mode line
* eglot.el (eglot--mode-line-format): Simplify.
---
eglot.el | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/eglot.el b/eglot.el
index cfcfaa7..0a9da05 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1314,7 +1314,7 @@ Uses THING, FACE, DEFS and PREPEND."
(nick (and server (eglot--project-nickname server)))
(pending (and server (hash-table-count
(jsonrpc--request-continuations server))))
- (`(,_id ,doing ,done-p ,detail) (and server (eglot--spinner
server)))
+ (`(,_id ,doing ,done-p ,_detail) (and server (eglot--spinner
server)))
(last-error (and server (jsonrpc-last-error server))))
(append
`(,(eglot--mode-line-props "eglot" 'eglot-mode-line nil))
@@ -1332,15 +1332,13 @@ Uses THING, FACE, DEFS and PREPEND."
(format "An error occured: %s\n" (plist-get last-error
:message)))))
,@(when (and doing (not done-p))
- `("/" ,(eglot--mode-line-props
- (format "%s%s" doing
- (if detail (format ":%s" detail) ""))
- 'compilation-mode-line-run '())))
+ `("/" ,(eglot--mode-line-props doing
+ 'compilation-mode-line-run '())))
,@(when (cl-plusp pending)
`("/" ,(eglot--mode-line-props
- (format "%d outstanding requests" pending) 'warning
+ (format "%d" pending) 'warning
'((mouse-3 eglot-forget-pending-continuations
- "fahgettaboudit"))))))))))
+ "forget pending continuations"))))))))))
(add-to-list 'mode-line-misc-info
`(eglot--managed-mode (" [" eglot--mode-line-format "] ")))
- [elpa] externals/eglot 3604173 64/69: Unbreak eglot--setq-saving if symbol is unbound, (continued)
- [elpa] externals/eglot 3604173 64/69: Unbreak eglot--setq-saving if symbol is unbound, João Távora, 2019/10/20
- [elpa] externals/eglot a11a41b 63/69: Use of company-capf backend in eglot-managed buffers, João Távora, 2019/10/20
- [elpa] externals/eglot 6e93622 27/69: Fix #273: leniently handle invalid positions sent by some servers, João Távora, 2019/10/20
- [elpa] externals/eglot 254fee0 46/69: Use more pyls and less rls in tests, João Távora, 2019/10/20
- [elpa] externals/eglot 0e5e08d 51/69: Support goto-{declaration, implementation, typeDefinition}, João Távora, 2019/10/20
- [elpa] externals/eglot 5a21670 59/69: Fix bug in workspace/didChangeWatchedfiles, João Távora, 2019/10/20
- [elpa] externals/eglot 9359c15 58/69: Close #316: add support for the Ada Language Server, João Távora, 2019/10/20
- [elpa] externals/eglot d6508e0 29/69: Fix #273: fix a typo, João Távora, 2019/10/20
- [elpa] externals/eglot 28ecd5d 34/69: Change the default of eglot-move-to-column-function, João Távora, 2019/10/20
- [elpa] externals/eglot 7a70c97 33/69: Require array package to use current-line (#294), João Távora, 2019/10/20
- [elpa] externals/eglot f7a1bf6 49/69: Fix #236: much less noisy mode line,
João Távora <=
- [elpa] externals/eglot 4c5d0d4 53/69: Misc improvements to the xref glue code, João Távora, 2019/10/20
- [elpa] externals/eglot 5ea4049 68/69: Fix #324: let user keep control of some variables during Eglot sessions, João Távora, 2019/10/20
- [elpa] externals/eglot 33a4f86 69/69: * eglot.el (Version): Bump to 1.5, João Távora, 2019/10/20
- [elpa] externals/eglot cf161b0 41/69: Test with emacs master on Travis, João Távora, 2019/10/20
- [elpa] externals/eglot 9e70cd2 40/69: * eglot-tests.el (python-autopep-formatting): Attempt to fix test., João Távora, 2019/10/20
- [elpa] externals/eglot c3bae0a 44/69: New test for the eglot-autoshutdown defcustom, João Távora, 2019/10/20
- [elpa] externals/eglot 28d8ffe 48/69: Fix #285: unbreak Elm language server which does use :triggerCharacters, João Távora, 2019/10/20
- [elpa] externals/eglot 06ff65d 52/69: Rework and correct major part of xref glue code, João Távora, 2019/10/20
- [elpa] externals/eglot 9951dc5 62/69: Add a test for vscode-json-languageserver's completions, João Távora, 2019/10/20
- [elpa] externals/eglot 124a833 56/69: Add a test for #311 and #279, João Távora, 2019/10/20