From xemacs-m  Mon Jun 16 17:55:45 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 RAA02129
	for <xemacs-beta@xemacs.org>; Mon, 16 Jun 1997 17:55:44 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id AAA18538; Tue, 17 Jun 1997 00:55:45 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: [patch] psgml fixes
References: <199706151837.LAA06978@bittersweet.inetarena.com> <QQcubv24022.199706151952@crystal.WonderWorks.COM> <rvlo4ati9d.fsf@sdnp5.ucsd.edu> <8767ve2s0a.fsf@bittersweet.inetarena.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: 17 Jun 1997 00:55:44 +0200
In-Reply-To: karlheg@inetarena.com's message of 16 Jun 1997 13:48:53 -0700
Message-ID: <kigbu56nonj.fsf@jagor.srce.hr>
Lines: 21
X-Mailer: Gnus v5.4.52/XEmacs 20.2

karlheg@inetarena.com (Karl M. Hegbloom) writes:

>     David> Clearly any occurance of the form (eq (following-char) \?X)
>     David> can be replaced, but some others might require some closer
>     David> looking.
> 
>  Yes.  (= char ?x) ==> Error if (eq char nil).

That wasn't David's point.  David's point is that, for instance,
`following-char' returns 0 at EOB, while `char-after' returns `nil'.
Some programs may check for 0 in *very* obscure ways -- for example by
doing something like (memq char list) where list might be created at
run-time -- with or without the zeros.  This especially goes for
complex stuff like psgml.

This is why one should be *very* careful when patching up.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
main(){printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}

