From xemacs-m  Thu Jul  3 02:51:32 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 CAA17025
	for <xemacs-beta@xemacs.org>; Thu, 3 Jul 1997 02:51:28 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id JAA11568; Thu, 3 Jul 1997 09:51:26 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: More on Ebola
References: <199707022247.SAA16133@anthem.CNRI.Reston.Va.US>
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: 03 Jul 1997 09:51:25 +0200
In-Reply-To: "Barry A. Warsaw"'s message of "Wed, 2 Jul 1997 18:47:30 -0400"
Message-ID: <kig3epwr2te.fsf@jagor.srce.hr>
Lines: 33
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta10) - "Athens"

"Barry A. Warsaw" <bwarsaw@CNRI.Reston.Va.US> writes:

> The = comparisons are great because of the type coersion so even if
> f-c returns int(0), no Ebola.  But memq is really convenient to test
> if a character is in a set of expected characters.  Here, because eq
> is used, no type conversion occurs and Ebola festers.  But switching
> to char-after & char-before everywhere sucks because at the boundary
> conditions these two functions return nil.  Just try to (= nil ?a)!

Why do you use `='?  `eq' and `memq' combined with
`char-{before,after}' should do the work.

> (defsubst mem= (elt list)
>   "Return non-nil if ELT is an element of LIST.  Comparison done with `='.
> The value is actually the tail of LIST whose car is ELT."
>   ;; I really hate to have to do this, but...

Oh come on people, we should stop this.  I really cannot stand seeing
sources go ugly because of a warning that is *not* necessary.
`following-char' works perfectly in XEmacs 20.

> One thing that I'd like to propose is to change f-c and p-c semantics
> such that they return ^@ (char \000) instead of int 0.

NO no no nooooooooo....  That would be completely, utterly, and
devastatingly sucky, horrible and ugly.  My English vocabulary is
limited to describe how much I'd hate such a solution -- I'll need
better wording from Kyle.  An .au file will do as well.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.

