From unknown Tue Jun 17 20:15:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65983 <65983@debbugs.gnu.org> To: bug#65983 <65983@debbugs.gnu.org> Subject: Status: Eglot does not support `textDocument/diagnostic` (pull diagnostics) Reply-To: bug#65983 <65983@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:15:20 +0000 retitle 65983 Eglot does not support `textDocument/diagnostic` (pull diagno= stics) reassign 65983 emacs submitter 65983 Justin Talbott severity 65983 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 14 18:58:28 2023 Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 22:58:28 +0000 Received: from localhost ([127.0.0.1]:41436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgvI3-0007aF-AT for submit@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 ) id 1qgqs4-0003D1-Fi for submit@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 ) id 1qgqrs-0008RP-BC for bug-gnu-emacs@gnu.org; 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 ) id 1qgqrp-0005Ie-Ml for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 14:15:08 -0400 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-26f3975ddd4so1072558a91.1 for ; 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 Date: Thu, 14 Sep 2023 14:14:52 -0400 Message-ID: Subject: Eglot does not support `textDocument/diagnostic` (pull diagnostics) To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000a91339060555a7fe" Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=thepalmcivet@gmail.com; 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@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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
Some LSP servers, such as `ruby-lsp` (https://github.com/Shopify/ruby-lsp) d= on'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.

I first reported this on Git= hub in the Eglot repo as a Discussion:
https://github.com/joaotavora/eg= lot/discussions/1290

-
best,
Justin Talbott
--000000000000a91339060555a7fe-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 18:53:39 2023 Received: (at control) by debbugs.gnu.org; 18 Sep 2023 22:53:39 +0000 Received: from localhost ([127.0.0.1]:54914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiN7b-0004oG-4Q for submit@debbugs.gnu.org; Mon, 18 Sep 2023 18:53:39 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:52483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiN7X-0004nz-1O for control@debbugs.gnu.org; Mon, 18 Sep 2023 18:53:37 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c00c0f11b2so24409781fa.1 for ; Mon, 18 Sep 2023 15:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695077601; x=1695682401; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=fAJ3EBhZAMXEDNbAVNCz9JPhjpLcqeNse5/FzAUSOHc=; b=aYWd54qx3zHSx8XTDACbZwPh86Yq8/dXjChSosF7aNTSZhO3bT5n9thX70ZcKs75as KOIOWDpO2kahsxO5Zmq2Ems9ZhH0oIra+v8mn2x1NSKYvyNT2ceD99aPSBAFcUDDws+o vdNsa2z0QG7duq57T5SoyUTKpE+odACh7DlOqGu5+A9uunk4cKyFh5N+mKlwGD8FvMk7 LGBkzG8cHFRCHqNEeFhb1cI+dt7sjpOWfSuh5/ej21wG68dQ/svPSc6r1LSse+apH9VE yH01uNy+4TG7ACQVOmNozmtuMAjTZrfpEIQ5pr3Awe0OJpuKeGiPmTpfVGYyXU+x6Mi6 PecA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695077601; x=1695682401; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fAJ3EBhZAMXEDNbAVNCz9JPhjpLcqeNse5/FzAUSOHc=; b=oYB8pKTsjox0ESdG7mFGc8WEYOkB40L6p3xtCfzaz7jdqjwM4/NDuKDHwdYkdAU4Ol KF6bzVB4rjjK+lVaNKXBYNh2GQjAnBUF/bjpOTkTGqDMgKTb4GHzgH5UrgLGbyqEjUzA QUCoVj2/HxnEcZCsqpJdr/xm4hypQejnftJiHNBGD7/YrRYYjd61lkMbdoCaSmbxM1hG FRg+/6R/VIRdB1JVuyDXuUInd7VZcoN+cou6SiKhTDFFsx68iR28sd1UqA417pwJBtny WimqCqCWAaVomVpAonY/+1Uq9l9PWAyCfCeOWxjakYxydSiahr+Mdo9zrG4N2z5BGrWf gCjw== X-Gm-Message-State: AOJu0Yx3TbeRFwd8XxapMN/537TotlxA17sT+beLTKeiaVG/+d6vtyWL C6Eu6kDKNQu+PaIpdb3HUfo2MAC3H2Il4LVw0sLoA3tp X-Google-Smtp-Source: AGHT+IF4bFbpKy4UWGzmHngtj63tTOziXeTP2HANg1tz8V3IJSxSHLwbHrQgM4RHHYAd99L+p4YqcVfeV+rnAMkHT88= X-Received: by 2002:a2e:7312:0:b0:2bf:ff17:811b with SMTP id o18-20020a2e7312000000b002bfff17811bmr4637741ljc.3.1695077600461; Mon, 18 Sep 2023 15:53:20 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 18 Sep 2023 15:53:20 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 18 Sep 2023 15:53:20 -0700 Message-ID: Subject: control message for bug #65983 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 65983 wishlist quit