{"action":"opened","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/1432","repository_url":"https://api.github.com/repos/mawww/kakoune","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/1432/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/1432/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/1432/events","html_url":"https://github.com/mawww/kakoune/issues/1432","id":235094135,"number":1432,"title":"`:new edit` doesn't work with filenames containing spaces","user":{"login":"gnull","id":7102119,"avatar_url":"https://avatars0.githubusercontent.com/u/7102119?v=3","gravatar_id":"","url":"https://api.github.com/users/gnull","html_url":"https://github.com/gnull","followers_url":"https://api.github.com/users/gnull/followers","following_url":"https://api.github.com/users/gnull/following{/other_user}","gists_url":"https://api.github.com/users/gnull/gists{/gist_id}","starred_url":"https://api.github.com/users/gnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnull/subscriptions","organizations_url":"https://api.github.com/users/gnull/orgs","repos_url":"https://api.github.com/users/gnull/repos","events_url":"https://api.github.com/users/gnull/events{/privacy}","received_events_url":"https://api.github.com/users/gnull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-11T21:46:16Z","updated_at":"2017-06-11T21:46:16Z","closed_at":null,"body":"Consider the directory containing the following file:\r\n\r\n```\r\n$ touch 'a b'\r\n$ ls\r\n'a b'\r\n```\r\n\r\nI launch kakoune in this directory without any arguments, start opening the file in a new window: `:new edit`, hit `<tab>`, it completes filename to `:new edit a\\ b`, and I hit enter. The new widow is created but instead of displaying file contents it shows error message:\r\n\r\n```\r\n1:1: 'edit' b is not a number\r\n```\r\n\r\nRunning `:new edit 'a b'` returns the same error message. At the same time, if I try to edit the file in current window `:edit a\\ b`, it works as expected.\r\n\r\nI am using `kakoune` built from AUR: https://aur.archlinux.org/packages/kakoune-git"}}
{"actor":{"display_login":"gnull"}}