emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oc-basic: CSL-JSON year as number vs. string (nativecomp?)


From: Ihor Radchenko
Subject: Re: oc-basic: CSL-JSON year as number vs. string (nativecomp?)
Date: Sun, 19 Jun 2022 09:44:02 +0800

David Lukeš <dafydd.lukes@gmail.com> writes:

> I recently started to get errors like the following:
>
> Error during redisplay: (jit-lock-function 544) signaled
> (wrong-type-argument "Argument is not a string or a secondary string:
> 2007")
>
> This patch makes them go away:
>
> -                                        (caar date))
> +                                        (number-to-string (caar date)))

Can you provide an example json file demonstrating the problem?
I suspect that multiple json formats may be available in the wild. Some
parsed as a list of strings and some parsed as a list of numbers.

You patch may fix the former but break the latter.

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]