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#72941: jsonrpc: Check if parameters are in line with the spec Date: Sat, 12 Oct 2024 14:21:42 +0300 Message-ID: <864j5hy3ax.fsf@gnu.org> References: <87bk17l4rp.fsf@betli.tmit.bme.hu> <8634mi9u01.fsf@gnu.org> <87ikuzzdcj.fsf@betli.tmit.bme.hu> <86tte06u7i.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25393"; mail-complaints-to="usenet@ciao.gmane.io" Cc: nemethf@tmit.bme.hu, 72941-done@debbugs.gnu.org, joaotavora@gmail.com To: Daniel Pettersson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 12 13:23:07 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 1szaDD-0006Rh-1q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Oct 2024 13:23:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szaCw-0001fO-Oy; Sat, 12 Oct 2024 07:22:50 -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 1szaCu-0001eg-Td for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2024 07:22:48 -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 1szaCu-0005LJ-KS for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2024 07:22:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=+xcF5hXJh/2hTkFqj+jnIf9K8f2489PQZS1k/cE6onE=; b=cYblVDiUWm5Ta6cDyU8r+/fkh27jGMakvNretWqUp+dTBWO03KRn3WofYQe3oeRGawDNIhPQMPxiScc07r/vFILmnX6ArDYD06mVZEYWpQ7LcO4j5VY+O4blAuYa0yM4ncCqg0sPX1LDLJt0+CQNxdYiRMhMcy9dbb8giMSNqXGJ8nOE924uCdTp2OaqIzCwKEU0L3Hs3QCQeI+DjvwjUNmDqut5VOsrP0jBriwu6LppxTueDzcFj0RTKxKXRs14S/tqLlvG8BRLcdMFKZvOyq5A4mbb7vLUBA5Vvm1ZmE/5lMH8WMVFtfb9gFakiarxzGu5R9moV/3BoxbDBwzUgA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szaD8-00075G-HH for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2024 07:23:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Oct 2024 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72941 X-GNU-PR-Package: emacs Mail-Followup-To: 72941@debbugs.gnu.org, eliz@gnu.org, nemethf@tmit.bme.hu Original-Received: via spool by 72941-done@debbugs.gnu.org id=D72941.172873213327146 (code D ref 72941); Sat, 12 Oct 2024 11:23:02 +0000 Original-Received: (at 72941-done) by debbugs.gnu.org; 12 Oct 2024 11:22:13 +0000 Original-Received: from localhost ([127.0.0.1]:38907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szaCH-00073g-Jf for submit@debbugs.gnu.org; Sat, 12 Oct 2024 07:22:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szaCF-00073M-M2 for 72941-done@debbugs.gnu.org; Sat, 12 Oct 2024 07:22:08 -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 1szaBt-0005IB-IK; Sat, 12 Oct 2024 07:21:45 -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=+xcF5hXJh/2hTkFqj+jnIf9K8f2489PQZS1k/cE6onE=; b=KYtpyJwJqwDC kB0NErIsrK2dK8gFML4hHB+iiEEDK1xFJSW3MiNI00egebPn+1GJPokSr94PPKl0BRZapVhDZ3fhs pfTRavTm2rDz3ZfywBauayxk+mJhCn6OijsOfTFPkAq2DobREBh6fPMyAofLMqtKFMVIzAIf+lntc kjJAVNP8qykvzOOT9N/wPfKr0zKh4lwZxymIUMBQhETTIATZYJ8/XO82QWSfyqz0ZY8k5YKAUvJwS QvDl7fBtN2dsfkZ14n/x36xyjV0it+QrNavKLfR+VfKLlfNLa0SBaaLSn77QjQ7kskOzqq0XL7/wO OfbDkObj1ONApNc/SUkmWA==; In-Reply-To: (message from Daniel Pettersson on Sat, 28 Sep 2024 13:40:00 +0200) 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:293416 Archived-At: > From: Daniel Pettersson > Cc: Felician Nemeth , joaotavora@gmail.com, > 72941@debbugs.gnu.org > Date: Sat, 28 Sep 2024 13:40:00 +0200 > > Eli Zaretskii writes: > > > So do we want to close this as wontfix? > > Yes, if anybody would clarify the variable type expectations > documentation that would be great but all in all this is would be > wontfix. > > >> From: Felician Nemeth > > >> Maybe when the server responds with an error to a jsonrpc-request, then > >> jsonrpc.el could create an additional warning if the params of the > >> request was not structured. Or maybe it is too much work for a very > >> small gain. > > It seams like something that would be a bit of mess and I would expect > that an sane jsonrpc server would include the reason for error in the > error response. No further comments, so I'm now closing this bug.