From xemacs-m  Wed Apr  2 16:38:39 1997
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA00241
	for <xemacs-beta@xemacs.org>; Wed, 2 Apr 1997 16:38:38 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id OAA12872 for <xemacs-beta@xemacs.org>; Wed, 2 Apr 1997 14:38:38 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id OAA06854; Wed, 2 Apr 1997 14:40:19 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: xemacs-beta@xemacs.org
Subject: Re: Build success: 20.1b10 w/o patches, Linux 2.0.29
References: <hhu3lq3oc9.fsf@arioch.oche.de> <m2u3lqicyg.fsf@altair.xemacs.org> <hh4tdqb35t.fsf@arioch.oche.de> <m267y6qh4s.fsf@altair.xemacs.org> <hhenctmc6l.fsf@arioch.oche.de> <m2bu7x836q.fsf@altair.xemacs.org>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: David Moore <dmoore@ucsd.edu>
Date: 02 Apr 1997 14:40:19 -0800
In-Reply-To: Steven L Baur's message of 02 Apr 1997 14:34:05 -0800
Message-ID: <rv4tdpxd4c.fsf@sdnp5.ucsd.edu>
Lines: 33
X-Mailer: Gnus v5.4.37/XEmacs 19.15

Steven L Baur <steve@miranova.com> writes:

> > 2. Executing (overlay-lists) [in a buffer without overlays, I guess]
> >    returns "(nil nil)", in GNU Emacs it returns "(nil)".
> 
> That's an Emacs bug (at the minimum a doc bug).
> [From 19.34]:
> overlay-lists: a built-in function.
> 
> Return a pair of lists giving all the overlays of the current buffer.
>        ^ ^^^ ^^  ^^^^^
> 
> (nil) doesn't look like `a pair of lists' to me.  If the doc string is 
> wrong the problem is easily fixed.  Who knows enough about overlays to 
> say what is correct?

Doesn't pair always mean dotted pair?  ha ha ha ha.  Well, ok, but it
definitely does in this case.

So then GNU emacs is returning (nil . nil) which is a dotted pair of
lists.  The rest of the documention for overlay-lists makes it clear
that it's supposed to be returning a dotted pair.  Therefore our version
is broken.

Change the (list before after) to (cons before after) in our
overlay-lists to fix it.


-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

