{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/405","labels_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/405/comments","events_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/405/events","html_url":"https://github.com/davidhalter/jedi-vim/issues/405","id":72811065,"number":405,"title":"Handling unsaved buffers (especially with renaming)","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidhalter/jedi-vim/labels/feature","name":"feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-03T14:13:41Z","updated_at":"2015-05-04T18:56:04Z","closed_at":null,"body":"While working on the rename feature, I've wondered if it was (easily) possible to make it work on unsaved buffers?\r\nIt's probably limited by Jedi only being able to handle saved files by default?\r\nIt might be possible to pass in any unsaved buffers as `Script` objects directly?\r\n\r\nI've experimented with a new setting `rename_save_buffers`/`save_on_rename`, which would call `:update` on buffers where something was renamed.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/comments/98812647","html_url":"https://github.com/davidhalter/jedi-vim/issues/405#issuecomment-98812647","issue_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/405","id":98812647,"user":{"login":"davidhalter","id":748594,"avatar_url":"https://avatars.githubusercontent.com/u/748594?v=3","gravatar_id":"","url":"https://api.github.com/users/davidhalter","html_url":"https://github.com/davidhalter","followers_url":"https://api.github.com/users/davidhalter/followers","following_url":"https://api.github.com/users/davidhalter/following{/other_user}","gists_url":"https://api.github.com/users/davidhalter/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhalter/subscriptions","organizations_url":"https://api.github.com/users/davidhalter/orgs","repos_url":"https://api.github.com/users/davidhalter/repos","events_url":"https://api.github.com/users/davidhalter/events{/privacy}","received_events_url":"https://api.github.com/users/davidhalter/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T18:56:04Z","updated_at":"2015-05-04T18:56:04Z","body":"Hmm you're right! I never thought about it that way. I think in that case we should just abort renaming or not rename that file. IMHO this is very much an edge case."}}