unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: emacs-devel@gnu.org
Subject: Re: image descriptors and defimage with :data
Date: 10 Feb 2002 13:53:43 +0000	[thread overview]
Message-ID: <87g049wihk.fsf@tf1.tapsellferrier.co.uk> (raw)
In-Reply-To: <200202100518.g1A5Iww06255@aztec.santafe.edu>


Nic said:
     Emacs 21 manual says that defimage must have at least the following 
     properties in the props list: 

rms replied:  
> Where does it say that?  Here is the text I see: 
>  
>     Each argument in @var{specs} has the form of a property list, and each 
>     one should specify at least the @code{:type} property and either the 
>     @code{:file} or the @code{:data} property.  The value of @code{:type} 
>     should be a symbol specifying the image type, the value of 
>     @code{:file} is the file to load the image from, and the value of 
>     @code{:data} is a string containing the actual image data.  Here is an 
>     example: 
>  
> However, judging from the previous node in the manual, I think that 
> :data is not supported yet for image type JPEG.  If so, we would like 
> to support it; would you like to try to implement it? 

The function documentation string for defimage says this:

    Each image specification in SPECS is a property list.  The contents of
    a specification are image type dependent.  All specifications must at
    least contain the properties `:type TYPE' and either `:file FILE' or
    `:data DATA', where TYPE is a symbol specifying the image type,
    e.g. `xbm', FILE is the file to load the image from, and DATA is a
    string containing the actual image data.  The first image
    specification whose TYPE is supported, and FILE exists, is used to
    define SYMBOL.

I am trying to narrow the problem down so that I can either patch it
or give a better report.


Nic

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-10 13:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-08  3:50 image descriptors and defimage with :data Nic Ferrier
2002-02-08 20:26 ` Pavel Janík
2002-02-10  5:18 ` Richard Stallman
2002-02-10 13:53   ` Nic Ferrier [this message]
2002-02-11 18:47     ` Richard Stallman

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=87g049wihk.fsf@tf1.tapsellferrier.co.uk \
    --to=nferrier@tapsellferrier.co.uk \
    --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 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).