From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61726: [PATCH] Eglot: Support positionEncoding capability Date: Sat, 25 Feb 2023 12:58:26 +0200 Message-ID: <838rgmko4t.fsf@gnu.org> References: <87a614g628.fsf@gmail.com> <83v8jspgnr.fsf@gnu.org> <87lekodxja.fsf@gmail.com> <83a614p4sh.fsf@gnu.org> <87cz60dus9.fsf@gmail.com> <835ybrpnqj.fsf@gnu.org> <87y1oncz09.fsf@gmail.com> <83r0ufo3uc.fsf@gnu.org> <87356vbf0b.fsf@gmail.com> <83pm9znw0i.fsf@gnu.org> <87lekn9ss3.fsf@gmail.com> <83h6vbntqd.fsf@gnu.org> <878rgn9r6u.fsf@gmail.com> <83edqfnq5u.fsf@gnu.org> <83bkljnpck.fsf@gnu.org> <874jrb9l6d.fsf@gmail.com> <834jrbnlaf.fsf@gnu.org> <87v8jr83ic.fsf@gmail.com> <83v8jrm4r0.fsf@gnu.org> <87fsav7x81.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37659"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61726@debbugs.gnu.org, arstoffel@gmail.com 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 Sat Feb 25 11:59:18 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 1pVsGr-0009f3-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Feb 2023 11:59:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVsGi-0008MT-Qw; Sat, 25 Feb 2023 05:59:08 -0500 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 1pVsGh-0008MF-0t for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 05:59:07 -0500 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 1pVsGg-00054J-Iu for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 05:59:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVsGc-0000ba-FI for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 05:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Feb 2023 10:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61726-submit@debbugs.gnu.org id=B61726.16773227132279 (code B ref 61726); Sat, 25 Feb 2023 10:59:02 +0000 Original-Received: (at 61726) by debbugs.gnu.org; 25 Feb 2023 10:58:33 +0000 Original-Received: from localhost ([127.0.0.1]:39261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVsG9-0000ah-A4 for submit@debbugs.gnu.org; Sat, 25 Feb 2023 05:58:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVsG7-0000aU-Pk for 61726@debbugs.gnu.org; Sat, 25 Feb 2023 05:58:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVsG1-00050Q-KC; Sat, 25 Feb 2023 05:58:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=/uD6vaEgsyaNe1hQ/PhpzlVcUd52hTBenZNOt7UMURY=; b=QSdP3Ste9p7YO6m7OjlO OGT5BuunL4zYALIJilZURbysIW7weuJsM+a+hC0SAAlBAC5cz5QH93SmBRwibPvPU4CapseTvP/Cu Xgk7PLQwCZ6riFQXMBOvRb9NfoBCapsjOWfWvYdMf+Yrll1Azw9nJADEiTh5ZVJppxCXm1S7RJVQs JlXFa2fQlLLVqdLRiWDlUCEMPT7gky7fUiHjxucp2TMRsJWg69mZtcvI7mbdWOd434CvoYKFzmR5U X/GSDn+D4afwrQzgvWYaiVaSeNij0jjQBtLeswyVdz36g4bVEKnpJ27Sum+9Inwtyx5hlWXu3vlcB MzBs4k5o77VFqw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVsG0-0004UO-NW; Sat, 25 Feb 2023 05:58:25 -0500 In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Fri, 24 Feb 2023 18:55:18 +0000) 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:256709 Archived-At: > From: João Távora > Date: Fri, 24 Feb 2023 18:55:18 +0000 > Cc: Eli Zaretskii , 61726@debbugs.gnu.org > > > I also didn't attempt to make 'eglot-move-to-bytewise-column' and > > 'eglot-bytewise-column' "correct" in the cases where 'json-serialize' > > throws an error. I think it's clear that Eli and I have different > > definitions "correctness" in this context, but Eli's proposal requires > > substantial further work, including recovering from possible errors > > raising from 'json-serialize'. > > If Eli is OK with this provisional UTF-8 impl, then so am I. I'm not. I asked for a simple modification. > How complicated do you estimate Eli proposal to be in comparison? It isn't complicated at all. I've even shown a possible implementation in one of my earlier messages.