GNU bug report logs -
#55278
29.0.50; OSM package
Previous Next
Reported by: rms <at> gnu.org
Date: Thu, 5 May 2022 18:39:02 UTC
Severity: normal
Tags: notabug
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #42 received at 55278 <at> debbugs.gnu.org (full text, mbox):
Daniel Mendler <mail <at> 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
This bug report was last modified 3 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.