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

2013-10-16 Fir de Conversatie Matthew Kaniaris
I like the idea for a threshold, but it would be a ton of work since it would have to use threads and locking and vim isn't thread safe. This is way more work than I am willing to put in even if it means this patch doesn't get merged. -Matt On Wed, Oct 16, 2013 at 6:19 PM, Anton Bobrov wrote:

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

2013-10-16 Fir de Conversatie Matthew Kaniaris
13 at 05:24:53PM -0700, Matthew Kaniaris wrote: > > Anton, > > > > What do you mean by long running timers? Are you suggesting we look at > the > > running time of the current timer? > > > > -Matt > > Yes, exactly. As far as I understand the implementatio

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

2013-10-16 Fir de Conversatie Matthew Kaniaris
Anton, What do you mean by long running timers? Are you suggesting we look at the running time of the current timer? -Matt On Wed, Oct 16, 2013 at 5:15 PM, Anton Bobrov wrote: > > It wouldn't be unreproducible, nor would it be a glitch. I'd get a > prominent error message if I pressed CTRL-C

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

2013-10-14 Fir de Conversatie Matthew Kaniaris
Ben, There is an error message when they are canceled. I don't think there is any good way to revive intervals that have been interrupted. -Matt On Mon, Oct 14, 2013 at 12:28 PM, Ben Fritz wrote: > On Monday, October 14, 2013 9:55:28 AM UTC-5, Ernie Rael wrote: > > On 10/14/2013 5:06 AM, Ben

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

2013-09-24 Fir de Conversatie Matthew Kaniaris
David, Is it currently possible to introspect the file and line number of call site of sitetimeout? I think it would be enough to just error message that info when a timer is canceled. -Matt On Tue, Sep 24, 2013 at 5:51 AM, David Fishburn wrote: > > On Mon, Sep 23, 2013 at 8:53 PM, kans wrot