{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/786","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/786/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/786/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/786/events","html_url":"https://github.com/haskell/haskell-mode/issues/786","id":98031493,"number":786,"title":"No indentation suggested for case clauses","user":{"login":"dzhus","id":102053,"avatar_url":"https://avatars.githubusercontent.com/u/102053?v=3","gravatar_id":"","url":"https://api.github.com/users/dzhus","html_url":"https://github.com/dzhus","followers_url":"https://api.github.com/users/dzhus/followers","following_url":"https://api.github.com/users/dzhus/following{/other_user}","gists_url":"https://api.github.com/users/dzhus/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhus/subscriptions","organizations_url":"https://api.github.com/users/dzhus/orgs","repos_url":"https://api.github.com/users/dzhus/repos","events_url":"https://api.github.com/users/dzhus/events{/privacy}","received_events_url":"https://api.github.com/users/dzhus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-29T21:19:39Z","updated_at":"2015-09-04T12:09:52Z","closed_at":null,"body":"I'm experiencing broken indentation for `case` keyword clauses with haskell-mode version 13.15-git (/home/dzhus/.emacs.d/elpa/haskell-mode-20150729.316/)\r\n\r\nMinimal example:\r\n\r\n```\r\nf x =\r\n  case x of\r\n    Just 5 -> return ()\r\n```\r\n\r\nWhen I hit TAB on the line with `Just`, it suggests to line it up with `case`:\r\n\r\n```\r\nf x =\r\n  case x of\r\n  Just 5 -> return ()\r\n```\r\n\r\nHere's an illustration of the problem with «Show indentations» option switched on:\r\n\r\n![2015-07-30-001022_1280x800_scrot](https://cloud.githubusercontent.com/assets/102053/8970044/f609f124-364f-11e5-8f24-91cdd1d8e7be.png)\r\n\r\nThe rest of the options in `haskell-indentation` group are set to standard."},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/137718524","html_url":"https://github.com/haskell/haskell-mode/issues/786#issuecomment-137718524","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/786","id":137718524,"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":"2015-09-04T12:09:52Z","updated_at":"2015-09-04T12:09:52Z","body":"That is interesting. Are you using `haskell-indentation` or something else?\nThe latest github version or other version?\n"}}