From xemacs-m  Sat Jun 28 14:30:02 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 OAA18755
	for <xemacs-beta@xemacs.org>; Sat, 28 Jun 1997 14:30:01 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id VAA06407; Sat, 28 Jun 1997 21:29:59 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: XEmacs internal corruption integer `0' plist -- test case
References: <m2k9jeppxm.fsf@altair.xemacs.org> <QQcvxt03404.199706281921@crystal.WonderWorks.COM>
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: 28 Jun 1997 21:29:58 +0200
In-Reply-To: Kyle Jones's message of "Sat, 28 Jun 1997 15:21:23 -0400 (EDT)"
Message-ID: <kig4taiv83t.fsf@jagor.srce.hr>
Lines: 25
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta9) - "Sofia"

Kyle Jones <kyle_jones@wonderworks.com> writes:

[Per Abrahamsen:]
> Any idea how (symbol-plist 'toolbar-cut) can be anything but a plist?
> 
> I really hope this is an XEmacs bug, otherwise I'll have to put each
> use of `get' inside a condition-case.

As David Moore pointed out then, and I'll repeat now: It is PERFECTLY
LEGAL in XEmacs and GNU Emacs to do something like:

(setplist 'foo 10)
(symbol-plist 'foo)
  => 10                 ; what a plist!

We mustn't even put a check to `setplist', because there are packages
actually /using/ this horrible, brain-dead feature!

If anything, we might patch up `get' to not die on malformed plists,
but that would be gross.  I'd rather find the bug.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm a Lisp variable -- bind me!

