From 2d12754ee20deb789bd5444f604acda6bb05bbf9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 20 Mar 2025 10:41:26 +0200 Subject: [PATCH] ; Add indexing for Eglot in user manual * doc/emacs/programs.texi (Imenu, Programming Language Doc) (Symbol Completion): * doc/emacs/maintaining.texi (Xref): Index Eglot-related functionalities. --- doc/emacs/maintaining.texi | 1 + doc/emacs/programs.texi | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index b433039eec2..d5e42db00e6 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -2239,6 +2239,7 @@ definitions of symbols. (One disadvantage of this kind of backend is that it only knows about subunits that were loaded into the interpreter.) +@cindex eglot, for finding definitions of identifiers @item If Eglot is activated for the current buffer's project (@pxref{Projects}) and the current buffer's major mode, Eglot consults diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 6bfb9b7e279..85d3bb01012 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -406,6 +406,7 @@ define your own comparison function by writing Lisp code. the variable @code{completion-category-overrides} and setting its @code{display-sort-function} for the category @code{imenu}. +@cindex eglot, for producing Imenu index 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 @@ -1501,6 +1502,7 @@ Global ElDoc mode, which is turned on by default, and turns on the ElDoc mode in buffers whose major mode sets the variables described below. Use @w{@kbd{M-x global-eldoc-mode}} to turn it off globally. +@cindex eglot, using with ElDoc Various major modes configure the Global ElDoc mode to use their documentation functions. Examples include Emacs Lisp mode, Python mode, and Cfengine mode. In addition, Emacs features that provide @@ -1697,6 +1699,7 @@ uses the available support facilities to come up with the completion candidates: @itemize @bullet +@cindex eglot, using to complete symbol at point @item If Eglot is activated for the current buffer's project (@pxref{Projects}) and the current buffer's major mode, the command