chuntaro

Results 23 comments of chuntaro

Me too. @samueljun - OS: Windows 10 Home 20H2 - Browser: Firefox 85.0 - Extension Version: 6.0.0 Edit: I just tried it and heard a small, short sound.

すみません、自分の環境だと公式ビルドの Emacs26.3, Emacs27.0.50 で再現しませんでした… 数秒すると6270桁の数字が表示されます。 async.el によって別プロセスで計算しているはずですが、CPU負荷はずっと高いままでしょうか?

なるほど… 確かに (require 'async) はしてないですが、Package-Requires に (async "1.9") が書いてあって、async-autoloads.el に async-start が autoload されているので問題無いと思ってましたが…明示的に (require 'asyc) が必要なのかもしれないです。 example16 のドキュメント文字列の下に (require 'async) を書くとどうでしょうか?

なんと、随分複雑ですね… (require 'async) がエラーになると、正直対処法が分かりません…

多分 -Q を付けなければうまく行くのでしょうね。 出来る限り素の状態で動かしたかったので -Q を付けてますが、canao さんの環境に合わせて変更してみてくださいという感じでしょうか… 関係無いですが -Q がダブってたり、-f で良いのに --execute 使ってたりしますね…後ほど修正しておきます。

1からLisp用のAPIとして実装していたら、間違いなく(&rest args)でしょうけど、promise-allはvectorでないと内部の処理が効率悪くなるので、vectorの引数を受け取るのは仕方ないというか… (promise-raceは引数は何でもいいのですが、直行性の為にvectorになってます) (&rest values)だとvectorを渡せるように見えないので、もう少し検討させてください。 (&optional value-or-vector &rest rest-values) の方がまだ分かりやすか?他のライブラリで似た様な事をしてないか調べてみます。

Thank you for the report. Instead of PullReq's method, I have committed a fix, is this not a problem? ```JavaScript "use strice"; function timeoutPromise(time, reason) { return new Promise(function(resolve, reject)...

Fix to promise-reject simply without throwing an error in promise-finally and promise-done. It's different from JavaScript's way of throwing errors, but the results are better. What kind of function is...

Sorry, I misunderstood the behavior of promise-done. Is it okay to commit the following fixes? ```diff diff --git a/promise-done.el b/promise-done.el index dd7ffab..d787087 100644 --- a/promise-done.el +++ b/promise-done.el @@ -57,9 +57,9...

```diff diff --git a/promise-done.el b/promise-done.el index dd7ffab..8a9a83f 100644 --- a/promise-done.el +++ b/promise-done.el @@ -57,9 +57,7 @@ (promise-then self nil (lambda (err) (run-at-time 0 nil (lambda () - (if (listp err)...