[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 616ad53 13/62: Close #48: be less verbose when us
From: |
Stefan Monnier |
Subject: |
[elpa] externals/eglot 616ad53 13/62: Close #48: be less verbose when using eglot-ensure |
Date: |
Sat, 29 Sep 2018 17:13:29 -0400 (EDT) |
branch: externals/eglot
commit 616ad53676365c5aa1e4cb91c46a2585d907917b
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Close #48: be less verbose when using eglot-ensure
* eglot.el (eglot-ensure): Don't message when a buffer is already
managed.
---
eglot.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/eglot.el b/eglot.el
index 77f370e..695db49 100644
--- a/eglot.el
+++ b/eglot.el
@@ -137,7 +137,7 @@ lasted more than that many seconds."
:type '(choice (boolean :tag "Whether to inhibit autoreconnection")
(integer :tag "Number of seconds")))
-
+
;;; API (WORK-IN-PROGRESS!)
;;;
(cl-defmacro eglot--with-live-buffer (buf &rest body)
@@ -225,7 +225,7 @@ lasted more than that many seconds."
:documentation
"Represents a server. Wraps a process for LSP communication.")
-
+
;;; Process management
(defvar eglot--servers-by-project (make-hash-table :test #'equal)
"Keys are projects. Values are lists of processes.")
@@ -417,9 +417,7 @@ INTERACTIVE is t if called interactively."
()
(remove-hook 'post-command-hook #'maybe-connect nil)
(eglot--with-live-buffer buffer
- (if eglot--managed-mode
- (eglot--message "Buffer is already managed by existing `%s'"
- (eglot--project-nickname
(eglot--current-server)))
+ (unless eglot--managed-mode
(let ((server (apply #'eglot--connect (eglot--guess-contact))))
(eglot--message
"Automatically started `%s' to manage `%s' buffers in project
`%s'"
- [elpa] externals/eglot updated (07b235f -> 821b498), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot ad98247 02/62: jsonrpc must be available when compiling, too, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot d936fbd 01/62: Install jsonrpc package when running tests, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 0c85b8f 05/62: Tests only kill server-related buffers when successfull, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 400623f 03/62: Test with Emacs 26.1, not the 26 pre-release, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 5d88eed 06/62: Close #39: Handle experimental/unknown server methods gracefully, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 3ac4b64 04/62: * Makefile (JSONRPC): Call package-refresh-contents, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 8d61eca 09/62: Close #44: Don't turn on flymake-mode any more than is needed, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot a57d5d8 07/62: Close #29: Implement workspace/didChangeConfiguration (#40), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 616ad53 13/62: Close #48: be less verbose when using eglot-ensure,
Stefan Monnier <=
- [elpa] externals/eglot eeb34c6 21/62: Default eglot-handle-notifictiona|request must &allow-other-keys, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 04f7db7 10/62: Per #48: Fix messages of eglot-ensure, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 5808c0d 11/62: Add entry for haskell-ide-engine in eglot-server-programs (#49), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot ec02ffa 14/62: Work around Emacs bugs 32237, 32278 (#53), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot e476411 19/62: Close #58: Erase company-doc buffer in between doc requests, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot dfaa389 12/62: * README.md (Installation and usage): Add haskell-ide-engine, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot a6cad6b 15/62: Fix typo in willSaveWaitUntil RPC request (#51), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 2728e12 22/62: Per #59: eglot-workspace-configuration's keys needn't be keywords, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot fd7e587 27/62: Require jsonrpc.el 1.0.2 (GNU ELPA didn't build 1.0.1), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 99fd6a4 30/62: * eglot.el (eglot-cquery): Capitalize docstring., Stefan Monnier, 2018/09/29