From unknown Wed Jun 18 23:15:48 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#64859 <64859@debbugs.gnu.org> To: bug#64859 <64859@debbugs.gnu.org> Subject: Status: 30.0.50; Eglot: codeAction.resolveSupport capability is incorrect Reply-To: bug#64859 <64859@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:15:48 +0000 retitle 64859 30.0.50; Eglot: codeAction.resolveSupport capability is incor= rect reassign 64859 emacs submitter 64859 Matan Peled severity 64859 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 25 12:39:06 2023 Received: (at submit) by debbugs.gnu.org; 25 Jul 2023 16:39:07 +0000 Received: from localhost ([127.0.0.1]:46812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOL3x-0003V9-UP for submit@debbugs.gnu.org; Tue, 25 Jul 2023 12:39:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOJXw-0000ON-MN for submit@debbugs.gnu.org; Tue, 25 Jul 2023 11:01:57 -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 1qOJXX-0001PX-Cf for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2023 11:01:34 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOJXU-0001xq-1Z for bug-gnu-emacs@gnu.org; Tue, 25 Jul 2023 11:01:30 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4faaaa476a9so8900086e87.2 for ; Tue, 25 Jul 2023 08:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690297285; x=1690902085; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=YkarLQy5iHKIzCUVQS6X2TUaQ1BYoOCyMlneOuToTgY=; b=gtVi6UvRAlKaM0iCnwEQa+9wNPLqwuRy87T9bIa/r5yUTbCiVZ+edgMmPknbw+LP0i dguolQ1T6aXNuBTL3zAt4AvijErAmMYWju8tFwAe5/xos/5KGSwx2BV1W/EFgZAMRVXH D0e+rgKXaUw9cVgW6gEhfMrXcTSeKu+xIfI8QWa6GmiHV63ASgr03C6ISSZfFx6IWHLN pDvWcEgiH7v2JZruyc1SSzhxp6RrYTPTuVUC1jxuW/OclPy9InvM8oZeR4KS+x8RiJYd xkaVTw+xpyIft2K3gXSPykGrXGkrP0qFjMebGCNKGvqltezcM0jlf5ldLcbngWbUHQhw rk+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690297285; x=1690902085; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YkarLQy5iHKIzCUVQS6X2TUaQ1BYoOCyMlneOuToTgY=; b=KOwY03bc1fjyKhlYkEPnslD1XJIXXnCU8uVkcpXiBUDSWbfhDwIEdHfYzobaJCrWKj F/bvLiV4gctwd9+daKS4gY1HmSaS4lysj2DMvJHUr6fgjDt8/bVFcaFp/N7tjajCG0nI SYPNXgA0wS0f1tNn4Xn4yFzyhBtTE0uvsLtAf0iHERYNqU9ZBX3jl/yjIiYFC/cHF1iR IPLkTu66tCZ7zk9YRobGw7oasdDI8D1TrXoU0eNsXqxzyL9MmpZinKrpqo6cWlgz6/In D84c+r0coCiCGKaaBxLtr/VWb1q/1U8rjbUzKeCxvTWx6v9a++38gt8JEegZsHCPZTq7 G1PQ== X-Gm-Message-State: ABy/qLYd4/Rs886CbPxcXOpdTC+WTveI+dOygZiD4LzQ8EMIORyZS0ob IBv8FnwYqg4s7u/lNvCNBbEkR9C0Wvkwsd9AdXkeM/ktoPA= X-Google-Smtp-Source: APBJJlE0OD4g2y9g/ThGx9Itdeib4TduhkvdyiZpuiyDQKnjXWto/nBDquYIsqC13S+4kM7sUtL4mIWLcdlGG4BXL/4= X-Received: by 2002:a05:6512:114a:b0:4fe:5fc:9c4b with SMTP id m10-20020a056512114a00b004fe05fc9c4bmr1497817lfg.15.1690297284840; Tue, 25 Jul 2023 08:01:24 -0700 (PDT) MIME-Version: 1.0 From: Matan Peled Date: Tue, 25 Jul 2023 18:01:12 +0300 Message-ID: Subject: 30.0.50; Eglot: codeAction.resolveSupport capability is incorrect To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=chaosite@gmail.com; helo=mail-lf1-x130.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Jul 2023 12:39:00 -0400 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 (/) I'm using a recent snapshot build. When trying to use Eglot on Rust code (with the rust-analyzer LSP server), it crashes complaining about the InitializationOptions message being misformed. This is due to this commit: https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/progmodes/eglot.el?id=3b7273f4ae3623962c5d5fdc922a62af1136f448 resolveSupport is supposed to be a list, not a boolean, see here: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction I'm not sure what properties Eglot supports here, so I'm not certain on what the correction should be. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-07-11, unofficial emacs-snapshot build: http://emacs.secretsauce.net built on fatty Windowing system distributor 'The X.Org Foundation', version 11.0.12101007 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-native-compilation --with-pop=yes --with-tree-sitter --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/30.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/30.0.50/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-native-compilation --with-pop=yes --with-tree-sitter --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/30.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/30.0.50/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-imagemagick --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-snapshot-C4ag1V/emacs-snapshot-20230711+emacs-28.2-166010-g04710bd01b2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_IL value of $XMODIFIERS: @im=ibus locale-coding-system: iso-latin-1-unix Major mode: Fundamental Minor modes in effect: recentf-mode: t all-the-icons-ivy-rich-mode: t ivy-rich-mode: t counsel-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t global-git-commit-mode: t magit-auto-revert-mode: t server-mode: t amx-mode: t ivy-mode: t nyan-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t global-company-mode: t company-mode: t windmove-mode: t projectile-mode: t global-whitespace-mode: t whitespace-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t override-global-mode: t tooltip-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/mip/.emacs.d/lisp/capnp-mode hides /home/mip/.emacs.d/elpa/capnp-mode-20210707.2310/capnp-mode /home/mip/.emacs.d/elpa/transient-20230723.1411/transient hides /usr/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug rust-ts-mode c-ts-common misearch multi-isearch recentf tree-widget magit-bookmark bookmark eglot external-completion jsonrpc ert ewoc debug backtrace tramp tramp-loaddefs trampver tramp-integration tramp-compat all-the-icons-ivy-rich all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons ivy-rich counsel swiper timezone texinfo texinfo-loaddefs toolbar-x reporter desktop frameset context plain-tex auctex-latexmk latex latex-flymake flymake-proc flymake tex-ispell tex-style tex dbus xml texmathp elpy-rpc elpy-shell elpy-profile elpy-django elpy-refactor hideshow cus-edit pp cus-start cus-load wid-edit python treesit pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util forge-list forge-commands forge-semi forge-bitbucket forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml parse-time iso8601 bug-reference forge-post forge-repo forge forge-core forge-db closql emacsql-sqlite-common emacsql emacsql-compiler eieio-base buck ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util files-x vc-git vc-dispatcher skeleton ibuf-macs find-dired loaddefs-gen radix-tree tar-mode arc-mode archive-mode mm-archive mule-util network-stream url-cache display-line-numbers facemenu two-column rainbow-mode keys user-macros quick-yes display zenburn-theme settings rustic-flycheck rustic-spellcheck rustic-expand rustic-lsp rustic-playground rustic-rustfix rustic-racer rustic-babel rustic-rustfmt org-element org-persist org-id org-refile avl-tree org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-version org-compat org-macs rustic-comint rustic-clippy rustic-doc xdg f f-shortdoc rustic-popup rustic-cargo rustic-compile spinner xterm-color markdown-mode edit-indirect noutline outline rustic-interaction rustic rust-utils rust-mode ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth let-alist gnutls magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff git-commit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor shell pcomplete server magit-mode transient magit-git magit-base magit-section format-spec cursor-sensor crm compat powerline powerline-separators powerline-themes amx s ivy delsel ivy-faces ivy-overlay colir color go-mode ffap nyan-mode flycheck find-func dash company-quickhelp pos-tip diminish company-oddmuse company-keywords company-etags etags fileloop generator xref company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company find-file-in-project advice ido windmove diff-mode find-lisp dired dired-loaddefs find-file projectile project lisp-mnt grep compile text-property-search comint ansi-osc ansi-color ring ibuf-ext ibuffer ibuffer-loaddefs thingatpt latex-pretty-symbols edmacro kmacro jka-compr whitespace custom-functions auto-compile comp comp-cstr warnings icons rx cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf 0xc-autoloads all-the-icons-ivy-rich-autoloads all-the-icons-autoloads amx-autoloads auctex-latexmk-autoloads auctex-autoloads tex-site auto-compile-autoloads capnp-mode-autoloads clang-format+-autoloads clang-format-autoloads company-coq-autoloads company-math-autoloads company-quickhelp-autoloads counsel-projectile-autoloads counsel-autoloads diminish-autoloads elpy-autoloads company-autoloads find-file-in-project-autoloads forge-autoloads closql-autoloads emacsql-autoloads ghub-autoloads go-mode-autoloads google-c-style-autoloads highlight-indentation-autoloads ivy-rich-autoloads kotlin-mode-autoloads latex-pretty-symbols-autoloads lua-mode-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads math-symbol-lists-autoloads nyan-mode-autoloads pos-tip-autoloads powerline-autoloads projectile-autoloads proof-general-autoloads proof-site proof-autoloads pyvenv-autoloads rainbow-mode-autoloads rustic-autoloads markdown-mode-autoloads f-autoloads rust-mode-autoloads spinner-autoloads string-inflection-autoloads swiper-autoloads ivy-autoloads tide-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads s-autoloads dash-autoloads transient-autoloads treepy-autoloads vue-mode-autoloads edit-indirect-autoloads ssass-mode-autoloads vue-html-mode-autoloads mmm-mode-autoloads web-mode-autoloads with-editor-autoloads info compat-autoloads xterm-color-autoloads yaml-autoloads yasnippet-autoloads zenburn-theme-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 2662645 491256) (symbols 48 59074 1) (strings 32 456025 48066) (string-bytes 1 23676859) (vectors 16 147324) (vector-slots 8 2278070 131926) (floats 8 1528 9678) (intervals 56 200832 371) (buffers 984 40)) From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 02 02:34:09 2024 Received: (at 64859) by debbugs.gnu.org; 2 Feb 2024 07:34:09 +0000 Received: from localhost ([127.0.0.1]:43565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVo3t-0001yJ-8x for submit@debbugs.gnu.org; Fri, 02 Feb 2024 02:34:09 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:49618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVo3q-0001xk-Av for 64859@debbugs.gnu.org; Fri, 02 Feb 2024 02:34:07 -0500 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-55ef0465507so2147807a12.3 for <64859@debbugs.gnu.org>; Thu, 01 Feb 2024 23:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706859230; x=1707464030; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=RCkxgLrrjRPxTsjIzOnG0DN+dKzkSsFpHOG+pnO6T3w=; b=LDcEDTVxPhGCLQz+zrsB/Bm0ogUrzNJjFkPxMsbMxa/+HJV4U8c4ADGLTLaxQ9qvfr Mf6WkNKu/kLgh7V06OKZG49kmlswGu2sxrm2ZT0mywIgHcTRAEJuqFrE+5Y5kkkQZb29 HzwGpI82ZP6b/NTN7S2qUCqSkJuut2chESy3N+SiHbt4JtbQbMrUo6pCnZOU3sQ15m7c RKmLPq/foryKyuBrOT4NVe29cXzIhw+OTMgMwLGRlcT64N3xhU7QGxdoQxa8NhZE+rZA yYH9FiJEu4GT7VgfmioDhA5V6mmYrUm3CtD5Ggm6saVdNU0zjACjIUQ6U9IrHwEZ5NRF vMjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706859230; x=1707464030; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RCkxgLrrjRPxTsjIzOnG0DN+dKzkSsFpHOG+pnO6T3w=; b=aTQnLBZ6D8H6ycLkPGQwznA9qEqlj8M5V7c7kUhc7nAunKJwIHu/X6Jw9+kDjmZWjB Xp6FvFJHCu5zqJ1CyKT1pvSCufPsg69zxS8vJ4iJrz5vCSSRA7YVgJU4VCbwDYbfS1WJ Jlj0+IvOMN1vAj9gk1hDEU8cUhT9Xh2kJxP/hiIfospk0kLG42XTRv6VB0sua22P0361 vNIx6mF6pIpgf0ugNeCVpd4wmAO5tefSKOJRkcNPFvMu5MzUP+SvTXMRxrg6gMWSX1af GHFAq8nnsABBnsmZTPHnlLAwP5Vg5ITcLNyBPg77uURsHYB0uNide7hnet1QOAV9e8V6 Zh3w== X-Gm-Message-State: AOJu0YzjbH0g9vEKLslXaPD/ygJjSIqYrm2UZDlIa3r7x5C+Tx+Vcp+D QZhYTyUwDVhIQtxX/gTMG1ETysG3YrHRUmD/nQ1fgWTX10FSeiivgyQVgCNcgyYCj7H760iYxfI qs3ZeVM4HS17GaZpU60WiTczfIqLWhTN/YU74SA== X-Google-Smtp-Source: AGHT+IFHxHr7HMj6cCOsIUKwCpc845pw183JmTR6RieitV30WCyW6QLzIvVAHQWs51gwi2EeO8qubYQc6lSomvyyecw= X-Received: by 2002:aa7:c517:0:b0:55c:9168:ea3e with SMTP id o23-20020aa7c517000000b0055c9168ea3emr3157607edq.36.1706859229793; Thu, 01 Feb 2024 23:33:49 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Feb 2024 23:33:49 -0800 From: Stefan Kangas In-Reply-To: (Matan Peled's message of "Tue, 25 Jul 2023 18:01:12 +0300") References: MIME-Version: 1.0 Date: Thu, 1 Feb 2024 23:33:49 -0800 Message-ID: Subject: Re: bug#64859: 30.0.50; Eglot: codeAction.resolveSupport capability is incorrect To: Matan Peled Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 64859 Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , 64859@debbugs.gnu.org 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.3 (/) Matan Peled writes: > I'm using a recent snapshot build. > > When trying to use Eglot on Rust code (with the rust-analyzer LSP > server), it crashes complaining about the InitializationOptions message > being misformed. > > This is due to this commit: > https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/progmodes/eglot.e= l?id=3D3b7273f4ae3623962c5d5fdc922a62af1136f448 > > resolveSupport is supposed to be a list, not a boolean, see here: > https://microsoft.github.io/language-server-protocol/specifications/lsp/3= .17/specification/#textDocument_codeAction > > I'm not sure what properties Eglot supports here, so I'm not certain on > what the correction should be. Jo=C3=A3o, any comments here? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 02 04:14:11 2024 Received: (at 64859) by debbugs.gnu.org; 2 Feb 2024 09:14:11 +0000 Received: from localhost ([127.0.0.1]:43731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVpch-0004jc-7X for submit@debbugs.gnu.org; Fri, 02 Feb 2024 04:14:11 -0500 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:46525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVpce-0004jI-Te for 64859@debbugs.gnu.org; Fri, 02 Feb 2024 04:14:10 -0500 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-511207d62b6so2827100e87.1 for <64859@debbugs.gnu.org>; Fri, 02 Feb 2024 01:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706865232; x=1707470032; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hPt6uYKVveQVE0Guo9Ox8Ia1gySOJo76KQhG4ff/Ehc=; b=juwa6IcjvBPAyFeLqTfcu9EV9N7hJ6pokEAAnhgSUZZvNTn7PF5ZIjOAtMFR2/rbI9 25QwotM+XY2GLGHIXTYiYFJ1IEK9pnXKLk3Ha0tS5ZszfmM3Ad0FwSYwJITGva0w7mbJ z5wga9cXATi7XLNGng1pAyyXVVh0yH59+9GWrV9k3lICLjzKkvMgOfXxz96KixEeY9xP zrmupVa/EEI3AgSBvCS+rn59kE+Fw87e+zhf8/aWSzH40OawPwCFS7jO87w6zSt6HLGW xsKLeE8Da5XocQHIHIv1rM47wTFXKJnZKHcZ/O9O7fTtQXFbUoBGWq0rjtbquB8KHgKf j3ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706865232; x=1707470032; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hPt6uYKVveQVE0Guo9Ox8Ia1gySOJo76KQhG4ff/Ehc=; b=eJCvlt4Jl3NqmUAI80O7coayuK62iWQKdaCPmyYPCooFXLKHU1l200Qc9tqxWm1+bv tH3ZLNb2ATE7eNYq/F/yKKg558N+bq4cyMGzCAPXRu/ro3OJi0hiRx1Si+nGSEMx6JBA vyAKVkR9kAVpU1448ojxGfE/cg8qdFAJG2B1aaKT2VRjbepIcEMjZUnwXZsqKd+W860I p3ib3pHnmwuE43ZTB8K0+n/uxQSxqOPP1pVhNYUj2lLsvDyd1DQ8NFFZh1izZ4mqCWRl upz9npmuP2YG/blBBwj12qhkK7+mEh26Wsb4RilVKsnOqPtmQhQceVuh6LBENrwkuMBR tiYA== X-Gm-Message-State: AOJu0YxZpes5Ph7IdV5UP9cOEhmwucPxJxgjfv1Zgj0DtfXC0OlWEEJF RiW2l2xnajhaSjtenjCAMcIWfzXA2ROeVE2lTQfaokL6ef/8PI4+3jA9y8uiu5AV7sAxpBo/LA0 GHOhGbOsk1ywWIQG4uHFF1mH16e8= X-Google-Smtp-Source: AGHT+IEc4pal8d0DHgDvmacWtA9iOq98zebRby09PPI1Wn0T6VB0OqG/h3JmFVXZZQXHV8S/b4IkqlikRaQiYdnfITg= X-Received: by 2002:a05:6512:3c8b:b0:511:1b24:9c29 with SMTP id h11-20020a0565123c8b00b005111b249c29mr3698869lfv.5.1706865232110; Fri, 02 Feb 2024 01:13:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Fri, 2 Feb 2024 09:13:40 +0000 Message-ID: Subject: Re: bug#64859: 30.0.50; Eglot: codeAction.resolveSupport capability is incorrect To: Stefan Kangas Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 64859 Cc: Matan Peled , 64859@debbugs.gnu.org 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.3 (/) On Fri, Feb 2, 2024 at 7:33=E2=80=AFAM Stefan Kangas wrote: > > Matan Peled writes: > > > I'm using a recent snapshot build. > > > > When trying to use Eglot on Rust code (with the rust-analyzer LSP > > server), it crashes complaining about the InitializationOptions message > > being misformed. > > > > This is due to this commit: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/progmodes/eglot= .el?id=3D3b7273f4ae3623962c5d5fdc922a62af1136f448 > > > > resolveSupport is supposed to be a list, not a boolean, see here: > > https://microsoft.github.io/language-server-protocol/specifications/lsp= /3.17/specification/#textDocument_codeAction > > > > I'm not sure what properties Eglot supports here, so I'm not certain on > > what the correction should be. > > Jo=C3=A3o, any comments here? I think this was already fixed by: commit bc1e7b9b8e681346e407c4dc32272a0bf4decd68 Author: Jo=C3=A3o T=C3=A1vora Date: Wed Jul 12 10:11:34 2023 +0100 Eglot: fix advertisement of textDocument.codeAction.resolveSupport See https://github.com/joaotavora/eglot/issues/1255. * lisp/progmodes/eglot.el (eglot-client-capabilities): Use correct format for textDocument.codeAction.resolveSupport. I just didn't mention the debbugs id. Jo=C3=A3o