{"action":"created","issue":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/17","labels_url":"https://api.github.com/repos/abo-abo/swiper/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/swiper/issues/17/comments","events_url":"https://api.github.com/repos/abo-abo/swiper/issues/17/events","html_url":"https://github.com/abo-abo/swiper/issues/17","id":62245387,"number":17,"title":"Maybe you can have a nicer message when call it from empty buffer","user":{"login":"enzochiau","id":8508939,"avatar_url":"https://avatars.githubusercontent.com/u/8508939?v=3","gravatar_id":"","url":"https://api.github.com/users/enzochiau","html_url":"https://github.com/enzochiau","followers_url":"https://api.github.com/users/enzochiau/followers","following_url":"https://api.github.com/users/enzochiau/following{/other_user}","gists_url":"https://api.github.com/users/enzochiau/gists{/gist_id}","starred_url":"https://api.github.com/users/enzochiau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enzochiau/subscriptions","organizations_url":"https://api.github.com/users/enzochiau/orgs","repos_url":"https://api.github.com/users/enzochiau/repos","events_url":"https://api.github.com/users/enzochiau/events{/privacy}","received_events_url":"https://api.github.com/users/enzochiau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T00:39:11Z","updated_at":"2015-03-17T08:35:05Z","closed_at":"2015-03-17T08:34:48Z","body":"I first installed this package and try to call it in a empty buffer (I know it is not designed for a empty buffer). I got an error message as below:\r\n\r\n    swiper--candidates: Arithmetic range error: \"floor\", -1.0e+INF\r\n\r\nI think maybe you can just ignore this call or send useful error message like \"no candidates\" or \"empty buffer\" , etc."},"comment":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/comments/82200932","html_url":"https://github.com/abo-abo/swiper/issues/17#issuecomment-82200932","issue_url":"https://api.github.com/repos/abo-abo/swiper/issues/17","id":82200932,"user":{"login":"abo-abo","id":2937359,"avatar_url":"https://avatars.githubusercontent.com/u/2937359?v=3","gravatar_id":"","url":"https://api.github.com/users/abo-abo","html_url":"https://github.com/abo-abo","followers_url":"https://api.github.com/users/abo-abo/followers","following_url":"https://api.github.com/users/abo-abo/following{/other_user}","gists_url":"https://api.github.com/users/abo-abo/gists{/gist_id}","starred_url":"https://api.github.com/users/abo-abo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abo-abo/subscriptions","organizations_url":"https://api.github.com/users/abo-abo/orgs","repos_url":"https://api.github.com/users/abo-abo/repos","events_url":"https://api.github.com/users/abo-abo/events{/privacy}","received_events_url":"https://api.github.com/users/abo-abo/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T08:35:05Z","updated_at":"2015-03-17T08:35:05Z","body":"Thanks for noticing, should work better now.\r\n"}}