{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/1109","repository_url":"https://api.github.com/repos/haskell/haskell-mode","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1109/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1109/events","html_url":"https://github.com/haskell/haskell-mode/issues/1109","id":128466709,"number":1109,"title":"haskell-process-suggest-remove-import leaves blank line rather than completely remove it","user":{"login":"geraldus","id":744471,"avatar_url":"https://avatars.githubusercontent.com/u/744471?v=3","gravatar_id":"","url":"https://api.github.com/users/geraldus","html_url":"https://github.com/geraldus","followers_url":"https://api.github.com/users/geraldus/followers","following_url":"https://api.github.com/users/geraldus/following{/other_user}","gists_url":"https://api.github.com/users/geraldus/gists{/gist_id}","starred_url":"https://api.github.com/users/geraldus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geraldus/subscriptions","organizations_url":"https://api.github.com/users/geraldus/orgs","repos_url":"https://api.github.com/users/geraldus/repos","events_url":"https://api.github.com/users/geraldus/events{/privacy}","received_events_url":"https://api.github.com/users/geraldus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-25T05:25:43Z","updated_at":"2016-02-19T17:57:52Z","closed_at":null,"body":"Current implementation of `haskell-suggest-remove-import` just clears line contents but do not removes it when user answers `y`.  I propose to remove entire line, e.g.\r\n```hs\r\nimport A\r\nimport D -- ^ this import is redundant\r\nimport B\r\n\r\n-- current behavior\r\nimport A\r\n\r\nimport B\r\n\r\n-- proposed\r\nimport A\r\nimport B\r\n```"},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/186332533","html_url":"https://github.com/haskell/haskell-mode/issues/1109#issuecomment-186332533","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1109","id":186332533,"user":{"login":"gracjan","id":917978,"avatar_url":"https://avatars.githubusercontent.com/u/917978?v=3","gravatar_id":"","url":"https://api.github.com/users/gracjan","html_url":"https://github.com/gracjan","followers_url":"https://api.github.com/users/gracjan/followers","following_url":"https://api.github.com/users/gracjan/following{/other_user}","gists_url":"https://api.github.com/users/gracjan/gists{/gist_id}","starred_url":"https://api.github.com/users/gracjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracjan/subscriptions","organizations_url":"https://api.github.com/users/gracjan/orgs","repos_url":"https://api.github.com/users/gracjan/repos","events_url":"https://api.github.com/users/gracjan/events{/privacy}","received_events_url":"https://api.github.com/users/gracjan/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T17:57:52Z","updated_at":"2016-02-19T17:57:52Z","body":"@geraldus, @chrisdone: reopened."}}