From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: image descriptors and defimage with :data Date: 10 Feb 2002 13:53:43 +0000 Message-ID: <87g049wihk.fsf@tf1.tapsellferrier.co.uk> References: <87zo2kaaxu.fsf@tf1.tapsellferrier.co.uk> <200202100518.g1A5Iww06255@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013348759 12289 195.204.10.66 (10 Feb 2002 13:45:59 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 10 Feb 2002 13:45:59 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16ZuIp-0003C7-00 for ; Sun, 10 Feb 2002 14:45:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16Zu9G-0000hG-00; Sun, 10 Feb 2002 08:36:06 -0500 Original-Received: from tf1.tapsellferrier.co.uk ([195.7.242.226]) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16Zu89-0000bT-00; Sun, 10 Feb 2002 08:34:57 -0500 Original-Received: from nferrier by tf1.tapsellferrier.co.uk with local (Exim 3.12 #1 (Debian)) id 16ZuQJ-0008He-00; Sun, 10 Feb 2002 13:53:43 +0000 Original-To: rms@gnu.org In-Reply-To: <200202100518.g1A5Iww06255@aztec.santafe.edu> Original-Lines: 36 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:952 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:952 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