From xemacs-m  Fri Feb 28 12:32:53 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 MAA09007
	for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 12:32:52 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id KAA32192;
	Fri, 28 Feb 1997 10:44:33 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: [patch] load-history in describe-variable and for dumped symbols
References: <199702280728.HAA07066@mecca.spd.louisville.edu> <199702281609.LAA36850@black-ice.cc.vt.edu>
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: Valdis.Kletnieks@vt.edu's message of Fri, 28 Feb 1997 11:09:30 -0500
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 28 Feb 1997 10:44:33 -0800
Message-ID: <m267zclqi6.fsf@altair.xemacs.org>
Lines: 37
X-Mailer: Gnus v5.4.15/XEmacs 20.1

Valdis Kletnieks writes:

> On Fri, 28 Feb 1997 07:28:07 GMT, you said:
>> As this feature uses some extra 25k of purespace (737512 after patch
                                   ^^^
>> versus 712944 before; for IRIX) it is enabled only when DEBUG_XEMACS is
>> defined (default in beta versions).  Another adverse effect is making
>> the two `describe-' functions somewhat slower.  `unload-feature' is not
>> a source of problems because it fails on read-only objects when trying
>> to remove one of the dumped features.

> Man.. talk about generally cool.  Those #ifdef's were the *first* thing
> to go.. ;)

> Seriously - could we make it hung off a variable rather than
> #ifdef'ed, or similar? This is just *so* generally useful, and I've
> often been building with --debug=no...

This patch is the right idea, but definitely not an optimal
implementation.  I've been working on another solution to this problem
that has a minimal impact on resources.  It looks something like:

eldoc-mode: (&optional prefix)
  -- an interactive compiled Lisp function.
  -- loaded from eldoc.elc.
*Enable or disable eldoc mode.
See documentation for the variable of the same name for more details.
 ...

It uses a feature called function annotation that I'd never heard of
until Jamie brought it up on comp.emacs.xemacs, but it contains
exactly the information we want.  There's no appreciable increase in
purespace usage, and no appreciable performance penalty.

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

