{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1366","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1366/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1366/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1366/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1366","id":56935128,"number":1366,"title":"Set the scratch buffer/window to nobuflisted","user":{"login":"unphased","id":1542910,"avatar_url":"https://avatars.githubusercontent.com/u/1542910?v=3","gravatar_id":"","url":"https://api.github.com/users/unphased","html_url":"https://github.com/unphased","followers_url":"https://api.github.com/users/unphased/followers","following_url":"https://api.github.com/users/unphased/following{/other_user}","gists_url":"https://api.github.com/users/unphased/gists{/gist_id}","starred_url":"https://api.github.com/users/unphased/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unphased/subscriptions","organizations_url":"https://api.github.com/users/unphased/orgs","repos_url":"https://api.github.com/users/unphased/repos","events_url":"https://api.github.com/users/unphased/events{/privacy}","received_events_url":"https://api.github.com/users/unphased/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-08T02:08:03Z","updated_at":"2015-08-30T12:46:39Z","closed_at":"2015-02-08T13:02:32Z","body":"I tried looking really hard but I can't find whether it is Syntastic or YCM (or possibly even some other plugin) that actually performs the action of setting the buffer settings for the \"scratch\" buffer that is created by semantic completions. I get semantic completions in JS (via Tern), Python, and (Obj-)C/C++ files... \r\n\r\nBasically due to some other scripting I really need to avoid e.g. `:bnext` bringing me into the  scratch buffer, and using `nobuflisted` does the trick. \r\n\r\nCurrently I am hacking it where if I see any buffer whose `bufhidden` is equal to `wipe` or `hide` I `set nobuflisted` on it."},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/136132749","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1366#issuecomment-136132749","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1366","id":136132749,"user":{"login":"swenzel","id":5111028,"avatar_url":"https://avatars.githubusercontent.com/u/5111028?v=3","gravatar_id":"","url":"https://api.github.com/users/swenzel","html_url":"https://github.com/swenzel","followers_url":"https://api.github.com/users/swenzel/followers","following_url":"https://api.github.com/users/swenzel/following{/other_user}","gists_url":"https://api.github.com/users/swenzel/gists{/gist_id}","starred_url":"https://api.github.com/users/swenzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swenzel/subscriptions","organizations_url":"https://api.github.com/users/swenzel/orgs","repos_url":"https://api.github.com/users/swenzel/repos","events_url":"https://api.github.com/users/swenzel/events{/privacy}","received_events_url":"https://api.github.com/users/swenzel/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T12:46:39Z","updated_at":"2015-08-30T12:46:39Z","body":"I am trying to solve the same issue... I use `:bprev` and `:bnext` a lot to change between my source files so it also bugs me that this \"scratch\" buffer shows up. Tagbar and NERDTree also manage to be unlisted.\r\nA screenshot to show what we mean:\r\n![scratch_buffer](https://cloud.githubusercontent.com/assets/5111028/9567220/203ce654-4f23-11e5-98bd-d7c279e0fb93.png)\r\nI think that YCM might at least know the ID of that buffer since it gets updated with the function docstrings when going through the completions (in this case of `np.array`), so maybe YCM can also set `nobuflist` on it after its creation.\r\nBut the project so so big that I am also lost as to where this could be done, if at all.\r\nBy the way the \"scratch\" buffer is mentioned in vim's help files under [special-buffers](http://vimdoc.sourceforge.net/htmldoc/windows.html#special-buffers)."}}