]> git.eshelyaron.com Git - emacs.git/commitdiff
Document earlier change in eglot-report-progress
authorTheodor Thornhill <theo@thornhill.no>
Wed, 17 Apr 2024 18:27:35 +0000 (20:27 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Apr 2024 11:04:27 +0000 (14:04 +0300)
* lisp/progmodes/eglot.el (eglot-report-progress): Document the changed
behavior.
* etc/EGLOT-NEWS (https): Mention the change.

(cherry picked from commit 0dbd9ed04660152276696e462359204a45ca933d)

etc/EGLOT-NEWS
lisp/progmodes/eglot.el

index 12e7d3f6b9b4c981456c0a60920673978313214e..0e3e4b7aff846ff62e62625db7d038b88d564b8a 100644 (file)
@@ -20,6 +20,12 @@ https://github.com/joaotavora/eglot/issues/1234.
 \f
 * Changes in upcoming Eglot
 
+** Disable workDoneProgress if eglot-report-progress is nil
+
+Eglot will now try to not register $/progress messages from the server
+when the defcustom is set to nil.  This requires a restart of the server
+for the change to take effect.
+
 \f
 * Changes in Eglot 1.17 (25/1/2024)
 
index 46b17de5f98b1eff104c5acce6b98d67e885b0b9..5bac6a5163f274ad14d2e31deebaba65c7bf7a03 100644 (file)
@@ -517,7 +517,10 @@ ACTION is the default value for commands not in the alist."
 (defcustom eglot-report-progress t
   "If non-nil, show progress of long running LSP server work.
 If set to `messages', use *Messages* buffer, else use Eglot's
-mode line indicator."
+mode line indicator.
+
+For changes on this variable to take effect, you need to restart
+the LSP connection.  That can be done by `eglot-reconnect'."
   :type '(choice (const :tag "Don't show progress" nil)
                  (const :tag "Show progress in *Messages*" messages)
                  (const :tag "Show progress in Eglot's mode line indicator" t))