From xemacs-m  Sat Mar 29 14:43:37 1997
Received: from elc1.dina.kvl.dk (elc1.dina.kvl.dk [130.225.40.228])
	by xemacs.org (8.8.5/8.8.5) with SMTP id OAA18871
	for <xemacs-beta@xemacs.org>; Sat, 29 Mar 1997 14:43:36 -0600 (CST)
Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id VAA17497; Sat, 29 Mar 1997 21:32:34 +0100
Received: (abraham@localhost) by zuse.dina.kvl.dk (8.6.12/8.6.4) id VAA22127; Sat, 29 Mar 1997 21:41:42 +0100
Sender: abraham@dina.kvl.dk
To: Kyle Jones <kyle_jones@wonderworks.com>
Cc: <xemacs-beta@xemacs.org>
Subject: Re: set-face-stipple (was: Re: migrating from .xemacs-options to customize)
References: <199703280336.UAA20369@branagh.ta52.lanl.gov> 	<rjiv2c5pnv.fsf@zuse.dina.kvl.dk> 	<rvybb74xee.fsf@sdnp5.ucsd.edu> 	<199703282119.OAA22181@branagh.ta52.lanl.gov> 	<199703282133.QAA29669@amber.vis-av.com> 	<rjzpvn3csu.fsf@zuse.dina.kvl.dk> 	<199703290019.QAA04650@bittersweet.inetarena.com> 	<rjpvwj2d26.fsf_-_@zuse.dina.kvl.dk> <QQcizy17636.199703292032@crystal.WonderWorks.COM>
Organization: The Church of Emacs
X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM<U{B+4e{k79.Ya{~':DblFPCg$
 @60,BfLv2@SKZ19cMWK0/C'v;tM:|6B'R}U1rp6CL&kN({9<zF/V{:JCg27yC)9oZjeqcQawzKfiNL
 t9}`vjmK["dRQC/qGFQq"%u|Q`:6{"Rz}b(dnl_"3$Jtqimi>|8MBp/
From: Per Abrahamsen <abraham@dina.kvl.dk>
Date: 29 Mar 1997 22:41:42 +0200
In-Reply-To: Kyle Jones's message of Sat, 29 Mar 1997 15:32:52 -0500 (EST)
Message-ID: <rjsp1ezb09.fsf@zuse.dina.kvl.dk>
Lines: 25
X-Mailer: Gnus v5.4.37/Emacs 19.34
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Kyle Jones <kyle_jones@wonderworks.com> writes:

> What does set-face-background-pixmap do that makes it unsuitable
> for use in places where set-face-stipple would be used?

`set-face-background-pixmap' does not look in `x-bitmap-file-path'.

One could write a wrapper that did just that, but a full emulation of
`set-face-stipple' would be more generally useful.

set-face-stipple: an interactive compiled Lisp function.
(set-face-stipple FACE PIXMAP &optional FRAME)

Change the stipple pixmap of face FACE to PIXMAP.
PIXMAP should be a string, the name of a file of pixmap data.
The directories listed in the `x-bitmap-file-path' variable are searched.

Alternatively, PIXMAP may be a list of the form (WIDTH HEIGHT DATA)
where WIDTH and HEIGHT are the size in pixels,
and DATA is a string, containing the raw bits of the bitmap.  

If the optional FRAME argument is provided, change only
in that frame; otherwise change each frame.

