From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49660: 28.0.50; json-available-p should exist Date: Tue, 20 Jul 2021 14:53:00 +0200 Message-ID: <87pmvddu4z.fsf@gnus.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="17729"; mail-complaints-to="usenet@ciao.gmane.io" To: 49660@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 20 14:54:13 2021 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 1m5pGH-0004QZ-24 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jul 2021 14:54:13 +0200 Original-Received: from localhost ([::1]:43094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5pGF-0004Ow-Vd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jul 2021 08:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5pG6-0004Oo-3y for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5pG5-00089f-Sw for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5pG5-0004HU-R3 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jul 2021 12:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49660 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162678558816379 (code B ref -1); Tue, 20 Jul 2021 12:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jul 2021 12:53:08 +0000 Original-Received: from localhost ([127.0.0.1]:33185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5pFE-0004G7-KK for submit@debbugs.gnu.org; Tue, 20 Jul 2021 08:53:08 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5pFD-0004Fz-KU for submit@debbugs.gnu.org; Tue, 20 Jul 2021 08:53:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5pFD-0003jH-Bf for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:53:07 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:46930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5pFB-00082n-SA for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Y7bmREfgNWWfwV6MVSplfFg0Sz6mZOJ4yrLK24Bj9yQ=; b=cCEIA3bfkiFh7eIrc4aguL2Sax O5ooqoZKbL3Zrw1NeMgkmFE8tFicWCRffyONJ+ydKstJK331d485Ikd7M0ubtU720rYxNMGc0Pj8j wxcCNLutT2cdrSXKEws4k6/ccNDC5EUZDeB1BHJlKSPvnFsTS75IrHrClu9XFWLO9dG0=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5pF7-0003Lv-6l for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 14:53:03 +0200 X-Now-Playing: Pet Shop Boys's _Hotspot_: "I don't wanna" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:210347 Archived-At: All other libraries like this have an -available-p function, but not json.c. But json.c is slightly unusual in that it's not compiled at all if jansson isn't available, so the function will have to go somewhere else, which is rather, er, inconvenient. Anybody have an idea how to solve that problem? In GNU Emacs 28.0.50 (build 93, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-07-19 built on elva Repository revision: b0c73439932eefb8302ec10c61d95ffcf2ef39be Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no