> Emacs 23 surely returns nil in that case.  I think the
> behaviour of Emacs 22 is a bug (or at least very confusing).

I don't think it's that important and both sides have fierce proponents
(just like the ()-vs-#t in the Lisp/Scheme community, and probably
comparable to the little/big-endian silliness).  So either way is fine, and
I'd rather let the choice be based on implementation simplicity or some
other such arbitrary method.

This said, negative numbers are not the only problems: not all positive
intergers are chars either.  So the question is whether char-or-string-p
should use `integerp' or `natnump' or `char-valid-p' and I think only the
first and last of those three makes good sense.


        Stefan


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to