{"action":"created","issue":{"url":"https://api.github.com/repos/Shougo/unite.vim/issues/921","labels_url":"https://api.github.com/repos/Shougo/unite.vim/issues/921/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/unite.vim/issues/921/comments","events_url":"https://api.github.com/repos/Shougo/unite.vim/issues/921/events","html_url":"https://github.com/Shougo/unite.vim/issues/921","id":73238701,"number":921,"title":"-select=0 does not work and sorting order depends on the window position","user":{"login":"mrbiggfoot","id":12175496,"avatar_url":"https://avatars.githubusercontent.com/u/12175496?v=3","gravatar_id":"","url":"https://api.github.com/users/mrbiggfoot","html_url":"https://github.com/mrbiggfoot","followers_url":"https://api.github.com/users/mrbiggfoot/followers","following_url":"https://api.github.com/users/mrbiggfoot/following{/other_user}","gists_url":"https://api.github.com/users/mrbiggfoot/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbiggfoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbiggfoot/subscriptions","organizations_url":"https://api.github.com/users/mrbiggfoot/orgs","repos_url":"https://api.github.com/users/mrbiggfoot/repos","events_url":"https://api.github.com/users/mrbiggfoot/events{/privacy}","received_events_url":"https://api.github.com/users/mrbiggfoot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-05T07:42:47Z","updated_at":"2015-05-07T03:39:58Z","closed_at":"2015-05-06T03:40:53Z","body":"There are two connected problems.\r\n\r\n1. \"\\:Unite -select=0 -direction=botright file\" selects the bottom candidate (should select the top one). While -select=1 selects the second from the top, -select=2 - the third etc., as they should (it's all about -direction=botright).\r\n\r\n2. The -direction option affects the sorting order. I.e. \"Unite -direction=topleft file\" prints this:\r\nfile1\r\nfile2\r\nfile3\r\nWhile \"Unite -direction=botright file\" prints the reverse:\r\nfile3\r\nfile2\r\nfile1\r\n\r\nThis is wrong. The sorting order should not depend on the window position."},"comment":{"url":"https://api.github.com/repos/Shougo/unite.vim/issues/comments/99701757","html_url":"https://github.com/Shougo/unite.vim/issues/921#issuecomment-99701757","issue_url":"https://api.github.com/repos/Shougo/unite.vim/issues/921","id":99701757,"user":{"login":"mrbiggfoot","id":12175496,"avatar_url":"https://avatars.githubusercontent.com/u/12175496?v=3","gravatar_id":"","url":"https://api.github.com/users/mrbiggfoot","html_url":"https://github.com/mrbiggfoot","followers_url":"https://api.github.com/users/mrbiggfoot/followers","following_url":"https://api.github.com/users/mrbiggfoot/following{/other_user}","gists_url":"https://api.github.com/users/mrbiggfoot/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbiggfoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbiggfoot/subscriptions","organizations_url":"https://api.github.com/users/mrbiggfoot/orgs","repos_url":"https://api.github.com/users/mrbiggfoot/repos","events_url":"https://api.github.com/users/mrbiggfoot/events{/privacy}","received_events_url":"https://api.github.com/users/mrbiggfoot/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T03:39:58Z","updated_at":"2015-05-07T03:39:58Z","body":"Ok, that works. Thank you!\r\nAlthough the Unite window height is always the same regardless of the number of candidates in it. But it's not a huge problem for me."}}