From unknown Tue Sep 09 06:48:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66569: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example Resent-From: Matthew Woodcraft Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 66569@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16973964933806 (code B ref -1); Sun, 15 Oct 2023 19:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Oct 2023 19:01:33 +0000 Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs6Mm-0000zK-He for submit@debbugs.gnu.org; Sun, 15 Oct 2023 15:01:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs6Mg-0000yx-Ny for submit@debbugs.gnu.org; Sun, 15 Oct 2023 15:01:30 -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 1qs6M7-0003M2-5t for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 15:00:51 -0400 Received: from hark.woodcraft.me.uk ([213.138.109.203]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs6M5-0004kI-8K for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 15:00:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=woodcraft.me.uk; s=201904hrk; h=Date:Subject:To:From:Cc; bh=9cR5PqJCsgi+UFzLsCqGFkU92LslksnBqX73MQETYq4=; b=g+Ya7RlyY06QCR2E0vIz0k8OfZ c/x3a17adwPUf6YAH1ps1q7olf+18Br+8Vmadbbye9JWeOtxf8wk8NQHVE7oTywz0ca3OWoSIJSWg KOoCx52EvMzroiAB/7dq7A1VGvCCqiIBjnqpb8W5mHNL19nnUgkEMjX65KSHNuwM64z0am900zGxJ x/GteE9x8z4CpWNvGQz4eq3RPx8Qc40VnPzgwtHV2TdonKRDO0kFxShiA3QF0dfW4qF3aIvvigYtE GpfMynPyDur8YhkTzEd2OMWSGFAjD4b76TSjO8FekPgY/JA4LQyq2mLn5fC3/qUiVm4PXTpPoA8yf 0UXbbGLw==; Received: from cpc92302-cmbg19-2-0-cust97.5-4.cable.virginm.net ([82.1.208.98] helo=golux.woodcraft.me.uk) by hark.woodcraft.me.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qs6Lv-0029Fk-2n for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 20:00:37 +0100 Received: from mjw by golux.woodcraft.me.uk with local (Exim 4.96) (envelope-from ) id 1qs6Lt-001kbX-1p for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 20:00:37 +0100 From: Matthew Woodcraft Date: Sun, 15 Oct 2023 20:00:37 +0100 Message-ID: <87wmvnu2wa.fsf@golux.woodcraft.me.uk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=213.138.109.203; envelope-from=matthew@woodcraft.me.uk; helo=hark.woodcraft.me.uk X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-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 (/) --=-=-= Content-Type: text/plain Tags: patch The example in the eglot.texi "JSONRPC objects in Elisp" page has some mistakes: - the input is wrongly parenthesised for the intended output - the serialised JSON text shows some trailing commas which are not in fact generated --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Fix-eglot.texi.patch >From a1a32a498e8c97775611cf04fc46d30d909e4200 Mon Sep 17 00:00:00 2001 From: Matthew Woodcraft Date: Sun, 15 Oct 2023 19:50:26 +0100 Subject: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example * doc/misc/eglot.texi (JSONRPC objects in Elisp): Correct the example --- doc/misc/eglot.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi index 3c1d44cd363..9ffea80b641 100644 --- a/doc/misc/eglot.texi +++ b/doc/misc/eglot.texi @@ -1237,8 +1237,8 @@ JSONRPC objects in Elisp @lisp (:pylsp (:plugins (:jedi_completion (:include_params t :fuzzy t - :cache_for ["pandas" "numpy"] - :pylint (:enabled :json-false)))) + :cache_for ["pandas" "numpy"]) + :pylint (:enabled :json-false))) :gopls (:usePlaceholders t)) @end lisp @@ -1252,7 +1252,7 @@ JSONRPC objects in Elisp "jedi_completion": @{ "include_params": true, "fuzzy": true, - "cache_for": [ "pandas", "numpy" ], + "cache_for": [ "pandas", "numpy" ] @}, "pylint": @{ "enabled": false @@ -1260,8 +1260,8 @@ JSONRPC objects in Elisp @} @}, "gopls": @{ - "usePlaceholders":true - @}, + "usePlaceholders": true + @} @} @end example -- 2.39.2 --=-=-=-- From unknown Tue Sep 09 06:48:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Matthew Woodcraft Subject: bug#66569: closed (Re: bug#66569: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example) Message-ID: References: <8334xykf1x.fsf@gnu.org> <87wmvnu2wa.fsf@golux.woodcraft.me.uk> X-Gnu-PR-Message: they-closed 66569 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 66569@debbugs.gnu.org Date: Wed, 25 Oct 2023 13:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1698240542-31043-1" This is a multi-part message in MIME format... ------------=_1698240542-31043-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66569: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66569@debbugs.gnu.org. --=20 66569: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66569 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1698240542-31043-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66569-done) by debbugs.gnu.org; 25 Oct 2023 13:28:12 +0000 Received: from localhost ([127.0.0.1]:57733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvdvf-00082x-C6 for submit@debbugs.gnu.org; Wed, 25 Oct 2023 09:28:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvdve-00082h-3R for 66569-done@debbugs.gnu.org; Wed, 25 Oct 2023 09:28:10 -0400 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 1qvdv2-0007Lp-Nz; Wed, 25 Oct 2023 09:27:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/vJIawZkc1sFW18J02wFjgwOuEF5YGlOvgrrV6pFOXU=; b=PxlTdgX6YnuE TowKZFFeCPvilgbQZgQ4pFNsVjL4gHpGv8VYf0TGhQJaaUYRQxw7u41ja/q9Ac2usqnmtLwHKQZtu HaSeqdJVDhiyRt0i6sxD6a6XZem2I2/LuHYVD1uEwN8aoMEQzET8IXhSHPei2C1tbpOQq+Tgrqpa2 nb0o6f5Ub8geX3Tf6yc0JrWBpibN9AznScw0A6uOxNesykcNJbNK4TuuTkfvedzpUGRhgeh03P1+H wF8dS3wqsHW+LZY2bat81D4V8vK9P0+q4tS6EmQ3XEtLP8rBeDtqoQ01k/5SaDaTgPeoMxZABCn41 H8zhat2TMTGdwGZG0t3F3w==; Date: Wed, 25 Oct 2023 16:27:38 +0300 Message-Id: <8334xykf1x.fsf@gnu.org> From: Eli Zaretskii To: Matthew Woodcraft In-Reply-To: <87wmvnu2wa.fsf@golux.woodcraft.me.uk> (message from Matthew Woodcraft on Sun, 15 Oct 2023 20:00:37 +0100) Subject: Re: bug#66569: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example References: <87wmvnu2wa.fsf@golux.woodcraft.me.uk> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66569-done Cc: 66569-done@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: -3.3 (---) > From: Matthew Woodcraft > Date: Sun, 15 Oct 2023 20:00:37 +0100 > > The example in the eglot.texi "JSONRPC objects in Elisp" page has some > mistakes: > > - the input is wrongly parenthesised for the intended output > > - the serialised JSON text shows some trailing commas which are not in > fact generated Thanks, installed on the emacs-29 branch, and closing the bug. ------------=_1698240542-31043-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Oct 2023 19:01:33 +0000 Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs6Mm-0000zK-He for submit@debbugs.gnu.org; Sun, 15 Oct 2023 15:01:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs6Mg-0000yx-Ny for submit@debbugs.gnu.org; Sun, 15 Oct 2023 15:01:30 -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 1qs6M7-0003M2-5t for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 15:00:51 -0400 Received: from hark.woodcraft.me.uk ([213.138.109.203]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs6M5-0004kI-8K for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 15:00:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=woodcraft.me.uk; s=201904hrk; h=Date:Subject:To:From:Cc; bh=9cR5PqJCsgi+UFzLsCqGFkU92LslksnBqX73MQETYq4=; b=g+Ya7RlyY06QCR2E0vIz0k8OfZ c/x3a17adwPUf6YAH1ps1q7olf+18Br+8Vmadbbye9JWeOtxf8wk8NQHVE7oTywz0ca3OWoSIJSWg KOoCx52EvMzroiAB/7dq7A1VGvCCqiIBjnqpb8W5mHNL19nnUgkEMjX65KSHNuwM64z0am900zGxJ x/GteE9x8z4CpWNvGQz4eq3RPx8Qc40VnPzgwtHV2TdonKRDO0kFxShiA3QF0dfW4qF3aIvvigYtE GpfMynPyDur8YhkTzEd2OMWSGFAjD4b76TSjO8FekPgY/JA4LQyq2mLn5fC3/qUiVm4PXTpPoA8yf 0UXbbGLw==; Received: from cpc92302-cmbg19-2-0-cust97.5-4.cable.virginm.net ([82.1.208.98] helo=golux.woodcraft.me.uk) by hark.woodcraft.me.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qs6Lv-0029Fk-2n for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 20:00:37 +0100 Received: from mjw by golux.woodcraft.me.uk with local (Exim 4.96) (envelope-from ) id 1qs6Lt-001kbX-1p for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 20:00:37 +0100 From: Matthew Woodcraft To: bug-gnu-emacs@gnu.org Subject: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example Date: Sun, 15 Oct 2023 20:00:37 +0100 Message-ID: <87wmvnu2wa.fsf@golux.woodcraft.me.uk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=213.138.109.203; envelope-from=matthew@woodcraft.me.uk; helo=hark.woodcraft.me.uk X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-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 (/) --=-=-= Content-Type: text/plain Tags: patch The example in the eglot.texi "JSONRPC objects in Elisp" page has some mistakes: - the input is wrongly parenthesised for the intended output - the serialised JSON text shows some trailing commas which are not in fact generated --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Fix-eglot.texi.patch >From a1a32a498e8c97775611cf04fc46d30d909e4200 Mon Sep 17 00:00:00 2001 From: Matthew Woodcraft Date: Sun, 15 Oct 2023 19:50:26 +0100 Subject: [PATCH] Fix eglot.texi (JSONRPC objects in Elisp) example * doc/misc/eglot.texi (JSONRPC objects in Elisp): Correct the example --- doc/misc/eglot.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi index 3c1d44cd363..9ffea80b641 100644 --- a/doc/misc/eglot.texi +++ b/doc/misc/eglot.texi @@ -1237,8 +1237,8 @@ JSONRPC objects in Elisp @lisp (:pylsp (:plugins (:jedi_completion (:include_params t :fuzzy t - :cache_for ["pandas" "numpy"] - :pylint (:enabled :json-false)))) + :cache_for ["pandas" "numpy"]) + :pylint (:enabled :json-false))) :gopls (:usePlaceholders t)) @end lisp @@ -1252,7 +1252,7 @@ JSONRPC objects in Elisp "jedi_completion": @{ "include_params": true, "fuzzy": true, - "cache_for": [ "pandas", "numpy" ], + "cache_for": [ "pandas", "numpy" ] @}, "pylint": @{ "enabled": false @@ -1260,8 +1260,8 @@ JSONRPC objects in Elisp @} @}, "gopls": @{ - "usePlaceholders":true - @}, + "usePlaceholders": true + @} @} @end example -- 2.39.2 --=-=-=-- ------------=_1698240542-31043-1--