From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: puzzle.el.
Date: Mon, 19 Jul 2004 11:40:39 -0600 [thread overview]
Message-ID: <40FC0797.9000701@yahoo.com> (raw)
In-Reply-To: 87llhizw3g.fsf@dugong.chemistry.nottingham.ac.uk
Matt Hodges wrote:
> In the code, I create a blank image with the following:
>
> (create-image "" 'xpm nil :width (/ width puzzle-columns)
> :height (/ height puzzle-rows))
>
> which does what I want, but complains with:
>
> Cannot find image file `'
>
> which seems fair enough. Is there a better way to do this?
According to create-image's doc string:
| Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data.
the DATAP argument should be non-nil:
(create-image "" 'xpm t :width (/ width puzzle-columns)
:height (/ height puzzle-rows))
or maybe you could specify an empty file:
(create-image null-device 'xpm nil :width (/ width puzzle-columns)
:height (/ height puzzle-rows))
--
Kevin Rodgers
next prev parent reply other threads:[~2004-07-19 17:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-17 11:55 puzzle.el Matt Hodges
2004-07-19 9:10 ` puzzle.el Kim F. Storm
2004-07-19 9:35 ` puzzle.el Matt Hodges
2004-07-19 18:44 ` puzzle.el Richard Stallman
2004-07-19 19:39 ` puzzle.el Miles Bader
2004-07-21 21:33 ` puzzle.el Kim F. Storm
2004-07-21 21:31 ` puzzle.el Kim F. Storm
2004-07-22 1:57 ` puzzle.el Miles Bader
2004-07-22 7:33 ` puzzle.el Miles Bader
2004-07-22 21:38 ` puzzle.el Richard Stallman
2004-07-22 22:14 ` puzzle.el David Kastrup
2004-07-19 17:40 ` Kevin Rodgers [this message]
2004-07-19 19:04 ` puzzle.el Matt Hodges
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40FC0797.9000701@yahoo.com \
--to=ihs_4664@yahoo.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.