From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: eglot picks up builtin jsonrpc, but requires newer version Date: Tue, 17 Sep 2024 22:52:15 +0200 Message-ID: <86r09ioveo.fsf@fastmail.fm> References: <86ttefg8w4.fsf@fastmail.fm> <8634lyuvax.fsf@fastmail.fm> 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="25190"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier via Users list for the GNU Emacs text editor To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 17 22:52:57 2024 Return-path: Envelope-to: geh-help-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 1sqfBw-0006Np-Mc for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Sep 2024 22:52:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqfBS-0004zM-8O; Tue, 17 Sep 2024 16:52:26 -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 1sqfBQ-0004z8-Ao for help-gnu-emacs@gnu.org; Tue, 17 Sep 2024 16:52:24 -0400 Original-Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqfBO-0006uQ-IQ for help-gnu-emacs@gnu.org; Tue, 17 Sep 2024 16:52:24 -0400 Original-Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8D03C1140146; Tue, 17 Sep 2024 16:52:21 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Tue, 17 Sep 2024 16:52:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1726606341; x=1726692741; bh=PdwR68t+GnM5L032bH3iB52knGW6UBrIJq0zdWhho8s=; b= NNVz3JVqyzBE6l3LA5L1ggA6EhujncT4jfUCN2ogyKTigqQ44YMfllH4tztI+vg5 Q3vQA340PFLlUH3Bxd/OliIgiVItWjhIeYR5O7SN1xw+7FNtHYvl4UsFtcx3rGgz C9uo3QOUrBHQVIbbITnG4DlNAuTlab2iADhJuqdwRF+GLmOTe4O6d9IbI1BSVUnl nU1Df+CIjdWOWX3Q+P8WILOfnqnA04hipG8j98ejrxBpJUl2ZowFluo/9tgrKEnt ncFOsMRLI54SrQ/PY0pKh8PzZ4YKVs8lGAKdnswssvIZbzBjv9hIZIMoM8DPmmDt nBMMasiMiQXK/db6e4WMag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726606341; x= 1726692741; bh=PdwR68t+GnM5L032bH3iB52knGW6UBrIJq0zdWhho8s=; b=X vps/5tRoOyGsHdNOHau1hfDaI1Y/0R1ctUcyo9DkD1fkZboNnxN18tKN3F4W5Yn2 cUehOfKPuss5cUDwBHYN2J8X8PbuoQnN8xZ6xl0dkTD3/uzJaCMVLtZa81crBtJe y2T9E8002tJo193j+xBWAM3jIzQXi3ehHjsrG+Qs4RNvcbB17RmreO2vw+Yx8TNd 9cVvcxVt58jhboflymGNo8zHBq0U1MNuc124DivKJGgEWW2BwZXTTX/bMFsLQYvP 1ErnEEtbVACRROAlo6d+h2YEXv+Vih+NEgUbYLpUbfJ7iG1jWyfXQCISk8SxMeVA nfR8HAf8Nj9BtTuaypRfQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekjedgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdej necuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhsse hfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpefggfegkeehveefgfdtgfev jeefgeevheefleeuhefgheegjeehveejuefgjeejtdenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshht mhgrihhlrdhfmhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohephhgvlhhpqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgpdhrtghpthhtohep mhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggr X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Sep 2024 16:52:19 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Tue, 17 Sep 2024 14:22:38 -0400") Received-SPF: pass client-ip=103.168.172.157; envelope-from=joostkremers@fastmail.fm; helo=fhigh6-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148017 Archived-At: On Tue, Sep 17 2024, Stefan Monnier wrote: >> Actually, it was the third option: me misdiagnosing the problem... Eglot >> was using the newer jsonrpc, but it was the built-in Eglot, so it was >> expecting the built-in jsonrpc. > > Please report this as a bug. As an ELPA package, `jsonrpc` needs to be > careful to preserve compatibility with older Emacsen. In all fairness, the newer jsonrpc is still compatible with the built-in eglot (AFAICT the relevant functionality still works), it's just that it issues this warning every time an Eglot-controlled file is opened. For me as a mere user of Eglot, that warning is meaningless, because I cannot do anything about it. It's telling me not to use `:events-buffer-scrollback-size`, but I'm not the one using it in my code. OTOH I'm sure Jo=C3=A3o put some thought into this and he may not have seen= a better way to handle it. If you still think it warrants a bug report, I'll file one, though. --=20 Joost Kremers Life has its moments