From xemacs-m  Sun Jan 26 12:13:40 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id MAA10203 for <xemacs-beta@xemacs.org>; Sun, 26 Jan 1997 12:13:37 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQcaeq19392; Sun, 26 Jan 1997 13:13:38 -0500 (EST)
Date: Sun, 26 Jan 1997 13:13:38 -0500 (EST)
Message-Id: <QQcaeq19392.199701261813@crystal.WonderWorks.COM>
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: Re: 19.15b90: timezone-make-date-sortable fails
In-Reply-To: <m2ohecpcml.fsf@altair.xemacs.org>
References: <QQcaem18496.199701261706@crystal.WonderWorks.COM>
	<m2ohecpcml.fsf@altair.xemacs.org>

Steven L. Baur writes:
 > Kyle Jones writes:
 > 
 > > (timezone-make-date-sortable "Thu, 9 Beb 1995 15:09:45 +0200 (EET)")
 > > signals
 > 
 > > Wrong type argument: numberp, nil
 > 
 > > I don't what "Beb" is supposed to be, but timezone shouldn't
 > > throw an error in response to it.
 > 
 > Why shouldn't it?  Should it return garbage instead?  Emacs 19.34
 > behaves identically.

I sent them a bug report, too.

Well, if it must signal an error, have it signal something more
reasonable that the caller can catch and deal with.  How about

(signal 'invalid-date (list "Thu, 9 Beb 1995 15:09:45 +0200 (EET)"))

I don't feel comfortable handling wrong-type-argument.

