From xemacs-m  Wed Mar 12 16:36:19 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 QAA13884
	for <xemacs-beta@xemacs.org>; Wed, 12 Mar 1997 16:36:11 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id XAA05509; Wed, 12 Mar 1997 23:35:59 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: Re: Documentation bug
References: <199703122109.NAA29413@sandman> <m2endk7oix.fsf@altair.xemacs.org>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 12 Mar 1997 23:35:58 +0100
In-Reply-To: Steven L Baur's message of 12 Mar 1997 14:07:18 -0800
Message-ID: <kig4tegn3g1.fsf@jagor.srce.hr>
Lines: 31
X-Mailer: Gnus v5.4.25/XEmacs 19.14

Steven L Baur <steve@miranova.com> writes:

> There are supposed to be a whole set of character specific order
> comparison functions char<, char>, etc. none of which appear to be
> implemented.  They look easy enough to add; should they be added?

I don't think they're easy to add for anything other than latin1.  For
example, the `s' in `Niksic' in fact is not `s', but an iso-8859-2
character with the code 185 (it's exponent-1 in iso-8859-1).  That
character may be in a buffer.  In that case, the following should all
be true (I use ?sh to denote 185 in latin2):

(char-equal ?sh ?SH)  ; case-insensitive compatison
(char> ?sh ?s)
(char< ?sh ?t)        ; ?sh is between ?s and ?t

I don't know how hard this is to add, but it's *definitely*
non-trivial, and it *cannot* be achieved with just implicit conversion
to integer.  If we don't want a brain-damaged implementation, that is.

A side-point: what should XEmacs 20 do if various cross-character-set
characters are compared.  What is "bigger", the letter ?c or a
Japanese character?

Martin, how hard is this to implement correctly, especially taken into
consideration the various character set problem?

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

