[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: infloop in skeleton-insert
From: |
Kenichi Handa |
Subject: |
Re: infloop in skeleton-insert |
Date: |
Tue, 10 Apr 2007 22:09:50 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.95 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Nick Roberts <address@hidden> 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
address@hidden
- infloop in skeleton-insert, Lawrence Mitchell, 2007/04/10
- Re: infloop in skeleton-insert, Nick Roberts, 2007/04/10
- Re: infloop in skeleton-insert, Kenichi Handa, 2007/04/10
- Re: infloop in skeleton-insert, Nick Roberts, 2007/04/10
- Re: infloop in skeleton-insert,
Kenichi Handa <=
- Re: infloop in skeleton-insert, Jason Rumney, 2007/04/10
- Re: infloop in skeleton-insert, Nick Roberts, 2007/04/10
- Re: infloop in skeleton-insert, Miles Bader, 2007/04/10
- Re: infloop in skeleton-insert, Kenichi Handa, 2007/04/10
- Re: infloop in skeleton-insert, Nick Roberts, 2007/04/11
- Re: infloop in skeleton-insert, Miles Bader, 2007/04/11
- Re: infloop in skeleton-insert, martin rudalics, 2007/04/10
- Re: infloop in skeleton-insert, Kim F. Storm, 2007/04/10
- Re: infloop in skeleton-insert, Nick Roberts, 2007/04/10
- Re: infloop in skeleton-insert, Miles Bader, 2007/04/10