{"action":"created","issue":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/325","labels_url":"https://api.github.com/repos/company-mode/company-mode/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/company-mode/company-mode/issues/325/comments","events_url":"https://api.github.com/repos/company-mode/company-mode/issues/325/events","html_url":"https://github.com/company-mode/company-mode/issues/325","id":62700063,"number":325,"title":"Why does asynchronous mode not work for company-ycmd","user":{"login":"r4nt","id":1835471,"avatar_url":"https://avatars.githubusercontent.com/u/1835471?v=3","gravatar_id":"","url":"https://api.github.com/users/r4nt","html_url":"https://github.com/r4nt","followers_url":"https://api.github.com/users/r4nt/followers","following_url":"https://api.github.com/users/r4nt/following{/other_user}","gists_url":"https://api.github.com/users/r4nt/gists{/gist_id}","starred_url":"https://api.github.com/users/r4nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r4nt/subscriptions","organizations_url":"https://api.github.com/users/r4nt/orgs","repos_url":"https://api.github.com/users/r4nt/repos","events_url":"https://api.github.com/users/r4nt/events{/privacy}","received_events_url":"https://api.github.com/users/r4nt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-03-18T13:55:29Z","updated_at":"2015-03-20T21:39:20Z","closed_at":null,"body":"Hi,\r\n\r\nif I take a look at emacs-ycmd's company mode integration, it looks like it's already providing the completions asynchronously (via (cons :async (lambda (cb) (company-ycmd--get-candidates cb prefix)))))\r\nhttps://github.com/abingham/emacs-ycmd/blob/master/company-ycmd.el\r\n\r\nWhen I have a file where completions take a while to get (0.5 seconds or so) and there are lots of completions, company still completely hangs for me when I trigger it automatically on key-press.\r\n\r\nAny help to debug this / speed it up would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/comments/84157194","html_url":"https://github.com/company-mode/company-mode/issues/325#issuecomment-84157194","issue_url":"https://api.github.com/repos/company-mode/company-mode/issues/325","id":84157194,"user":{"login":"r4nt","id":1835471,"avatar_url":"https://avatars.githubusercontent.com/u/1835471?v=3","gravatar_id":"","url":"https://api.github.com/users/r4nt","html_url":"https://github.com/r4nt","followers_url":"https://api.github.com/users/r4nt/followers","following_url":"https://api.github.com/users/r4nt/following{/other_user}","gists_url":"https://api.github.com/users/r4nt/gists{/gist_id}","starred_url":"https://api.github.com/users/r4nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r4nt/subscriptions","organizations_url":"https://api.github.com/users/r4nt/orgs","repos_url":"https://api.github.com/users/r4nt/repos","events_url":"https://api.github.com/users/r4nt/events{/privacy}","received_events_url":"https://api.github.com/users/r4nt/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T21:39:20Z","updated_at":"2015-03-20T21:39:20Z","body":"@tuhdo - yes, but I don't think it makes much sense to support multiple backends that all serve the same purpose. At some point, one has to make a decision, and then go with the one that one deems has the highest chances of working cross-editor.\r\nYCM supports vim and emacs, there's early work on sublime, and it supports Python, Go, Java and C++. I care about all those languages and all editors."}}