{"action":"opened","issue":{"url":"https://api.github.com/repos/LightTable/Clojure/issues/67","labels_url":"https://api.github.com/repos/LightTable/Clojure/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/LightTable/Clojure/issues/67/comments","events_url":"https://api.github.com/repos/LightTable/Clojure/issues/67/events","html_url":"https://github.com/LightTable/Clojure/issues/67","id":125520334,"number":67,"title":"Indentation changes for Clojure mode","user":{"login":"cldwalker","id":11994,"avatar_url":"https://avatars.githubusercontent.com/u/11994?v=3","gravatar_id":"","url":"https://api.github.com/users/cldwalker","html_url":"https://github.com/cldwalker","followers_url":"https://api.github.com/users/cldwalker/followers","following_url":"https://api.github.com/users/cldwalker/following{/other_user}","gists_url":"https://api.github.com/users/cldwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/cldwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cldwalker/subscriptions","organizations_url":"https://api.github.com/users/cldwalker/orgs","repos_url":"https://api.github.com/users/cldwalker/repos","events_url":"https://api.github.com/users/cldwalker/events{/privacy}","received_events_url":"https://api.github.com/users/cldwalker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-08T01:08:09Z","updated_at":"2016-01-08T01:08:09Z","closed_at":null,"body":"From https://github.com/LightTable/LightTable/issues/1782:\r\n\r\nI've noticed that Clojure code gets indented in LT the same way it's indented (or was) by Emacs's clojure-mode. Unfortunately some of the indentation stuff you copied were actually bugs in clojure-mode (that were recently fixed in version 4.0) - like the indentation of `cond` (which should use 2 spaces) and threading forms, which should be indented like:\r\n\r\n```\r\n(-> a\r\n  b\r\n  c)\r\n```\r\n\r\ninstead of:\r\n\r\n```\r\n(-> a\r\n    b\r\n    c)\r\n```"}}