unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 20702@debbugs.gnu.org
Subject: bug#20702: 25.0.50; (elisp) `ImageMagick Images': say how to tell if Emacs has IM support, etc.
Date: Sun, 31 May 2015 08:08:03 -0700 (PDT)	[thread overview]
Message-ID: <4763e124-1d2c-465e-9034-6faa609b8133@default> (raw)

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'





             reply	other threads:[~2015-05-31 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31 15:08 Drew Adams [this message]
2015-05-31 16:25 ` bug#20702: 25.0.50; (elisp) `ImageMagick Images': say how to tell if Emacs has IM support, etc 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4763e124-1d2c-465e-9034-6faa609b8133@default \
    --to=drew.adams@oracle.com \
    --cc=20702@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).