unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 49660@debbugs.gnu.org
Subject: bug#49660: 28.0.50; json-available-p should exist
Date: Tue, 20 Jul 2021 17:50:17 +0200	[thread overview]
Message-ID: <87fsw9nfwm.fsf@gnus.org> (raw)
In-Reply-To: <83fsw956r1.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 20 Jul 2021 18:45:22 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> If you are ready to define json-available-p somewhere other than
> json.c, then you could simply do that in subr.el or somesuch.  It
> would be cleaner than defining stubs in loadup.el.

The meats of json-available-p have to be in json.c, though?  (It has to
call init_json_functions (on Windows) to see whether we have the DLL or
not.)

We could have a json--available-p in json.c that does that, but it
doesn't seem less hackey...  but I guess it doesn't really matter
much -- neither solution is super clean.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-07-20 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-20 12:53 bug#49660: 28.0.50; json-available-p should exist Lars Ingebrigtsen
2021-07-20 13:04 ` Eli Zaretskii
2021-07-20 13:43   ` Lars Ingebrigtsen
2021-07-20 14:47     ` Lars Ingebrigtsen
2021-07-20 15:45       ` Eli Zaretskii
2021-07-20 15:50         ` Lars Ingebrigtsen [this message]
2021-07-20 16:53           ` Eli Zaretskii
2021-07-21 10:50             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsw9nfwm.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=49660@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).