{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-emacs/issues/197","labels_url":"https://api.github.com/repos/ensime/ensime-emacs/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-emacs/issues/197/comments","events_url":"https://api.github.com/repos/ensime/ensime-emacs/issues/197/events","html_url":"https://github.com/ensime/ensime-emacs/issues/197","id":94994291,"number":197,"title":"Imports added in the wrong place","user":{"login":"Vifon","id":624347,"avatar_url":"https://avatars.githubusercontent.com/u/624347?v=3","gravatar_id":"","url":"https://api.github.com/users/Vifon","html_url":"https://github.com/Vifon","followers_url":"https://api.github.com/users/Vifon/followers","following_url":"https://api.github.com/users/Vifon/following{/other_user}","gists_url":"https://api.github.com/users/Vifon/gists{/gist_id}","starred_url":"https://api.github.com/users/Vifon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vifon/subscriptions","organizations_url":"https://api.github.com/users/Vifon/orgs","repos_url":"https://api.github.com/users/Vifon/repos","events_url":"https://api.github.com/users/Vifon/events{/privacy}","received_events_url":"https://api.github.com/users/Vifon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-14T17:16:38Z","updated_at":"2015-07-14T20:53:47Z","closed_at":null,"body":"**Steps to reproduce**\r\n\r\n1. Create a file with an import in the very first line, for example `scala.collection.mutable.Set`.\r\n2. Add a new import using <kbd>C-c C-r t</kbd> that is will be places lexicographically in the line above the previous import (the first import now is in the second line and the new one is in the first line). For example `javax.swing.JPanel`.\r\n\r\n**What happens**\r\n\r\nThe file looks like this:\r\n\r\n```Scala\r\niimport javax.swing.JPanel\r\nmport scala.collection.mutable.Set\r\n```\r\n\r\n**What was expected**\r\n\r\nThe file should look like this:\r\n\r\n```Scala\r\nimport javax.swing.JPanel\r\nimport scala.collection.mutable.Set\r\n```"},"comment":{"url":"https://api.github.com/repos/ensime/ensime-emacs/issues/comments/121382446","html_url":"https://github.com/ensime/ensime-emacs/issues/197#issuecomment-121382446","issue_url":"https://api.github.com/repos/ensime/ensime-emacs/issues/197","id":121382446,"user":{"login":"Vifon","id":624347,"avatar_url":"https://avatars.githubusercontent.com/u/624347?v=3","gravatar_id":"","url":"https://api.github.com/users/Vifon","html_url":"https://github.com/Vifon","followers_url":"https://api.github.com/users/Vifon/followers","following_url":"https://api.github.com/users/Vifon/following{/other_user}","gists_url":"https://api.github.com/users/Vifon/gists{/gist_id}","starred_url":"https://api.github.com/users/Vifon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vifon/subscriptions","organizations_url":"https://api.github.com/users/Vifon/orgs","repos_url":"https://api.github.com/users/Vifon/repos","events_url":"https://api.github.com/users/Vifon/events{/privacy}","received_events_url":"https://api.github.com/users/Vifon/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T20:53:47Z","updated_at":"2015-07-14T20:53:47Z","body":"If it's within my reach, yeah.\r\n\r\nAfter a quick analysis, I think it's not in the Emacs client after all but in the ENSIME server. Could someone else confirm this?"}}