{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/clojure-mode/issues/315","labels_url":"https://api.github.com/repos/clojure-emacs/clojure-mode/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/clojure-mode/issues/315/comments","events_url":"https://api.github.com/repos/clojure-emacs/clojure-mode/issues/315/events","html_url":"https://github.com/clojure-emacs/clojure-mode/issues/315","id":98618613,"number":315,"title":"Wrong indentation in letfn and defrecord protocol extending forms.","user":{"login":"niwinz","id":843689,"avatar_url":"https://avatars.githubusercontent.com/u/843689?v=3","gravatar_id":"","url":"https://api.github.com/users/niwinz","html_url":"https://github.com/niwinz","followers_url":"https://api.github.com/users/niwinz/followers","following_url":"https://api.github.com/users/niwinz/following{/other_user}","gists_url":"https://api.github.com/users/niwinz/gists{/gist_id}","starred_url":"https://api.github.com/users/niwinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niwinz/subscriptions","organizations_url":"https://api.github.com/users/niwinz/orgs","repos_url":"https://api.github.com/users/niwinz/repos","events_url":"https://api.github.com/users/niwinz/events{/privacy}","received_events_url":"https://api.github.com/users/niwinz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-02T15:57:44Z","updated_at":"2015-08-03T04:20:27Z","closed_at":null,"body":"Hello!\r\n\r\nIn recent versions I found that `letfn` and `defrecord` are wrong indented. Examples:\r\n\r\n```clojure\r\n(letfn [(foooo-baaar [x y]\r\n                     (+ x y)]\r\n  (...))\r\n```\r\n\r\n```clojure\r\n(defrecord A [b]\r\n  Protocol\r\n  (foo []\r\n       (println \"hello\")))\r\n```\r\n\r\nI have done some research, and this start happens at this commit: https://github.com/clojure-emacs/clojure-mode/commit/0bf874e52bb32dce15f721e15c17a5f4758552ec\r\n\r\nIf I download and install just the previous commit (https://github.com/clojure-emacs/clojure-mode/commit/fa8dd01bfc82e8851a3ae687463fc988320528fc) everything just return to work as expected.\r\n\r\nContext:\r\nGNU Emacs 24.5.1\r\nOS: Archlinux\r\n\r\nThanks for your work in this package!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/clojure-mode/issues/comments/127118664","html_url":"https://github.com/clojure-emacs/clojure-mode/issues/315#issuecomment-127118664","issue_url":"https://api.github.com/repos/clojure-emacs/clojure-mode/issues/315","id":127118664,"user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T04:20:27Z","updated_at":"2015-08-03T04:20:27Z","body":"@Malabarba @expez Does something seem problematic to you in the supposedly equivalent code I wrote?"}}