From xemacs-m  Thu Apr 10 17:59:31 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA29459
	for <xemacs-beta@xemacs.org>; Thu, 10 Apr 1997 17:59:29 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id QAA25705;
	Thu, 10 Apr 1997 16:12:25 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: comint and term are customized
References: <kig67xupps3.fsf@jagor.srce.hr> 	<rjbu7mziy9.fsf@zuse.dina.kvl.dk> 	<m2sp0ymux1.fsf@altair.xemacs.org> <199704102144.RAA07847@anthem.CNRI.Reston.Va.US>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: "Barry A. Warsaw"'s message of Thu, 10 Apr 1997 17:44:07 -0400
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 10 Apr 1997 16:12:23 -0700
Message-ID: <m2d8s2lbfs.fsf@altair.xemacs.org>
Lines: 28
X-Mailer: Gnus v5.4.42/XEmacs 20.1(beta14)

Barry A Warsaw <bwarsaw@CNRI.Reston.VA.US> writes:

> For any potentially dumpable package, it seems like if that package
> wants to include defface definitions, there has to be a separate
> package just for that.

Yup.

> That kind of sucks.  Is the defface-undumpable limitation fixable?

Not easily[1].  The problem is the stuff defface calls needs an X server
connection when it executes and there isn't one at dump time.

If you are running on a tty-only XEmacs, then you're fine I believe. If
you're compiling without tty support and with X11 support (a legal
configuration option) you will really lose as you will have no valid
faces at dump time.[2]

Footnotes: 
[1]  A method of implementing it might be to defer execution of defface
calls until package activation time, and arrange pseudo -load hooks at 
run time after the X connection is set up.

[2]  If I'm reading the code correctly.

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

