From xemacs-m  Wed May 14 16:14:20 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA25517
	for <xemacs-beta@xemacs.org>; Wed, 14 May 1997 16:14:19 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id XAA21396; Wed, 14 May 1997 23:14:19 +0200 (MET DST)
To: 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> <rjg1vqctca.fsf@zuse.dina.kvl.dk> <kigzptybea9.fsf@jagor.srce.hr> <rvlo5iq88b.fsf@sdnp5.ucsd.edu>
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 14 May 1997 23:14:18 +0200
In-Reply-To: David Moore's message of 14 May 1997 10:22:28 -0700
Message-ID: <kig2079bvth.fsf@jagor.srce.hr>
Lines: 27
X-Mailer: Gnus v5.4.52/XEmacs 19.15

David Moore <dmoore@ucsd.edu> writes:

> > 3) modify cl.el not to emit variable references to keywords.
> > 
> > #3 would be the desired solution, if it weren't for byte-code
> > #compatibility.  Would it be worth the trouble to go for #2?
> 
> I don't like either 1 or 2.  #3 is the best choice.  What about:
> 
> #+emacs (setq :keyword ':keyword)

Bye-bye .elc compatibility then.  #+ doesn't help, as it's processed
read-time.

> Although I guess you still get the warning in this case, unless
> you're tricky about it.  I'd make a `make-keyword' function, which
> you call to do the setting (defun make-keyword (a) (if running-emacs
> (set a a))) or somesuch, and you won't get the warning if you use
> (make-keyword ':foo).

That looks good.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Contrary to popular belief, Unix is user friendly.  
It just happens to be selective about who it makes friends with.

