summaryrefslogtreecommitdiff
path: root/doc/emacs/programs.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-10-20 20:17:45 +0300
committerEli Zaretskii <eliz@gnu.org>2022-10-20 20:17:45 +0300
commit3bab83289415f5169e312064c8fc46a0674b8d9e (patch)
tree151c229c704c3b12946612b529dfcf526b705410 /doc/emacs/programs.texi
parent5c99112e8940d8d4ffef393a3fd05d553b43861b (diff)
downloademacs-3bab83289415f5169e312064c8fc46a0674b8d9e.tar.gz
emacs-3bab83289415f5169e312064c8fc46a0674b8d9e.tar.bz2
emacs-3bab83289415f5169e312064c8fc46a0674b8d9e.zip
Mention Eglot in the Emacs user manual
* doc/emacs/maintaining.texi (Xref): * doc/emacs/programs.texi (Symbol Completion, Imenu): Mention Eglot.
Diffstat (limited to 'doc/emacs/programs.texi')
-rw-r--r--doc/emacs/programs.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 818deb39415..b5e577d96a4 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -287,6 +287,13 @@ they occur in the buffer; if you want alphabetic sorting, use the
symbol @code{imenu--sort-by-name} as the value. You can also
define your own comparison function by writing Lisp code.
+ If Eglot is activated for the current buffer's project
+(@pxref{Projects}) and the current buffer's major mode, Eglot provides
+its own facility for producing the buffer's index based on the
+analysis of the program source by the language-server which manages
+the current buffer. @xref{Eglot Features,,, eglot, Eglot: The Emacs
+LSP Client}.
+
Imenu provides the information to guide Which Function mode
@ifnottex
(@pxref{Which Function}).
@@ -1439,6 +1446,13 @@ candidates:
@itemize @bullet
@item
+If Eglot is activated for the current buffer's project
+(@pxref{Projects}) and the current buffer's major mode, the command
+tries to use the corresponding language server for producing the list
+of completion candidates. @xref{Eglot Features,,, eglot, Eglot: The
+Emacs LSP Client}.
+
+@item
If Semantic mode is enabled (@pxref{Semantic}), the command tries to
use the Semantic parser data for completion.