From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#40693: 28.0.50; json-encode-alist changes alist Date: Sat, 23 May 2020 23:45:10 +0100 Message-ID: <87ftbquv7t.fsf@gmail.com> References: <87a738jotd.fsf@tcd.ie> <87mu6utxd1.fsf@tcd.ie> <83r1w6ziql.fsf@gnu.org> <82572c3f-fb24-0b01-06ec-47067d9219ca@yandex.ru> <83blnazdly.fsf@gnu.org> <87wo5yqrqo.fsf@tcd.ie> <87ftbyavbq.fsf@tcd.ie> <87zha43ira.fsf@gmail.com> <87367t9ej7.fsf@tcd.ie> <87imgp2atd.fsf@gmail.com> <87sgfs81g6.fsf@tcd.ie> <87eerbybfn.fsf@gmail.com> <87wo52ochm.fsf@tcd.ie> <87a71ywicb.fsf@gmail.com> <87eerab7fz.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="49963"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: darthandrus@gmail.com, 40693@debbugs.gnu.org, Dmitry Gutov To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 24 00:46:14 2020 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 1jccuE-000CuK-Ju for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 May 2020 00:46:14 +0200 Original-Received: from localhost ([::1]:33206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jccuD-0006hK-62 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 18:46:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jccu2-0006h4-RW for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 18:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jccu2-000375-Ix for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 18:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jccu2-0007rj-GH for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 18:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 May 2020 22:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40693 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 40693-submit@debbugs.gnu.org id=B40693.159027392130186 (code B ref 40693); Sat, 23 May 2020 22:46:02 +0000 Original-Received: (at 40693) by debbugs.gnu.org; 23 May 2020 22:45:21 +0000 Original-Received: from localhost ([127.0.0.1]:35966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcctN-0007qn-6y for submit@debbugs.gnu.org; Sat, 23 May 2020 18:45:21 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:37969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcctL-0007qZ-0O for 40693@debbugs.gnu.org; Sat, 23 May 2020 18:45:19 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id u12so8639974wmd.3 for <40693@debbugs.gnu.org>; Sat, 23 May 2020 15:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=YJdHVtC7Ck90Yy4YODiAlAf1c6m3wd4vcScMOBA40cY=; b=eoCKxPPVhkHnDFImnx59WMgviyyEBAQfWN0HPtpuhMMSBuX9wjQ1Y+l61sfyl/FKje FpHrrjCuu3UP2Uk4y+Q+G2yMTVF4alqTt4Td+MUykXVe++ir9/axYH1xquK0/HST0O8P QaYyn1snt8Wcb+tl2I6S3SAJAgdOf3wVw5EnGVgUEDsdobjoFvhgIWC3AOumgFDvVHVQ ujXQGZTmuu7nRbK5vqDwh/wEosINOlV3no3y0sYyj5UrdhRkb/90FV+3aw+VMZYRNnwO Qmsxzktwe1McBxWWdciih/UrUUJMSqKuFlKIJI1oJnxisiXwXgHHl1+LVZZExpKgCUr2 /Alw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=YJdHVtC7Ck90Yy4YODiAlAf1c6m3wd4vcScMOBA40cY=; b=EFSZBGyCHhRKaxo15aNw/556T7fv6958Hhmp+KQjOjNVXNTTXc3gicHCOEAiZGnMw2 H5MV5xD+EyQIFrMO/MhthAC6VI/gNMnRzjWG03RGBZTNtWedXTrXW69RwwjnxBnvPq00 qBXwLAkZb7T7Zxcxxn/xEPIaz6lOLjiYjmFzl7ILfest8TcRuppmI267ap4BFonxMoxi mScunQyKmk2AuiRxNrBIRGzOns8X2NfziquKeR4qNpKNqBuoCZhu9SLwmxZX65HUxVCa 6CLqSSQ7rGsknAZ9q6WJ5Lhz8GTr2B2OB/KRQkwuRQxqXNruz/b3+mOKxwkBEJM+WtXp OK1A== X-Gm-Message-State: AOAM5337MnI/YoRwclX/fdA5hJGff95flP8H8GRRNuXMTe6+/aCxiJz1 yMj0xFcGGO/Ne/q9K3H5Bo4CkKNnaeM= X-Google-Smtp-Source: ABdhPJzjAZvE0mw/z80Blpmbsluw7O/68TjvlK7FqPQCPsvp8+f7sm9AXEDLbIqlnxax9HyKlmfGxg== X-Received: by 2002:a1c:e003:: with SMTP id x3mr12905034wmg.171.1590273913009; Sat, 23 May 2020 15:45:13 -0700 (PDT) Original-Received: from krug (89-180-159-150.net.novis.pt. [89.180.159.150]) by smtp.gmail.com with ESMTPSA id i15sm9790916wml.47.2020.05.23.15.45.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 May 2020 15:45:12 -0700 (PDT) In-Reply-To: <87eerab7fz.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sat, 23 May 2020 23:41:20 +0100") 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" Xref: news.gmane.io gmane.emacs.bugs:180858 Archived-At: "Basil L. Contovounesios" writes: > Yes. > >> Anyway, this is true if you want 27.1 elc's to be loadable in 26.x. > > It is also true if you want version N .elc files to be loadable in > version N. The problems I list are not specific to either JSON or > inter-Emacs-version compat. You're right, I forgot about --without-json/--with-json builds. > The only benefit of the macro approach is zero overhead - no fboundp > checks at load time, and no indirection in calling jsonrpc--json-read. > But those should be negligible costs, and macros come with their slew of > drawbacks that makes them unnecessary in this simple case. Agree. And macros don't solve the intercompatibility problems. All good, thanks for explaining! Jo=C3=A3o