From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: XPM images
Date: Tue, 01 Oct 2002 02:17:32 -0400 [thread overview]
Message-ID: <E17wGLc-0006cq-00@fencepost.gnu.org> (raw)
In-Reply-To: <m3ptuvekze.fsf@ID-87814.user.dfncis.de> (message from Oliver Scholz on Mon, 30 Sep 2002 14:10:45 +0200)
My apologies. Only two functions are supposed to be used from the
"outside": `xpm-image-from-file' and `xpm-image-from-string'.
Those names suggest functions that return an xpm image. However, this
file is supposed to convert xpm to ppm. So those names are confusing.
The function names for functions that return ppm images should
probably say they return ppm images. At the very least the doc strings
should say so.
Besides that, the whole
process of converting to and applying PPM was meant to be
transparent. What the two main functions `xpm-image-from-string' and
`xpm-image-from-file' actually return is an image descriptor, as a
function like `insert-image' takes it as an argument. But I refer to
the image descriptors in the doc-strings only as "images"; thus
mimicking the documentation strings of `insert-image', `create-image'
or `find-image'.
That convention is very hard to understand; I recommend you find
a clearer way to describe this.
prev parent reply other threads:[~2002-10-01 6:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 2:32 XPM images Oliver Scholz
2002-09-26 21:45 ` Richard Stallman
2002-09-26 23:45 ` Oliver Scholz
2002-09-28 3:20 ` Richard Stallman
2002-09-30 2:49 ` Richard Stallman
2002-09-30 12:10 ` Oliver Scholz
2002-10-01 6:17 ` Richard Stallman [this message]
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=E17wGLc-0006cq-00@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@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 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.