From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21747 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: xbm in XEmacs? Date: 03 Mar 1999 21:49:33 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86ogma2cle.fsf@kramer.bp.aventail.com> References: <87btia38ls.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159794 24540 80.91.224.250 (21 Oct 2002 00:23:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:23:14 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA04373 for ; Wed, 3 Mar 1999 21:50:21 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id UAB04086; Wed, 3 Mar 1999 20:48:24 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 03 Mar 1999 20:49:43 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id UAA23326 for ; Wed, 3 Mar 1999 20:49:30 -0600 (CST) Original-Received: from slow.bp.aventail.com (usrpri2-37.kiva.net [206.97.75.102]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA04334 for ; Wed, 3 Mar 1999 21:49:17 -0500 (EST) Original-Received: from kramer.bp.aventail.com (kramer.bp.aventail.com [192.168.2.2]) by slow.bp.aventail.com (8.8.5/8.8.5) with ESMTP id VAA05532 for ; Wed, 3 Mar 1999 21:48:43 -0800 Original-Received: (from wmperry@localhost) by kramer.bp.aventail.com (8.8.5/8.8.5) id VAA09331; Wed, 3 Mar 1999 21:49:33 -0500 Original-To: ding@gnus.org X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > Hrvoje Niksic writes: > > > Then Gnus should probably use TM's code for rendering xbm's. > > TM does this: > > (defun bitmap-insert-xbm-file (file) > (let ((gl (make-glyph (list (cons 'x file)))) > (e (make-extent (point) (point))) > ) > (set-extent-end-glyph e gl) > )) > > But I don't want to create a temporary file... That's pretty much your only bet unless you want to parse the XBM yourself and convert it to binary garbage. Take a look at xbm-button.el if you want to see the pain you are in for. :) -bp