{"action":"closed","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/2712","labels_url":"https://api.github.com/repos/neovim/neovim/issues/2712/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/2712/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/2712/events","html_url":"https://github.com/neovim/neovim/issues/2712","id":78479680,"number":2712,"title":"clipboard=unnamedplus without X pastes but throws annoying error","user":{"login":"equalsraf","id":715238,"avatar_url":"https://avatars.githubusercontent.com/u/715238?v=3","gravatar_id":"","url":"https://api.github.com/users/equalsraf","html_url":"https://github.com/equalsraf","followers_url":"https://api.github.com/users/equalsraf/followers","following_url":"https://api.github.com/users/equalsraf/following{/other_user}","gists_url":"https://api.github.com/users/equalsraf/gists{/gist_id}","starred_url":"https://api.github.com/users/equalsraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalsraf/subscriptions","organizations_url":"https://api.github.com/users/equalsraf/orgs","repos_url":"https://api.github.com/users/equalsraf/repos","events_url":"https://api.github.com/users/equalsraf/events{/privacy}","received_events_url":"https://api.github.com/users/equalsraf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/clipboard","name":"clipboard","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-20T11:07:43Z","updated_at":"2015-06-25T23:32:01Z","closed_at":"2015-06-25T23:32:01Z","body":"Called put on a remote machine without X (but xsel is installed), and since `set clipboard=unnamedplus` was in my settings I got this error message\r\n\r\n![download1](https://cloud.githubusercontent.com/assets/715238/7723942/dd2efdea-fee4-11e4-8f80-bf8a997fbb02.png)\r\n\r\nThe paste itself worked as expected - and I'm not too surprised there was an error message, but having to press enter there is quite annoying.  The first echo comes from clipboard.vim, the error from `get_clipboard()` in ops.c.\r\n\r\n**Suggestion:** remove the echo in clipboard.vim and return the error instead of '', and in `get_clipboard()` use the provider result in the message.\r\n\r\nIn contrast yank also echos a message but no error\r\n\r\n![download1](https://cloud.githubusercontent.com/assets/715238/7724154/e9bc732e-fee6-11e4-9dd1-48f883ce04a7.png)"}}