summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-04-28 12:14:26 -0400
committerEli Zaretskii <eliz@gnu.org>2023-04-28 12:14:26 -0400
commite155df7da785df732d34c9437abd24252c5be9ae (patch)
treef149e17506e6afd34fca75ca90650ae214fcce9d /doc
parent6ebce84ff2b4e488fbffaa0f7cc2b06580557bf7 (diff)
parent212e30f6789cd080a9428958872ffcaab6bf248a (diff)
downloademacs-e155df7da785df732d34c9437abd24252c5be9ae.tar.gz
Merge from origin/emacs-29
212e30f6789 ; Fix byte-compilation warnings in c-ts-mode.el 1f2214dabd0 Skip over whitespace in annotation-top-cont check (bug#63... 7e136c51f6f Update zh-CN tutorial translation d3ca0b3aa2e ; * lisp/progmodes/c-ts-mode.el: Fix comments and doc str... c6f15c24862 ; Fix last change. b9e06330f75 ; * etc/NEWS: Followup to bug#62720. b33d25f5967 ; Minor improvements in doc strings of package-upgrade co... c3a61870b94 Fix eglot.texi # Conflicts: # etc/NEWS
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/eglot.texi33
1 files changed, 21 insertions, 12 deletions
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index 4599b78ba56..542a4259d66 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/eglot.texi
@@ -1275,9 +1275,15 @@ pop up special buffers that can be used to inspect the communications
between the Eglot and language server. In many cases, this will
indicate the problems or at least provide a hint.
+@menu
+* Performance::
+* Getting the latest version::
+* Reporting bugs::
+@end menu
+
@node Performance
@section Performance
-@cindex performance
+@cindex performance problems, with Eglot
A common and easy-to-fix cause of performance problems is the length
of the Eglot events buffer because it represent additional work that
Eglot must do. After verifying Eglot is operating correctly but
@@ -1293,23 +1299,26 @@ configuration}).
@node Getting the latest version
@section Getting the latest version
-@cindex updating Eglot
+@cindex upgrading Eglot
-To install the latest Eglot on an Emacs version that does not bundle
+To install the latest Eglot in an Emacs version that does not bundle
Eglot, use @kbd{M-x package-install}.
Often, a newer Eglot version exists that has fixed a longstanding bug,
-has more LSP features, or just better support for a particular
-language server. Recent Eglot versions can self-update via the
-command @kbd{M-x eglot-update}. This will replace any currently
-installed version with the newest one available from the ELPA archives
+has more LSP features, or just better supports a particular language
+server. Recent Eglot versions can self-update via the command
+@kbd{M-x eglot-update}. This will replace any currently installed
+version with the newest one available from the ELPA archives
configured in @code{package-archives}.
-You may update though other methods, such as @code{package-install},
-@code{use-package}, @code{list-packages} or the newer
-@code{package-update}. However, do read the docstrings of these
-commands, as some may not work in exactly the same way across Emacs
-versions, meaning your configuration may be not portable.
+You can also update Eglot through other methods, such as
+@code{use-package} (@pxref{Installing packages,,, use-package,
+use-package User Manual}), @code{package-install},
+@code{list-packages} or the newer @code{package-upgrade}
+(@pxref{Packages,,, emacs, GNU Emacs Manual}). However, do read the
+docstrings of the command you intend to use before you use it, as some
+of them may not work in exactly the same way across Emacs versions,
+meaning your configuration may be not portable.
@node Reporting bugs
@section Reporting bugs