> skeleton-internal-1 can enter an infinite loop if the ELEMENT argument
 > is a negative integer.  To reproduce:
 > 
 > emacs -Q
 > 
 > M-x auto-insert-mode RET
 > 
 > C-x C-f ~/tmp/test.tex
 > 
 > Answer yes when asked to perform auto insertion for latex mode.
 > 
 > Hit RET repeatedly.

I can't reproduce this on Emacs 22, although oddly it tells me that the buffer
is not modified when it completes.

 > This bug is due to skeleton-internal-1 relying on char-or-string-p to
 > return non-nil if its argument is an integer, while in fact,
 > char-or-string-p returns nil if its argument is a negative integer.

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.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to