{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/8634","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/8634/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/8634/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/8634/events","html_url":"https://github.com/neovim/neovim/issues/8634","id":335155326,"node_id":"MDU6SXNzdWUzMzUxNTUzMjY=","number":8634,"title":"API: nvim_buf_attach not returning","user":{"login":"eidheim","id":5269318,"node_id":"MDQ6VXNlcjUyNjkzMTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5269318?v=4","gravatar_id":"","url":"https://api.github.com/users/eidheim","html_url":"https://github.com/eidheim","followers_url":"https://api.github.com/users/eidheim/followers","following_url":"https://api.github.com/users/eidheim/following{/other_user}","gists_url":"https://api.github.com/users/eidheim/gists{/gist_id}","starred_url":"https://api.github.com/users/eidheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eidheim/subscriptions","organizations_url":"https://api.github.com/users/eidheim/orgs","repos_url":"https://api.github.com/users/eidheim/repos","events_url":"https://api.github.com/users/eidheim/events{/privacy}","received_events_url":"https://api.github.com/users/eidheim/received_events","type":"User","site_admin":false},"labels":[{"id":103819671,"node_id":"MDU6TGFiZWwxMDM4MTk2NzE=","url":"https://api.github.com/repos/neovim/neovim/labels/api","name":"api","color":"c7def8","default":false},{"id":77997478,"node_id":"MDU6TGFiZWw3Nzk5NzQ3OA==","url":"https://api.github.com/repos/neovim/neovim/labels/question","name":"question","color":"e6e6e6","default":true},{"id":242522707,"node_id":"MDU6TGFiZWwyNDI1MjI3MDc=","url":"https://api.github.com/repos/neovim/neovim/labels/rpc","name":"rpc","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-06-24T06:32:44Z","updated_at":"2018-06-28T07:41:27Z","closed_at":null,"author_association":"NONE","body":"When testing the new buffer API functions through `nvim --embed`, I noticed that `nvim_buf_attach` never returns, but an event is fired. Also, when calling for instance `nvim_buf_set_lines`, it often returns, but not always."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/400942757","html_url":"https://github.com/neovim/neovim/issues/8634#issuecomment-400942757","issue_url":"https://api.github.com/repos/neovim/neovim/issues/8634","id":400942757,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDk0Mjc1Nw==","user":{"login":"justinmk","id":1359421,"node_id":"MDQ6VXNlcjEzNTk0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1359421?v=4","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T07:41:26Z","updated_at":"2018-06-28T07:41:26Z","author_association":"MEMBER","body":"Couldn't that be a race in `nvim.start()`? \r\n\r\nYou also mentioned:\r\n\r\n> Also, when calling for instance nvim_buf_set_lines, it often returns, but not always.\r\n\r\nThis hasn't been reported before. We have thousands of RPC tests that depend on the basic functionality of an RPC response."}}
{"actor":{"display_login":"justinmk"}}