From xemacs-m  Tue Jun 24 10:13:06 1997
Received: from cs.utah.edu (cs.utah.edu [128.110.4.21])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA18700
	for <xemacs-beta@xemacs.org>; Tue, 24 Jun 1997 10:13:06 -0500 (CDT)
Received: from jaguar.cs.utah.edu by cs.utah.edu (8.8.4/utah-2.21-cs)
	id JAA23650; Tue, 24 Jun 1997 09:13:07 -0600 (MDT)
Received: by jaguar.cs.utah.edu (8.6.10/utah-2.15-leaf)
	id JAA03315; Tue, 24 Jun 1997 09:13:00 -0600
Date: Tue, 24 Jun 1997 09:13:00 -0600
From: eeide@jaguar.cs.utah.edu (Eric Eide)
Message-Id: <199706241513.JAA03315@jaguar.cs.utah.edu>
To: xemacs-beta@xemacs.org
In-reply-to: Steven L Baur's message of , Jun 24 <m2n2ogibg7.fsf@altair.xemacs.org>
Subject: Re: [Copenhagen] emacs-vers.el package and XEmacs 20.3-b8...

Steven L Baur (steve@xemacs.org) writes:

	Steven> emacs-vers.el is not a standard part of XEmacs, it will need to
	Steven> be ported to the new version of version.el.

	>  (defconst emacs-major-version nil
	>   ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^

	Steven> The variable `emacs-major-version' is now built-in to XEmacs
	Steven> and is of type `integer' (it should never have been considered
	Steven> as anything but integer).  See the ChangeLogs for other
	Steven> details.

OK, I guess I'll have to look at the ChangeLogs.  (I am the author of
`emacs-vers'.)  But what is this ``typed variable'' stuff?  Did somebody add
type declarations to Emacs Lisp while I wasn't watching :-)?

The nil value you see above is promptly overwritten by the real value.  The
initial nil value could be worked around, but it was more convenient to simply
declare all the variables first and then parse all the values out of
`emacs-version'.

BTW, the reason `emacs-vers' declares these variables at all is so that it can
work in Emacsen that don't define `emacs-{major,minor}-version' for themselves.

Eric.

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu>  .   University of Utah Dept. of Computer Science
http://www.cs.utah.edu/~eeide  . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX

