Thinca wrote:
> Timer can not stop in its callback.
>
> ```
> let t = timer_start(1000, { timer -> timer_stop(timer) }, {'repeat': -1})
> ```
>
> This timer doesn't stop. timer_pause() doesn't also work in callback.
> We can stop this timer from the outside of callback: call timer_stop(t)
I'll have a look.
> I think this is bug and should be fixed before Vim 8.0.
If we keep changing things we never get to a release...
--
"Computers in the future may weigh no more than 1.5 tons."
Popular Mechanics, 1949
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.