From xemacs-m  Tue Jul  1 20:57:27 1997
Received: from altair.xemacs.org (xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA18488
	for <xemacs-beta@xemacs.org>; Tue, 1 Jul 1997 20:57:25 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id SAA02282;
	Tue, 1 Jul 1997 18:55:50 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: ebola warnings from html/psgml
References: <199706302316.QAA03695@spline.la.asu.edu>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: John Jones's message of "Mon, 30 Jun 1997 16:16:48 -0700"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 01 Jul 1997 18:55:50 -0700
Message-ID: <m2n2o6kyjd.fsf@altair.xemacs.org>
Lines: 21
X-Mailer: Gnus v5.4.61/XEmacs 20.3(beta11) - "Stockholm"

John Jones <jj@asu.edu> writes:

> While in HTML mode and trying to indent a line, XEmacs produced:

> Comparison between integer and character is constant nil (?\- and 0)

> Comparison between integer and character is constant nil (?\- and 0)

These are due to the code in the sgml-following-char macro:

(defmacro sgml-following-char (n)
  (cond ((zerop n)  '(following-char))
                      ^^^^^^^^^^^^^^
        ((= n 1)    '(char-after (1+ (point))))
        (t          (` (char-after (+ (, n) (point)))))))

Because the 0 indicates the end of buffer and the comparison shouldn't 
succeed, these are annoying spurious warnings and not a bug.
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

