emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: infloop in skeleton-insert


From: Stefan Monnier
Subject: Re: infloop in skeleton-insert
Date: Tue, 10 Apr 2007 10:51:33 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]