{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/99","labels_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/99/comments","events_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/99/events","html_url":"https://github.com/clojure-emacs/refactor-nrepl/issues/99","id":94273830,"number":99,"title":"Configurable threading","user":{"login":"Malabarba","id":453029,"avatar_url":"https://avatars.githubusercontent.com/u/453029?v=3","gravatar_id":"","url":"https://api.github.com/users/Malabarba","html_url":"https://github.com/Malabarba","followers_url":"https://api.github.com/users/Malabarba/followers","following_url":"https://api.github.com/users/Malabarba/following{/other_user}","gists_url":"https://api.github.com/users/Malabarba/gists{/gist_id}","starred_url":"https://api.github.com/users/Malabarba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malabarba/subscriptions","organizations_url":"https://api.github.com/users/Malabarba/orgs","repos_url":"https://api.github.com/users/Malabarba/repos","events_url":"https://api.github.com/users/Malabarba/events{/privacy}","received_events_url":"https://api.github.com/users/Malabarba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-10T10:15:05Z","updated_at":"2015-08-18T21:33:46Z","closed_at":"2015-08-18T20:52:06Z","body":"I always end up unwinding once after thread-first or thread-last. It would be nice to be able to specify a minimum depth or length of the first sexp in threading.\r\n\r\nFor instance, the following sexp\r\n\r\n    (remove #(< value 0) (filter :name (map :items return)))\r\n\r\nExpands to this\r\n\r\n    (->> return\r\n         (map :items)\r\n         (filter :name)\r\n         (remove #(< value 0)))\r\n\r\nI'd like a way to say “the first line should be at least 1 level deep”, so it would end up like this:\r\n\r\n    (->> (map :items return)\r\n         (filter :name)\r\n         (remove #(< value 0)))"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/comments/132359558","html_url":"https://github.com/clojure-emacs/refactor-nrepl/issues/99#issuecomment-132359558","issue_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/99","id":132359558,"user":{"login":"Malabarba","id":453029,"avatar_url":"https://avatars.githubusercontent.com/u/453029?v=3","gravatar_id":"","url":"https://api.github.com/users/Malabarba","html_url":"https://github.com/Malabarba","followers_url":"https://api.github.com/users/Malabarba/followers","following_url":"https://api.github.com/users/Malabarba/following{/other_user}","gists_url":"https://api.github.com/users/Malabarba/gists{/gist_id}","starred_url":"https://api.github.com/users/Malabarba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malabarba/subscriptions","organizations_url":"https://api.github.com/users/Malabarba/orgs","repos_url":"https://api.github.com/users/Malabarba/repos","events_url":"https://api.github.com/users/Malabarba/events{/privacy}","received_events_url":"https://api.github.com/users/Malabarba/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T21:33:46Z","updated_at":"2015-08-18T21:33:46Z","body":"Thanks!"}}