From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#70007: [PATCH] native JSON encoder Date: Sat, 07 Sep 2024 11:48:36 -0400 Message-ID: References: <1BF559D1-DB9F-4FEB-90ED-72E0EFD76424@gmail.com> <864jcrindg.fsf@gnu.org> <291DD5F1-85B8-4647-A40A-EBBD4C51E253@gmail.com> <8634sbijfx.fsf@gnu.org> <2CF47DA5-A65B-47C4-A28A-6FEE1469BD13@gmail.com> <86cyrdfuai.fsf@gnu.org> <3139C8FE-5C67-4FE3-B940-F449DA73E76C@gmail.com> <86le5zdfbi.fsf@gnu.org> <4C93E902-282D-4408-B449-C8E771B2B3E4@gmail.com> <86cyr7agjo.fsf@gnu.org> <850DEC32-F318-4F3E-BA87-55FC6DC74CD3@gmail.com> <86ikvpnbj5.fsf@gnu.org> <867cc5mbq3.fsf@gnu.org> <86y14kjw70.fsf@gnu.org> <86ikv7zzyo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18116"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mattias.engdegard@gmail.com, 70007@debbugs.gnu.org, casouri@gmail.com, Stefan Kangas , monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 07 17:49:21 2024 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 1smxgf-0004an-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Sep 2024 17:49:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smxgM-0003xH-S2; Sat, 07 Sep 2024 11:49:02 -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 1smxgL-0003wm-GI for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 11:49:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smxgL-0001vX-5i for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 11:49:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=vt0m8gcVRDg8H4Ty2Vnk0IWsxeC2Kr0Ju+uB/efjJ+4=; b=pIeXljJHARcsCCA8Sgas520BOqpnIefAwOto5E3y8MZcpDDUj8i41qgEPNZSIJzFTUbByjx9Z7zRT3cqxa8E6KJn0m3l8xSIN7BCi2oFuI42j6h8bPJQdgnXXIecAlQby+vRiqxQGRoyqQuSI+Oh4RN6E95CtPPE/XB2UXI+Q4fsCR5oOulIf2vnsWBUiReGrkVqXgZcYWfB00jHxsaIdRjoFlIO4lLF5AAY9VJ0MshTcetCrnFS67BllS6/p0YjeRhNlEJ0ex3Cn+aKBC8fiCweuRq48uWTVJrrxDEKxnPRXiE2hxyW/sBS18GZmCXG/3fAWemFWBsx/rx7uiupKQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smxgM-00041z-2a for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Sep 2024 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70007-submit@debbugs.gnu.org id=B70007.172572412615473 (code B ref 70007); Sat, 07 Sep 2024 15:49:02 +0000 Original-Received: (at 70007) by debbugs.gnu.org; 7 Sep 2024 15:48:46 +0000 Original-Received: from localhost ([127.0.0.1]:57249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smxg6-00041V-AL for submit@debbugs.gnu.org; Sat, 07 Sep 2024 11:48:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smxg4-00041H-9I for 70007@debbugs.gnu.org; Sat, 07 Sep 2024 11:48:45 -0400 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 1smxfx-0001uK-Ru; Sat, 07 Sep 2024 11:48:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=vt0m8gcVRDg8H4Ty2Vnk0IWsxeC2Kr0Ju+uB/efjJ+4=; b=Mwc4NjH9g23TtavWvW7r pDvcBjzi5jKkS3FK+65x2NGa/5tV63U+lhem0jszvA7ZTVUm4hrB0hWgvSWmQ1KFXdStGNlQ2a2Zv HLSmLpVDS6qefoUXFU/dpHbZZuFuRVY43f8xH7g/lnVGeeaWjh8uUaaS3jMYyz3nE+NYBusl9u2+k r7f8Lqr/beUeKlOC2FEd7C193FYHXTh8OcGp4Au3zhvjyciWGUdpSyddV4H02AxEut9xpXbY/ruvZ 2VTDrEUfmj0AQJVhAtCvl39OJztQbwJZjx/z5vAqr48i9hrBGxdE94Hl5xuSH6aUs57PxHgKLtSn9 UkcaQQ2qIDnHpA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1smxfx-0005To-0z; Sat, 07 Sep 2024 11:48:37 -0400 In-Reply-To: <86ikv7zzyo.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Sep 2024 10:26:39 +0300") 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:291397 Archived-At: Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Sat, 31 Aug 2024 15:15:25 -0700 >> Cc: mattias.engdegard@gmail.com, acorallo@gnu.org, casouri@gmail.com, >> 70007@debbugs.gnu.org >> >> Stefan Monnier writes: >> >> >> And against the additional variable to make this more >> >> backward-compatible? >> > >> > Yup. The var would be my second-best choice (and I assume it's >> > immediately declared obsolete). >> >> I tend to agree with Stefan M here. > > Thanks. > > Andrea, would you please voice your opinion on this? I'm for returning unibyte indeed. And for the variable or the second function I'm kind of neutral, I'd do it only if it's not too much effort so I'll trust Mattias preference here. Andrea