Package: elib
Version: 1.0-11

when the function elib-avl-mapc is called, u receveiv some error cause the 
functions
elib-stack-create is not define.
here is the instruction to enter in EMACS 21 in ielm mode to see the bug

M-x load-library avltree
(setq toto (avltree-create '<))
(avltree-enter toto 13)
(avltree-enter toto 7)
(avltree-enter toto 5)
(elib-avl-mapc (lambda (x) (aset x 2 (1+ (aref x 2)))) (elib-avl-root toto))
--> error

the bug is easy to repair , u just have to edit the avltree.el file, go to the 
line 407 where u find the elib-avl-mapc function's code
there u modify all the elib-stack-foobar function by stack-foobar M-x 
replace-string defun elib-stack <ret> defun stack do it
paerfectly. Hope this will help

On a Debian etch 
Linux version 2.6.8-2-k7 ([EMAIL PROTECTED]) (gcc version 3.3.5 
(Debian 1:3.3.5-12)) #1 Thu May 19 18:03:29 JST 2005

diff elib-1.0/avltree.el my_avltree.el
Tags: patch
415c415
<       (stack (elib-stack-create))
---
>       (stack (stack-create))
417c417
<     (elib-stack-push stack nil)
---
>     (stack-push stack nil)
422c422
<           (elib-stack-push stack node)
---
>           (stack-push stack node)
428c428
<         (setq node (elib-stack-pop stack)
---
>         (setq node (stack-pop stack)





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to