spot4e icon indicating copy to clipboard operation
spot4e copied to clipboard

helm query gets interrupted by url request

Open thiennamdinh opened this issue 6 years ago • 3 comments

Hi Chiply,

I have an issue where typing in a search query too quickly (read: more than ~20 wpm) results in the following interruption method in the minibuffer:

error in process filter: Transfer interrupted!

This seems well documented as an issue with url-retrieve in similar projects and appears to be fixed by switching to curl.

https://github.com/emacs-helm/helm/issues/866 https://github.com/skeeto/elfeed/issues/30

How feasible would it be support curl/request.el? If not, would it be doable to at least prevent spot4 from sending out a request until I signal that I'm done typing?

Thanks!

P.S. I did try this hack and while it mostly stopped the asynchronous interruptions, it resulted in other unexpected and annoying behavior.

thiennamdinh avatar Dec 05 '18 02:12 thiennamdinh

Let me check it out and get back to you - I run into this error too and it is a nuisance for sure.

Of course, if you get this interruption, the short term fix is to simply continue typing or backspace and the url requests should start coming through normally again.

But I will look into supporting curl for a long term solution - thanks! I'm going to flag this as an enhancement as imo spot4e is still usable with this interruption and a fix would enhance usability.

chiply avatar Dec 11 '18 13:12 chiply

This is why I don't use helm-google-suggest. It's too rough ergonomically to be worth it.

matthew-piziak avatar Jan 29 '19 21:01 matthew-piziak

@matthew-piziak +1, I thought it's a bug which only I am experiencing but the small blocks during typing make it unusable

moritzschaefer avatar Mar 20 '19 15:03 moritzschaefer