[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55278: json-parse-string
From: |
Daniel Mendler |
Subject: |
bug#55278: json-parse-string |
Date: |
Mon, 9 May 2022 12:57:37 +0200 |
On 5/9/22 12:45, Lars Ingebrigtsen wrote:
> Daniel Mendler <mail@daniel-mendler.de> writes:
>
>> In osm-mode I have a list of requirements which must be satisfied before
>> it can be used reasonably. These requirements are also listed in the
>> README and in the Commentary of the package.
>>
>> (unless (display-graphic-p)
>> (warn "osm: Graphical display is required"))
>> (dolist (type '(svg jpeg png))
>> (unless (image-type-available-p type)
>> (warn "osm: Support for %s images is missing" type)))
>> (unless (libxml-available-p)
>> (warn "osm: libxml is not available"))
>> (unless (ignore-errors (equal [] (json-parse-string "[]")))
>> (warn "osm: libjansson is not available"))
>
> Perhaps it should be signalling errors here instead of warnings? (And
> it would probably be nice if it collected all the requirements and said
> "Error: Need libjansson, libxml and" etc in one go.)
Okay, I will do that.
Daniel
- bug#55278: 29.0.50; OSM package, (continued)
bug#55278: json-parse-string, Daniel Mendler, 2022/05/08
- bug#55278: json-parse-string, Richard Stallman, 2022/05/08
- bug#55278: json-parse-string, Richard Stallman, 2022/05/09
- bug#55278: json-parse-string, Richard Stallman, 2022/05/16
- bug#55278: json-parse-string, Philip Kaludercic, 2022/05/17
- bug#55278: json-parse-string, Richard Stallman, 2022/05/18
bug#55278: json-parse-string, Richard Stallman, 2022/05/09
bug#55278: json-parse-string, Richard Stallman, 2022/05/09