Open Silex opened 2 years ago
@Silex Hi, sorry if you may already know this or I'm totally wrong about this, but
aio
is build upon the emacs's generator function, which does now seem work well with so-called special-forms
https://github.com/emacs-mirror/emacs/blob/master/lisp/emacs-lisp/generator.el#L472
How could you avoid this issue when you write your own package??
I'm also bumping into this problem again and again and it seems impossible for me to make
UI related program with aio
...
How could you avoid this issue when you write your own package??
Well the only way I found was to first gather data, then do the UI/whatever part (just like in my code example above).
@Silex Thanks for the comment!
Well the only way I found was to first gather data, then do the UI/whatever part (just like in my code example above).
I'm following this advice, and so far so good! :+1:
Hello
In the following code,
ok
behaves properly butbuggy
creates an error.Eager macro-expansion failure: (error "special form (save-current-buffer (set-buffer \"test\") (insert (funcall (cps-internal-yield (aio-sleep 5 \"yeah\"))))) incorrect or not supported")