From xemacs-m  Wed Jun 11 23:50:37 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 XAA13047
	for <xemacs-beta@xemacs.org>; Wed, 11 Jun 1997 23:50:36 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id GAA14824; Thu, 12 Jun 1997 06:50:37 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: Ebola vaccines
References: <199706112130.RAA27486@anthem.CNRI.Reston.Va.US> <864tb4es2d.fsf@kramer.in.aventail.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: 12 Jun 1997 06:50:36 +0200
In-Reply-To: wmperry@aventail.com's message of 11 Jun 1997 14:40:58 -0700
Message-ID: <kigzpswpgpv.fsf@jagor.srce.hr>
Lines: 40
X-Mailer: Gnus v5.4.52/XEmacs 20.3(beta5)

wmperry@aventail.com (William M. Perry) writes:

> All your functions that currently use those functions think they hit
> EOB when they see an embedded NULL in a buffer anyway,

No they don't -- at least not in XEmacs 20.  In fact, the value of
`following-char' and `preceding-char' is actually *improved* in
version 20 of the editor.

(eq ?\0 0)
  => nil

However, the following also fails:

(eq ?A 65)
  => nil

So we do need the Ebola warning to catch those places.

I think the right thing is to add more cruft for avoiding Ebola
warnings.  For example:

(defvar ebola-dont-warn-list
  '(folliwnig-char preceding-char)
  "The backtraces not to warn on.")

...or something like that, anyway.

Another nit: the use of `char-before' in place of `preceding-char' is
followed by a slight loss, because `char-before' does not have its
byte-code.

Steve, when you were adding `char-before', why didn't you add a
bytecode to it, or made it a macro?  This way our behavior is
inconsistent.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."

