In article <[EMAIL PROTECTED]>, Nick Roberts <[EMAIL PROTECTED]> writes:
> > It doesn't on Emacs 22: > > > (char-or-string-p -4) > > t > > > and if it does on Emacs 23 then I think that must be the bug. > > Emacs 23 surely returns nil in that case. I think the > behaviour of Emacs 22 is a bug (or at least very confusing). > Emacs 21 appears to have the same behaviour. > Don't people think OBJ can be safely used as an argument of > a function that expects a character (e.g. insert, > char-to-string) if (char-or-string-p OBJ) is true? > The manual says: > A "character" in Emacs Lisp is nothing more than an integer. > That would have to change. > And continues with: > In > other words, characters are represented by their character codes. For > example, the character `A' is represented as the integer 65. > Perhaps the `character' -4 just doesn't have a representation/character code. ??? If `character' -4 doesn't have a character code, what is -4 for that character? And, if it doesnt' have a representation, -4 doesn't represent a character, thus -4 is not a character. --- Kenichi Handa [EMAIL PROTECTED] _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
