{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust-mode/issues/121","repository_url":"https://api.github.com/repos/rust-lang/rust-mode","labels_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/121/comments","events_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/121/events","html_url":"https://github.com/rust-lang/rust-mode/pull/121","id":133527462,"number":121,"title":"Integrate rustfmt support","user":{"login":"fbergroth","id":1211003,"avatar_url":"https://avatars.githubusercontent.com/u/1211003?v=3","gravatar_id":"","url":"https://api.github.com/users/fbergroth","html_url":"https://github.com/fbergroth","followers_url":"https://api.github.com/users/fbergroth/followers","following_url":"https://api.github.com/users/fbergroth/following{/other_user}","gists_url":"https://api.github.com/users/fbergroth/gists{/gist_id}","starred_url":"https://api.github.com/users/fbergroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbergroth/subscriptions","organizations_url":"https://api.github.com/users/fbergroth/orgs","repos_url":"https://api.github.com/users/fbergroth/repos","events_url":"https://api.github.com/users/fbergroth/events{/privacy}","received_events_url":"https://api.github.com/users/fbergroth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-02-14T10:17:55Z","updated_at":"2016-02-16T10:23:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust-mode/pulls/121","html_url":"https://github.com/rust-lang/rust-mode/pull/121","diff_url":"https://github.com/rust-lang/rust-mode/pull/121.diff","patch_url":"https://github.com/rust-lang/rust-mode/pull/121.patch"},"body":"Merges the [rustfmt package](https://github.com/fbergroth/rust-mode).\r\n\r\nFixes #120.\r\n\r\nNot sure if `C-c C-f` is the idiomatic binding, I use evil mode."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust-mode/issues/comments/184612548","html_url":"https://github.com/rust-lang/rust-mode/pull/121#issuecomment-184612548","issue_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/121","id":184612548,"user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T10:23:30Z","updated_at":"2016-02-16T10:23:30Z","body":"> While I currently can't think of a scenario where one would want to format just a specific region, the idea that that would be possible is very nice. Any chance we can do this? If not now, then after this has been merged? It seems like most of the work is already there.\r\n\r\nFWIW, I use this capability in emacs all the time (that is, \"indent-region\"). Usually if I've just pasted some text. In principle of course if the rest of the file is formatted it doesn't make a difference I guess. Anyway, if rustfmt doesn't support it, oh well."}}