{"action":"created","issue":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/390","labels_url":"https://api.github.com/repos/company-mode/company-mode/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/company-mode/company-mode/issues/390/comments","events_url":"https://api.github.com/repos/company-mode/company-mode/issues/390/events","html_url":"https://github.com/company-mode/company-mode/issues/390","id":101033244,"number":390,"title":"company-yasnippet don't be greedy","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-08-14T15:20:31Z","updated_at":"2015-08-15T00:27:46Z","closed_at":null,"body":"given that the operation to check if there is a valid yasnippet key available is pretty cheap, it would be really good if the `company-yasnippet` wasn't so greedy. I'm in a situation where I'd like to do this\r\n\r\n```elisp\r\n(set (make-local-variable 'company-backends)\r\n                 '((ensime-company company-yasnippet)\r\n                   (company-keywords company-etags company-yasnippet)))\r\n```\r\n\r\nbut unfortunately that would mean that the second block (used when ENSIME is not available) would never kick in."},"comment":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/comments/131272544","html_url":"https://github.com/company-mode/company-mode/issues/390#issuecomment-131272544","issue_url":"https://api.github.com/repos/company-mode/company-mode/issues/390","id":131272544,"user":{"login":"dgutov","id":271877,"avatar_url":"https://avatars.githubusercontent.com/u/271877?v=3","gravatar_id":"","url":"https://api.github.com/users/dgutov","html_url":"https://github.com/dgutov","followers_url":"https://api.github.com/users/dgutov/followers","following_url":"https://api.github.com/users/dgutov/following{/other_user}","gists_url":"https://api.github.com/users/dgutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgutov/subscriptions","organizations_url":"https://api.github.com/users/dgutov/orgs","repos_url":"https://api.github.com/users/dgutov/repos","events_url":"https://api.github.com/users/dgutov/events{/privacy}","received_events_url":"https://api.github.com/users/dgutov/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T00:27:46Z","updated_at":"2015-08-15T00:27:46Z","body":"Do you get the same problem if you use `company-dabbrev-code` instead of `ensime-company`?\r\n\r\n> I have unbound [tab] in the company bindings so I'm surprised it does anything.\r\n\r\nYou've unbound it in `company-active-map`? Did you unbind `TAB` as well?"}}