From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Explain a bit more on how to configure language server in Eglot's manual Date: Wed, 15 Mar 2023 14:35:32 +0200 Message-ID: <833566ry3v.fsf@gnu.org> References: <86sfeisu49.fsf@stephe-leake.org> <87356gvkkb.fsf@gmail.com> <87wn3jgof2.fsf@posteo.de> <878rfzt0h7.fsf@posteo.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, emacs-devel@gnu.org To: Michael Eliachevitch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 15 13:36:00 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcQMJ-0000DQ-B5 for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Mar 2023 13:35:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcQLz-0007nm-SN; Wed, 15 Mar 2023 08:35:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcQLx-0007ld-GZ for emacs-devel@gnu.org; Wed, 15 Mar 2023 08:35:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcQLx-0007wD-3I; Wed, 15 Mar 2023 08:35:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=q+NE61Fmm1SUrfJcRWd4dioytAFgaXuKrVq9a504VH8=; b=a0L9JCXK1+9L nwahDQmbq+FmnHAjdh9c8fvfUA9gWepMJo05sUdzdf7Pjt05inafsrc62ULMpdGoS1pOZP6CZDI7d GjxtoX4S7byYYlWPDZd2XWylnRe98kDfCf2seHy8L5y7jvME8n89nJA6wortcFggoer0yLFX6NKeX P7ltdfU/Jn5O9vOuPw0N2OB3+9uItwhOsh5TMMISsl/mjsoxnLcFInJZilvOICCpK57sR54lITBM1 DtSa1E4idKHemntWtc78qSRH1UgjfoYy8p7GHodoGoH6CLx+bQtkUB3bDfa2tHzI2qcXsMdEcDrMP QLmNw3a+Sej8ZBr9jJehIg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcQLw-0005BW-JB; Wed, 15 Mar 2023 08:35:36 -0400 In-Reply-To: <878rfzt0h7.fsf@posteo.de> (message from Michael Eliachevitch on Tue, 14 Mar 2023 22:27:00 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304493 Archived-At: > From: Michael Eliachevitch > Cc: emacs-devel@gnu.org > Date: Tue, 14 Mar 2023 22:27:00 +0000 > > --- a/doc/misc/eglot.texi > +++ b/doc/misc/eglot.texi > @@ -1214,7 +1214,7 @@ supported. It consists of @emph{globally} setting > @code{eglot-workspace-configuration}, a variable originally intended > for project-specific configuration. This has the same effect as > giving all your projects a certain default configuration, as described > -in @xref{Project-specific configuration}. Here is an example. > +in @xref{Project-specific configuration}. Here is an example: @xref here is wrong: it produces a capitalized "See", so is only appropriate at the beginning of a sentence. You want @pxref instead. > @lisp > (:pylsp (:plugins (:jedi_completion (:include_params t > - :fuzzy t) > - :pylint (:enabled :json-false))) > + :fuzzy t) > + :pylint (:enabled :json-false > + :args ["--disable" "C0103"]))) > :gopls (:usePlaceholders t)) > @end lisp > > -Is serialized by Eglot to the following JSON text: > +is serialized by Eglot to the following JSON text: If you want to continue a sentence after @lisp, you need to have @noindent before the text.