unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20702: 25.0.50; (elisp) `ImageMagick Images': say how to tell if Emacs has IM support, etc.
@ 2015-05-31 15:08 Drew Adams
  2015-05-31 16:25 ` Eli Zaretskii
  2016-04-30 19:39 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Drew Adams @ 2015-05-31 15:08 UTC (permalink / raw)
  To: 20702

Someone using the Elisp manual might not have built the Emacs build
being used.  S?he might not even know what build a user might use.

This node should tell an Emacs-Lisp programmer how, using Lisp, to tell
whether the current build has ImageMagick support.

IOW, the opening phrase of this node, "If you build Emacs with
ImageMagick support" should be replaced by "If an Emacs build has
ImageMagick support", and this intro should be followed by telling users
how to check this using Lisp.

My guess (from trying) would be that (fboundp 'imagemagick-types) is the
test that tells you this - in my build it returns nil.

In any case, the doc should also say explicitly that this function is
not defined if the Emacs build has no ImageMagick support.  In
particular, the way `imagemagick-types' is described now, one could
reasonably (and mistakenly) expect that in an Emacs build that has no
ImageMagick support `imagemagick-types' would be defined but would
return () - no ImageMagick image types are supported.  (And why isn't
this the case?)

In sum, the intro to this node needs to be written for Elisp programmers
in general.


In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <<4763e124-1d2c-465e-9034-6faa609b8133@default>]

end of thread, other threads:[~2016-04-30 19:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-31 15:08 bug#20702: 25.0.50; (elisp) `ImageMagick Images': say how to tell if Emacs has IM support, etc Drew Adams
2015-05-31 16:25 ` Eli Zaretskii
2015-05-31 18:06   ` Glenn Morris
2015-05-31 18:35     ` Eli Zaretskii
2015-05-31 18:51       ` Eli Zaretskii
2015-05-31 23:39         ` Glenn Morris
2016-04-30 19:39 ` Lars Ingebrigtsen
     [not found] <<4763e124-1d2c-465e-9034-6faa609b8133@default>
     [not found] ` <<83iob8u32e.fsf@gnu.org>
2015-05-31 18:06   ` Drew Adams

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).