From xemacs-m  Tue May 13 17:06:44 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA02072
	for <xemacs-beta@xemacs.org>; Tue, 13 May 1997 17:06:44 -0500 (CDT)
Received: from kramer.in.aventail.com.aventail.com (wmperry@[192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with SMTP id PAA24499;
	Tue, 13 May 1997 15:06:41 -0700 (PDT)
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: Byte-compiler warning
References: <kig3errdp5u.fsf@jagor.srce.hr> <86u3k76no7.fsf@kramer.in.aventail.com> <kigzptzc9p2.fsf@jagor.srce.hr>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;
From: wmperry@aventail.com (William M. Perry)
Date: 13 May 1997 15:06:41 -0700
In-Reply-To: Hrvoje Niksic's message of 14 May 1997 00:02:17 +0200
Message-ID: <86sozr6n7y.fsf@kramer.in.aventail.com>
Lines: 24
X-Mailer: Gnus v5.4.49/Emacs 19.34

Hrvoje Niksic <hniksic@srce.hr> writes:

> wmperry@aventail.com (William M. Perry) writes:
> 
> > >   ** Variable reference to constant :someslot
> > >   ** Variable reference to constant :someslot
> > 
> >   Yup, and absolutely essential for even a prayer of .elc
> >   compatibility.
> 
> Why is the warning essential for .elc compatibility?

  The warning is not, but what is causing the warning is.  I don't see an
easy way other than hacking upon the 'constant-p' function in the
byte-compiler to not treat keywords as constants.  But keywords _are_
constants, and you should get warnings if you try to set one of them.
Ick. :)

> BTW, Emacs 19.35 will intern the colon-prefixed symbols automatically,
> too.  At least Erik Naggum submitted a patch to that effect.

  19.35 will save the world.  :)

-bp

