{"action":"created","issue":{"url":"https://api.github.com/repos/Fuco1/smartparens/issues/513","labels_url":"https://api.github.com/repos/Fuco1/smartparens/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/Fuco1/smartparens/issues/513/comments","events_url":"https://api.github.com/repos/Fuco1/smartparens/issues/513/events","html_url":"https://github.com/Fuco1/smartparens/pull/513","id":111786581,"number":513,"title":"sp-splice-sexp: also avoid indenting here on certain modes","user":{"login":"da-x","id":321273,"avatar_url":"https://avatars.githubusercontent.com/u/321273?v=3","gravatar_id":"","url":"https://api.github.com/users/da-x","html_url":"https://github.com/da-x","followers_url":"https://api.github.com/users/da-x/followers","following_url":"https://api.github.com/users/da-x/following{/other_user}","gists_url":"https://api.github.com/users/da-x/gists{/gist_id}","starred_url":"https://api.github.com/users/da-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da-x/subscriptions","organizations_url":"https://api.github.com/users/da-x/orgs","repos_url":"https://api.github.com/users/da-x/repos","events_url":"https://api.github.com/users/da-x/events{/privacy}","received_events_url":"https://api.github.com/users/da-x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-16T08:34:05Z","updated_at":"2015-10-16T10:42:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Fuco1/smartparens/pulls/513","html_url":"https://github.com/Fuco1/smartparens/pull/513","diff_url":"https://github.com/Fuco1/smartparens/pull/513.diff","patch_url":"https://github.com/Fuco1/smartparens/pull/513.patch"},"body":"Until #493 is resolved, this should make some Haskellers happy.\r\n\r\n---\r\n\r\nOften in refactoring we remove parentheses in Haskell, e.g. in this case using `sp-splice-sexp`, but haskell-mode indentation suffers from the same problem for that we have had in `sp-kill-sexp`. For example:\r\n\r\n```haskell\r\nimport Control.Monad\r\nimport System.Directory\r\nimport System.FilePath\r\n\r\nmain = do\r\n    content <- getDirectoryContents \".\"\r\n    forM_ content $ \\filename -> do\r\n        let filenameInDir = (\".\" </> filename)\r\n        print filenameInDir\r\n```\r\n\r\nBefore this change, `sp-splice-sexp` inside the parentheses would result in:\r\n\r\n```haskell\r\n    forM_ content $ \\filename -> do\r\n         let filenameInDir = \".\" </> filename\r\n        print filenameInDir\r\n```\r\n\r\nWhich breaks compilation. It should be:\r\n\r\n```haskell\r\n    forM_ content $ \\filename -> do\r\n        let filenameInDir = \".\" </> filename\r\n        print filenameInDir\r\n```"},"comment":{"url":"https://api.github.com/repos/Fuco1/smartparens/issues/comments/148680149","html_url":"https://github.com/Fuco1/smartparens/pull/513#issuecomment-148680149","issue_url":"https://api.github.com/repos/Fuco1/smartparens/issues/513","id":148680149,"user":{"login":"da-x","id":321273,"avatar_url":"https://avatars.githubusercontent.com/u/321273?v=3","gravatar_id":"","url":"https://api.github.com/users/da-x","html_url":"https://github.com/da-x","followers_url":"https://api.github.com/users/da-x/followers","following_url":"https://api.github.com/users/da-x/following{/other_user}","gists_url":"https://api.github.com/users/da-x/gists{/gist_id}","starred_url":"https://api.github.com/users/da-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da-x/subscriptions","organizations_url":"https://api.github.com/users/da-x/orgs","repos_url":"https://api.github.com/users/da-x/repos","events_url":"https://api.github.com/users/da-x/events{/privacy}","received_events_url":"https://api.github.com/users/da-x/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T10:42:01Z","updated_at":"2015-10-16T10:42:01Z","body":"The CI failure seems unrelated."}}