{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/3463","labels_url":"https://api.github.com/repos/neovim/neovim/issues/3463/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/3463/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/3463/events","html_url":"https://github.com/neovim/neovim/issues/3463","id":111851591,"number":3463,"title":":rshada (without !) overwrites registers","user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","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},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-16T15:11:58Z","updated_at":"2015-10-16T15:52:02Z","closed_at":"2015-10-16T15:15:29Z","body":"\r\n\r\nAccording to `:help :rshada`:\r\n\r\n> If [!] is given, then any information that is  already set (registers, marks, v:oldfiles, etc.) will be overwritten.\r\n\r\nThis implies that registers should not be overwritten without `!`. But that is contrary to the behavior I observe.\r\n\r\nSteps:\r\n\r\n1. Open 2 `nvim -u NONE` instances (\"A\" and \"B\")\r\n2. In A, `:let @a='foo'`\r\n3. In B, `:let @a='bar'`\r\n    - `:echo @a` => \"bar\"\r\n4. In A, `:rshada|wshada!`\r\n    - `:echo @a` => \"foo\"\r\n5. In B, `:rshada|wshada!`\r\n    - `:echo @a` => \"foo\"\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/148752708","html_url":"https://github.com/neovim/neovim/issues/3463#issuecomment-148752708","issue_url":"https://api.github.com/repos/neovim/neovim/issues/3463","id":148752708,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","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":"2015-10-16T15:52:02Z","updated_at":"2015-10-16T15:52:02Z","body":"@ZyX-I I am using shada, not viminfo. I guess this means `:rshada|wshada!` is not a viable way to sync running instances, if one wants to preserve registers. Do you think `:rshada|wshada!` is a bad idea for any other reason?"}}