[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55278: json-parse-string
From: |
Lars Ingebrigtsen |
Subject: |
bug#55278: json-parse-string |
Date: |
Mon, 09 May 2022 12:45:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- 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