{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/780","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/780/comments","events_url":"https://api.github.com/repos/vim/vim/issues/780/events","html_url":"https://github.com/vim/vim/issues/780","id":150994284,"number":780,"title":"\" mark not set on :bd, when :bd also closes tab","user":{"login":"HarmtH","id":2418402,"avatar_url":"https://avatars.githubusercontent.com/u/2418402?v=3","gravatar_id":"","url":"https://api.github.com/users/HarmtH","html_url":"https://github.com/HarmtH","followers_url":"https://api.github.com/users/HarmtH/followers","following_url":"https://api.github.com/users/HarmtH/following{/other_user}","gists_url":"https://api.github.com/users/HarmtH/gists{/gist_id}","starred_url":"https://api.github.com/users/HarmtH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarmtH/subscriptions","organizations_url":"https://api.github.com/users/HarmtH/orgs","repos_url":"https://api.github.com/users/HarmtH/repos","events_url":"https://api.github.com/users/HarmtH/events{/privacy}","received_events_url":"https://api.github.com/users/HarmtH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-25T22:09:09Z","updated_at":"2016-07-26T17:22:52Z","closed_at":null,"body":"Description:\r\nThe \" mark, which should be set to the last location when exiting the buffer, is not set when :bd also closes the tab the buffer is displayed in.\r\n\r\nVersion:\r\nTested on VIM 7.4.1786\r\n\r\nReproduction:\r\nseq 3 > ~/test\r\nvim -u NONE -N ~/test\r\n3G\r\n:bd\r\n:e ~/test\r\n'\" (single quote, double quote)\r\n(observe cursor goes to line 3, expected behaviour)\r\n:bd\r\n:tabedit ~/test\r\n(cursor is on line 1 now)\r\n:bd\r\n(line 1 should be set to \" mark)\r\n:e ~/test\r\n'\"\r\n(observe cursor goes to line 3 again, line 1 expected)\r\n\r\nExtra info:\r\n- When the :bd commands closes a window/split, this bug does not occur.\r\n- This also means that when editing ~/test in a new tab, open another file in a split in this tab, and then :bd'ing ~/test (such that the window closes but the tab stays open), this bug also does not occur.\r\n"},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/235340852","html_url":"https://github.com/vim/vim/issues/780#issuecomment-235340852","issue_url":"https://api.github.com/repos/vim/vim/issues/780","id":235340852,"user":{"login":"chrisbra","id":244927,"avatar_url":"https://avatars.githubusercontent.com/u/244927?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbra","html_url":"https://github.com/chrisbra","followers_url":"https://api.github.com/users/chrisbra/followers","following_url":"https://api.github.com/users/chrisbra/following{/other_user}","gists_url":"https://api.github.com/users/chrisbra/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbra/subscriptions","organizations_url":"https://api.github.com/users/chrisbra/orgs","repos_url":"https://api.github.com/users/chrisbra/repos","events_url":"https://api.github.com/users/chrisbra/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbra/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T17:22:52Z","updated_at":"2016-07-26T17:22:52Z","body":"@dechimp it is clearly documented that `:bd` closes a window, which will close a tab, if it is the last window in the tab."}}
{"actor":{"display_login":"chrisbra"}}