From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#62694: 30.0.50; eglot-tests fails with recent pylsp Date: Fri, 07 Apr 2023 14:47:27 +0200 Message-ID: <87y1n33lls.fsf@gmx.de> References: <87sfddibcn.fsf@gmx.de> <87o7o1tfvc.fsf@gmx.de> <87ile9t5uj.fsf@gmx.de> <87ttxssyef.fsf@gmx.de> <87o7o0rvax.fsf@gmx.de> <835ya8otvh.fsf@gnu.org> <83355cot57.fsf@gnu.org> <83wn2ondpe.fsf@gnu.org> <871qkv6gpm.fsf@gmx.de> <87355bj2w5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4007"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 62694@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 14:48:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pklVn-0000tc-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 14:48:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pklVd-0004Jv-VB; Fri, 07 Apr 2023 08:48:05 -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 1pklVc-0004JL-D9 for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:48:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pklVa-0002Ea-62 for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:48:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pklVa-0000ai-2a for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Apr 2023 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62694 X-GNU-PR-Package: emacs Original-Received: via spool by 62694-submit@debbugs.gnu.org id=B62694.16808716572104 (code B ref 62694); Fri, 07 Apr 2023 12:48:02 +0000 Original-Received: (at 62694) by debbugs.gnu.org; 7 Apr 2023 12:47:37 +0000 Original-Received: from localhost ([127.0.0.1]:55950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pklVB-0000Xr-7p for submit@debbugs.gnu.org; Fri, 07 Apr 2023 08:47:37 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:55849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pklV8-0000XC-4s for 62694@debbugs.gnu.org; Fri, 07 Apr 2023 08:47:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1680871648; i=michael.albinus@gmx.de; bh=JXfLKjb5ebKZTvLxPe3etVIJVt20rl4pOi46q85MbXA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=HJkrXv2YMxo+cwrN5en5zcxUX2SMB7TBwPRA37GlkzMEcYJtaUkOv6lbozrPXqVwz 8stnRpthKYe7K7mz0j5+rRXRDrF4GUXSJyKLMVMskzavr8NmVa3ORy5eZXZzAPWhrY mTx6kaQeTKmIdJEwewQF0MTT2xZ3SFAjP7svtkLdUhR8FY0TbZXbBkko6GOeugzbcs VfgD2HprpF9sH6COBroNhrD5+HYOQBlj0Yzk71ddi0eY0JJnzwnf/sVXPf1sn/Tscn 2EzWSnLYjujI40sVDlN4RmrpxQB+fXhVNUzzhU99XD3HondGPZm2g46ntWawCpw9YB OJSgAeJLk6HXQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.0]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MvsEn-1qdhQu3nwF-00syU9; Fri, 07 Apr 2023 14:47:27 +0200 In-Reply-To: <87355bj2w5.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Fri, 07 Apr 2023 13:24:58 +0100") X-Provags-ID: V03:K1:OpN+0bKhAu3V2JDPZIZJZpkgSVZiaI6mYxg6F4FDsNnOCYawVRM Yh5oiTEXwQL8Hx3T/0QduYxVB6VNvjtS+3gtB39HiwrZCiBbpI4RN83S9QaGzWNO67fa5c/ frxRvOtT/kuUR2NoKB+/e0PQ0iHWv8Q3SK2WPsz+WJjowNixVCNXT2tLvvOXST21iXr9jFc ZEt1j5eyEdV7X/8L84iuQ== UI-OutboundReport: notjunk:1;M01:P0:nZliSin8PVY=;p2f93I+pOe+rIlzmCWyWVimTaUi zcJqo015kYgGmMSAIrwB2U5EydPAEBwH7HxBpWyS8cKOlXGrIAV79mBOyz1V27IzCHKDwYK9j KcP4kzGTTShP7Wtvle/WsPIxvZ0g3b/6YQPjPzPsFg0UCCiXwl+v+FW6LQcxWfl/cIvHF+UoG HCRouy2X0HANklHPYJPlNm9pX04kfmjmUsh6mIH5obRZJOi3Aos7gtFmg3b5zBbo/oS3bnhk1 A4Rfh8py8RO8x93VbgCqN6mbXFfd6u06yTqRqg+mTx/W3dyMiZ5c+PsVoPYTRmK9guyDe3YAb r5Ac6AAe9xm7aqYsC/xv0t4QXOYM70+f9I4AThSLSgAJ47Rx2BgVUhHmOyRRT0MHotFwD66Ct rYu8PCX8TwStvPhn8AvaUFvuH1eyEODhwxgU7SCJy9LCjesozyBYYlWvUNB3A+IyToT4Uu6pp WFe73juk/nK3uXohT5/oRwgGhcNwRc0vleBaRSmeLUrVS5E+gxK5Is2xgGgCMsoXhg4eALmgJ w1Lup/RP0Ewt8CWQ18zVPSYCC/GedNabloMNFCVaU4UEs7PrjFkMyCh+GXs/SwFuEh+yUsbfp eCGFt4BDJ0f3iCdoZJNgCdF4pzfUPRx8SwQGLStmKzq2qPFst4MnMDnfWFvZ9rrGRm4kRp71v Qjr6kywcZoJmTJgRUgGVuGTZ4M09/eQQ9cPbWmeHhpViRZAseAkFb16P/T3aUk8T8KxC9ZLcw cTHO9fe3Ug86wU6NLmlwaQ5LGXV8kLPsSj9tgB0I2foD+mMvfGO0N8SHRCO4YoXxCQhdc1ip X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259410 Archived-At: Jo=C3=A3o T=C3=A1vora writes: Hi Jo=C3=A3o, >> (:name "pylsp" :version "1.4.1"))) > > This is not a version problem, Michael. I have 1.7.2. running on my > laptop and it passes all the tests. You say > >> The initialization handshake is identical, except the server info > >> I have absolutely no idea about the language server protocol, and >> whether both server replies are valid communication. If both are valid, >> eglot shall support this. > > Then how, given the information that I've just given you (that pylsp > 1.7.2 passes all the tests), do you plan to do to version checking?? I haven't proposed to check the version number of pylsp. I have just reported the versions from the traces. > Thank you very much for using your Debian to check this, but you're > wasting your time. Since you have "absolutely no idea about the LSP", > can't you "trust" me on this one? LSP coordinates capabilities using > the handshake's capability statements. You have witnessed an identical > capability statement and yet different behaviour. The servers are _not_ > perfect, and Debian's pylsp installation is subtly not behaving > correctly. > >> If not, I believe eglot shall raise an error like "protocol mismatch", > > This doesn't exist in LSP. It just doesn't exist. There are no > protocol versions. I haven't said that this must be an LSP error. Just an Emacs error, raised from eglot. Whether you call it "protocol mismatch" or differently I don't care. And you haven't answered the question, whther the server reply from the Debian pylsp instance is in accordance with the LSP specs. > Jo=C3=A3o Best regards, Michael.