GNU bug report logs - #65983
Eglot does not support `textDocument/diagnostic` (pull diagnostics)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Justin Talbott <thepalmcivet@HIDDEN>; dated Thu, 14 Sep 2023 22:59:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 22:58:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 14 18:58:28 2023
Received: from localhost ([127.0.0.1]:41436 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgvI3-0007aF-AT
	for submit <at> debbugs.gnu.org; Thu, 14 Sep 2023 18:58:28 -0400
Received: from lists.gnu.org ([2001:470:142::17]:44344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thepalmcivet@HIDDEN>) id 1qgqs4-0003D1-Fi
 for submit <at> debbugs.gnu.org; Thu, 14 Sep 2023 14:15:35 -0400
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 <thepalmcivet@HIDDEN>)
 id 1qgqrs-0008RP-BC
 for bug-gnu-emacs@HIDDEN; Thu, 14 Sep 2023 14:15:08 -0400
Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <thepalmcivet@HIDDEN>)
 id 1qgqrp-0005Ie-Ml
 for bug-gnu-emacs@HIDDEN; Thu, 14 Sep 2023 14:15:08 -0400
Received: by mail-pj1-x1030.google.com with SMTP id
 98e67ed59e1d1-26f3975ddd4so1072558a91.1
 for <bug-gnu-emacs@HIDDEN>; Thu, 14 Sep 2023 11:15:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694715303; x=1695320103; darn=gnu.org;
 h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=HnqlVRxJqnOhKbB2/oItecm5yUNcMBn+GfinV5g2nG0=;
 b=iOsei2WrgTFi8WdRo3xjHhjOz0EG3htDajpBx/u5h8jbpbNew8wyEbydmphCuFtvu+
 yCLmikcj+CnUzCFG+biEsif8mIq3SU9hERKwKk5XyTkOyLLcxGWcO80n1bbcOUh6TYoN
 +Cn6DqJ3UZoas1/JZaNaTIlECcRiqi2hKrgow6A9RJuRP4gw4nBw50xjgGcrWeFN7S5W
 4avH/swAJ+wmHi9ZP92N1+7cL1N0ktpFEzpt8INbY2r7FfuURMj+Xq3MCVvgUHk2ZPpC
 FCxA3fWyBoACMP8B/x9FwTSuXEGU7GOA7ERkYyDjPbqsWSno0wk4DLm4iJhwapL9pGaR
 68aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694715303; x=1695320103;
 h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=HnqlVRxJqnOhKbB2/oItecm5yUNcMBn+GfinV5g2nG0=;
 b=OS8JT2PGJyKBSIAwaocTAO5+tyR/MWptyOt+eZ/tVSj31dUbvob+X0A5DrIorBYITi
 6/oZYNhro04ieKoGVSd/HT7yC7s8K+qM2vnFuUEe1eU5QcZM2lAVuGSULDWNBGbt0q5g
 YAKit77ST0g+PmRuDLxwZGYs9l3V3oDJet2CxzblgmDr9fTlLWS8qA+xwCRhcfz++uoY
 FEbxOpxRQN3cLEM/+aIvw3eC4p65hqbooAziMaYmxU/iPthpDrQu2x8uLo4egipsNHOw
 9tb+b0rJlLhA5tzMcQZPhmsl+crLwLwLTzz9agVULkhMfwsAB+nUeesLnP4P6tWNhJxE
 oPag==
X-Gm-Message-State: AOJu0YzFoxEXeguswoT5ZpFWXmGgP5xGx01z0SAngZayrhAMn8MIdSB1
 dlHdZUmwtl3DHiyEIb/u7EaGx8p1z10gLMQ4+Q6q7pJXyYU=
X-Google-Smtp-Source: AGHT+IHMQbGgK+SUD21O8DRDBjLTbqle9Gx/49HeshNkaBF/GesCHQOZ1eY9Qi33SbEFJZjIQA/uY12Urtn3d6OAiuo=
X-Received: by 2002:a17:90a:c90e:b0:263:f630:228f with SMTP id
 v14-20020a17090ac90e00b00263f630228fmr6404758pjt.23.1694715303497; Thu, 14
 Sep 2023 11:15:03 -0700 (PDT)
MIME-Version: 1.0
From: Justin Talbott <thepalmcivet@HIDDEN>
Date: Thu, 14 Sep 2023 14:14:52 -0400
Message-ID: <CAJ-CUo+-sDGRwYdK2n9ncEz__JsR4Lfn+NmNSJNRuE53SZxgVQ@HIDDEN>
Subject: Eglot does not support `textDocument/diagnostic` (pull diagnostics)
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000a91339060555a7fe"
Received-SPF: pass client-ip=2607:f8b0:4864:20::1030;
 envelope-from=thepalmcivet@HIDDEN; helo=mail-pj1-x1030.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 14 Sep 2023 18:58:25 -0400
Cc: joaotavora@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000a91339060555a7fe
Content-Type: text/plain; charset="UTF-8"

Some LSP servers, such as `ruby-lsp` (https://github.com/Shopify/ruby-lsp)
don't use `textDocument/publishDiagnostic` to publish diagnostics. Instead,
they expect the LSP client to poll and request diagnostics with
`textDocument/diagnostic`. It would be great if Eglot would support this
method of pulling diagnostics.

I first reported this on Github in the Eglot repo as a Discussion:
https://github.com/joaotavora/eglot/discussions/1290

-
best,
Justin Talbott

--000000000000a91339060555a7fe
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Some LSP servers, such as `ruby-lsp` (<a href=3D"http=
s://github.com/Shopify/ruby-lsp">https://github.com/Shopify/ruby-lsp</a>) d=
on&#39;t use `textDocument/publishDiagnostic` to publish diagnostics. Inste=
ad, they expect the LSP client to poll and request diagnostics with `textDo=
cument/diagnostic`. It would be great if Eglot would support this method of=
 pulling diagnostics.</div><div><br></div><div>I first reported this on Git=
hub in the Eglot repo as a Discussion:<br></div><div><a href=3D"https://git=
hub.com/joaotavora/eglot/discussions/1290">https://github.com/joaotavora/eg=
lot/discussions/1290</a><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gm=
ail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><br></di=
v><div dir=3D"ltr">-<br><div>best,<br>Justin Talbott</div></div></div></div=
></div></div>

--000000000000a91339060555a7fe--




Acknowledgement sent to Justin Talbott <thepalmcivet@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#65983; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 18 Sep 2023 23:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.