From xemacs-m  Thu Mar  6 15:45:32 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA25770
	for <xemacs-beta@xemacs.org>; Thu, 6 Mar 1997 15:45:31 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id NAA01833;
	Thu, 6 Mar 1997 13:57:40 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Ebola warnings -- help!!
References: <199703062125.NAA05457@sandman>
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@miranova.com>
In-Reply-To: Dan Rich's message of Thu, 6 Mar 1997 13:25:17 -0800
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 06 Mar 1997 13:57:39 -0800
Message-ID: <m2pvxcof8s.fsf@altair.xemacs.org>
Lines: 32
X-Mailer: Gnus v5.4.19/XEmacs 20.1

Dan Rich writes:

> I am getting repeated Ebola warnings with the code attached below in
> 20.1b5 on Solaris 2.5.1.  Can anyone tell what is going on? I don't
> see anything obviously stupid in this code (and it's not mine, so
> don't blame me!! :-)

It's stupid code and will break with MULE characters.  It converts
input characters to integers, then uses eq (from memq) to compare the
integers against characters, hence the Ebola warnings.

To see where the error messages are coming from, type src/xemacs on
the command line and evaluate 
(eq 103 ?o)
in the scratch buffer.

Ebola warning!! (103 and ?o)
   [eq, eval, eval-interactive, eval-last-sexp, <compiled-function from "lisp-mode.elc">, call-interactively]


> 	 '(?o ?r ?g    ?\e ?q ?\b ?\C-g))))

Replace this line with

'((char-to-int ?o) (char-to-int ?r) (char-to-int ?g) ...

you get the idea.

Or fix it to stick with characters in the first place.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

