{"action":"created","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/781","repository_url":"https://api.github.com/repos/scopatz/xonsh","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/781/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/781/events","html_url":"https://github.com/scopatz/xonsh/pull/781","id":145275381,"number":781,"title":"fix ptk completer to allow completion earlier in line","user":{"login":"gforsyth","id":3596999,"avatar_url":"https://avatars.githubusercontent.com/u/3596999?v=3","gravatar_id":"","url":"https://api.github.com/users/gforsyth","html_url":"https://github.com/gforsyth","followers_url":"https://api.github.com/users/gforsyth/followers","following_url":"https://api.github.com/users/gforsyth/following{/other_user}","gists_url":"https://api.github.com/users/gforsyth/gists{/gist_id}","starred_url":"https://api.github.com/users/gforsyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforsyth/subscriptions","organizations_url":"https://api.github.com/users/gforsyth/orgs","repos_url":"https://api.github.com/users/gforsyth/repos","events_url":"https://api.github.com/users/gforsyth/events{/privacy}","received_events_url":"https://api.github.com/users/gforsyth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T20:13:03Z","updated_at":"2016-04-01T21:31:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scopatz/xonsh/pulls/781","html_url":"https://github.com/scopatz/xonsh/pull/781","diff_url":"https://github.com/scopatz/xonsh/pull/781.diff","patch_url":"https://github.com/scopatz/xonsh/pull/781.patch"},"body":"As reported by @asmeurer, the completer had incorrect index values for\r\ncompletion when the cursor was located before a space, that is\r\n\r\n`~/Do<C>emacsclient -nw`\r\n\r\nwould not offer file path completions (where the cursor is marked by\r\n`<C>`). This was because of (my) naive searching for indices, now\r\nslightly less naive."},"comment":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/comments/204571132","html_url":"https://github.com/scopatz/xonsh/pull/781#issuecomment-204571132","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/781","id":204571132,"user":{"login":"melund","id":1038978,"avatar_url":"https://avatars.githubusercontent.com/u/1038978?v=3","gravatar_id":"","url":"https://api.github.com/users/melund","html_url":"https://github.com/melund","followers_url":"https://api.github.com/users/melund/followers","following_url":"https://api.github.com/users/melund/following{/other_user}","gists_url":"https://api.github.com/users/melund/gists{/gist_id}","starred_url":"https://api.github.com/users/melund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melund/subscriptions","organizations_url":"https://api.github.com/users/melund/orgs","repos_url":"https://api.github.com/users/melund/repos","events_url":"https://api.github.com/users/melund/events{/privacy}","received_events_url":"https://api.github.com/users/melund/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T21:31:05Z","updated_at":"2016-04-01T21:31:05Z","body":"Should it also have a change log?"}}