{"action":"created","issue":{"url":"https://api.github.com/repos/lambdalisue/vim-gita/issues/40","labels_url":"https://api.github.com/repos/lambdalisue/vim-gita/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/lambdalisue/vim-gita/issues/40/comments","events_url":"https://api.github.com/repos/lambdalisue/vim-gita/issues/40/events","html_url":"https://github.com/lambdalisue/vim-gita/issues/40","id":96992100,"number":40,"title":"noshellslash cause construction of unwilling path in Windows","user":{"login":"lambdalisue","id":546312,"avatar_url":"https://avatars.githubusercontent.com/u/546312?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdalisue","html_url":"https://github.com/lambdalisue","followers_url":"https://api.github.com/users/lambdalisue/followers","following_url":"https://api.github.com/users/lambdalisue/following{/other_user}","gists_url":"https://api.github.com/users/lambdalisue/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdalisue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdalisue/subscriptions","organizations_url":"https://api.github.com/users/lambdalisue/orgs","repos_url":"https://api.github.com/users/lambdalisue/repos","events_url":"https://api.github.com/users/lambdalisue/events{/privacy}","received_events_url":"https://api.github.com/users/lambdalisue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-07-24T07:53:10Z","updated_at":"2015-07-24T09:16:12Z","closed_at":null,"body":"Derived from https://github.com/lambdalisue/vim-gita/issues/37\r\n\r\n> Sorry, didn't tested with `noshellslash`: if set, then does not works. It should escape `\\` in paths.\r\n> \r\n> **EDIT:**\r\n> Just tried out `:Gita browse` on the file _c:\\Users\\Laci\\Documents\\0_git\\sandbox\\test.py_.\r\n> The error message is:\r\n> \r\n>     Error detected while processing function <SNR>86_Gita..gita#features#command..gita#features#browse#command..gita#features#browse#open..<SNR>169_open:\r\n>     line    9:\r\n>     E194: No alternate file name to substitute for '#': !start rundll32 url.dll,FileProtocolHandler https://github.com/BimbaLaszlo/sandbox/blob/master/C:SERSacidocumentstest.pypt_gitsandbox^Iest.py#L1\r\n> \r\n> There is more then one bug, but one is about the `shellslash`: the _c:\\Users\\Laci\\Documents\\0_git\\sandbox\\test.py_ changed to `C:SERSacidocumentstest.pypt_gitsandbox^Iest.py` in the URL because backslashes are not escaped. As i can see, the [post](https://github.com/vim-jp/issues/issues/43) is created to solve this kind of problem. I will search for solution with you - give me any code to run on Windows (not just in this project) and i will send back the results.\r\n\r\n@BimbaLaszlo\r\n\r\nYeah, actually that what I expected.\r\nWhile I don't have Windows, I cannot test that kind of behaviour and I was afraid to make side effect.\r\nIt is quite easy to fix with the following code but I'm wondering where to put the code, each functions or entire plugins.\r\n\r\n```vim\r\nlet shellslash_saved = &shellslash\r\nset shellslash\r\n\" Do things\r\nlet &shellslash = shellslash_saved\r\n```\r\n\r\nI will create a hotfix branch, so could you test that branch later?"},"comment":{"url":"https://api.github.com/repos/lambdalisue/vim-gita/issues/comments/124451790","html_url":"https://github.com/lambdalisue/vim-gita/issues/40#issuecomment-124451790","issue_url":"https://api.github.com/repos/lambdalisue/vim-gita/issues/40","id":124451790,"user":{"login":"BimbaLaszlo","id":7034200,"avatar_url":"https://avatars.githubusercontent.com/u/7034200?v=3","gravatar_id":"","url":"https://api.github.com/users/BimbaLaszlo","html_url":"https://github.com/BimbaLaszlo","followers_url":"https://api.github.com/users/BimbaLaszlo/followers","following_url":"https://api.github.com/users/BimbaLaszlo/following{/other_user}","gists_url":"https://api.github.com/users/BimbaLaszlo/gists{/gist_id}","starred_url":"https://api.github.com/users/BimbaLaszlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BimbaLaszlo/subscriptions","organizations_url":"https://api.github.com/users/BimbaLaszlo/orgs","repos_url":"https://api.github.com/users/BimbaLaszlo/repos","events_url":"https://api.github.com/users/BimbaLaszlo/events{/privacy}","received_events_url":"https://api.github.com/users/BimbaLaszlo/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T09:16:12Z","updated_at":"2015-07-24T09:16:12Z","body":"`set noshellslash | edit c:/users/laci/.vim_local/bundle/vim-gita/readme.md` opens the file and `set shellslash | edit c:\\users\\laci\\.vim_local\\bundle\\vim-gita\\readme.md` works too."}}