From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: jsonrpc.el closer to merging Date: Sun, 10 Jun 2018 13:56:00 -0400 Message-ID: References: <87sh5uvdnr.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1528653277 4014 195.159.176.226 (10 Jun 2018 17:54:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2018 17:54:37 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 10 19:54:33 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fS4Xx-0000zB-5c for ged-emacs-devel@m.gmane.org; Sun, 10 Jun 2018 19:54:33 +0200 Original-Received: from localhost ([::1]:44843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fS4a4-0002kD-EP for ged-emacs-devel@m.gmane.org; Sun, 10 Jun 2018 13:56:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fS4ZP-0002jw-CL for emacs-devel@gnu.org; Sun, 10 Jun 2018 13:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fS4ZO-0006hd-Oc for emacs-devel@gnu.org; Sun, 10 Jun 2018 13:56:03 -0400 Original-Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:35669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fS4ZO-0006hJ-Jw for emacs-devel@gnu.org; Sun, 10 Jun 2018 13:56:02 -0400 Original-Received: by mail-qt0-x234.google.com with SMTP id s9-v6so18299488qtg.2 for ; Sun, 10 Jun 2018 10:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=V4uKRzq/b7C3Z+VJv4CvYD2Jltpdu6Ix4pzFpP2wNDM=; b=GlqUNqdipIkPfOz9wlEsq6mBwpmposmPNnhUiZ4Il8D8jp7S5WpyiashSPlbP7F8lO pnvYWy5/mVGwWOfhgcH6Rj8LNXsSff9QZvMOkDQ32BBUTxUl0FXFLPodgFTWM47pdMQC y0FmXvPk+/TRuY24ZfC5s+IrhsrT2Vk3RpKQNbCZpWhGidsCFVR6woEKiMfeeQVADJxD /sh/bTr+vDxRNeK/90NEqsz2e/4icD2EjEfVGJTx42tW7JmDNKHpkDLlxlY1aViyr9OY ag56ndrHyW6pMQ+uIr67mIIzsbx1E1sVecJ+z4gpCKVKMgWbSFrz+k0ql+kJeyLepdTb jEMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=V4uKRzq/b7C3Z+VJv4CvYD2Jltpdu6Ix4pzFpP2wNDM=; b=f+YFgdELvZqID8DZxifMU5SaQH5e/WO5ysgehWRguTEnsuNYjc/k5qh6RkhnB22bux Zp5WUuHGlHJXnvrC2fbEFy9SQUFIKlTC0y6Wb0JW02NSXoLM05BzWNgeJFQbDxlgBfnA No+yBavTFuRwy8bdbj+ZEX1ISdsvYyFEN7F8ZipLD3NGgVzbOfeGlXT6zeHj1s2I1u0G WDf9Ma8zd0Mf34u1V1ewMCJLNADPxilaQdVb4D92Eb3AJLR7s99VegXb4PRJ8GcD4JO9 tCMGTZ1NKzkeTblnYzQEGeGVnJDdhO0VriQQ5ShrrG8Fv5azZ8HyaUsOhVrk5jJ8r0t7 wHvg== X-Gm-Message-State: APt69E13KN9dvqoNpPIGgmLV4M5FIxTwSBxF2AklB5J1xIsgAWVr91Ia J7CcP3cu4BNryrUsxfPX2zqYwqpO X-Google-Smtp-Source: ADUXVKJ+rak5O296rZmN6caRbeo5fIRLcnJLrMxhNlZuPXpjMXQhkNspvycSjTJI7xnBOTWliSMCkA== X-Received: by 2002:ac8:71cc:: with SMTP id i12-v6mr13168860qtp.271.1528653361925; Sun, 10 Jun 2018 10:56:01 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:543d:e155:4a97:f2c9? ([2601:184:4180:66e7:543d:e155:4a97:f2c9]) by smtp.gmail.com with ESMTPSA id d6-v6sm21566901qta.61.2018.06.10.10.56.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 10:56:01 -0700 (PDT) In-Reply-To: <87sh5uvdnr.fsf@gmail.com> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226169 Archived-At: On 2018-06-10 11:56, João Távora wrote: > The last few weeks, I've been getting jsonrpc.el ready for integration > into core (master/26.2) and/or ELPA.git. I think this is great news. I have multiple packages that use a client-server architecture, and moving them to JSON-RPC would be a nice simplification. It would be nice if you hosted this on ELPA, so that others could take a dependency on that package without having to wait for new releases of Emacs :) How closely does it follow JSON-RPC? For example, does it allow for servers to send notifications to clients? Does it allow more than one response per query? If the server is killed, what does it do with pending queries? Thanks again for this work! Clément.