[PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-09-01 Thread Geoff Greer
g so will open the door to a lot of cool plugins. Oh, and this is the first time either myself or Matt have submitted a patch to Vim, so please be gentle. Sincerely, Geoff Greer -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below

Re: [PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-09-02 Thread Geoff Greer
ay, September 2, 2013 5:00:00 PM UTC-7, Tony Mechelynck wrote: > On 02/09/13 03:42, Geoff Greer wrote: > > > This patch adds asynchronous functions to vimscript. If you want to perform > > an action in 700ms, simply: > > > > > > let timeout_id = settimeout(700, &

Re: [PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-09-23 Thread Geoff Greer
imilarly. But please be aware of the costs of *not* adding timers to Vim. Without them, whole categories of plugins are simply impossible: Indexing files in the background. Collaborative editing. Deep integration with debuggers and browsers. That's just what I can imagine in a few minutes. The enti

Re: [PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-10-20 Thread Geoff Greer
merged, but there's been a recurring pattern where we address one thing only to have another brought up. If this is the last thing, we'll gladly add it. If it's not the last thing, please give us a complete list of blockers. Then we can determine if we want to continue addressi