From xemacs-m  Thu Jul 31 00:50:18 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 AAA13558
	for <xemacs-beta@xemacs.org>; Thu, 31 Jul 1997 00:50:17 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id WAA05621;
	Wed, 30 Jul 1997 22:54:28 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: compiled-function-p and byte-code-function-p
References: <199707310530.OAA04125@orion.kurims.kyoto-u.ac.jp>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Jens-Ulrik Holger Petersen's message of "Thu, 31 Jul 1997 14:30:37 +0900"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 30 Jul 1997 22:54:27 -0700
Message-ID: <m24t9b3gx8.fsf@altair.xemacs.org>
Lines: 52
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta16) - "Budapest"

Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp> writes:

> I could imagine this is an old thread...

Not that old, and fairly obscure if one has been skimming the
traffic.

The policy of making renamed symbols that were kept around for Emacs
compatibility obsolete has been cancelled.  A new type of symbol alias
was created for these compatible symbols.  By default the byte compiler
does not complain about symbols hanging around for compatibility.

C-h v window-system
window-system's value is x
  -- a simple built-in variable.

Documentation:
Emacs Compatible; use (console-type)

A symbol naming the window-system under which Emacs is running,
such as `x', or nil if emacs is running on an ordinary terminal.
This variable is OBSOLETE and will be removed in a future version.

(Hmm, this example was taken from a grep of obsolete.el and it appears 
I better fix the last line of the docstring).


> In XEmacs-20 I have:

> byte-code-function-p: (OBJECT)
>   -- an alias for compiled-function-p, a built-in function.
> Obsolete; use `compiled-function-p' instead.


> whereas in Emacs I have

> compiled-function-p: alias for `byte-code-function-p'.
> T if OBJECT is a byte-compiled function object.
> (byte-code-function-p OBJECT)


> Who wins here?

`compiled-function-p' is the better name.  The previous name has been
left as obsolete because newer versions of Emacs support the preferred 
name.

Because of the current policy, I consider it sheer folly for package
authors to modify their build procedures to bypass obsolete symbol
warnings.  If the 'obsolete marked symbol is really compatible and a
complete work-alike exists for the Emacs equivalent it should be fixed
in the XEmacs source.

