{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/1108","labels_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1108/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1108/comments","events_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1108/events","html_url":"https://github.com/clojure-emacs/cider/pull/1108","id":81481269,"number":1108,"title":"Set eldoc function when reading from minibuffer","user":{"login":"tsdh","id":103854,"avatar_url":"https://avatars.githubusercontent.com/u/103854?v=3","gravatar_id":"","url":"https://api.github.com/users/tsdh","html_url":"https://github.com/tsdh","followers_url":"https://api.github.com/users/tsdh/followers","following_url":"https://api.github.com/users/tsdh/following{/other_user}","gists_url":"https://api.github.com/users/tsdh/gists{/gist_id}","starred_url":"https://api.github.com/users/tsdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsdh/subscriptions","organizations_url":"https://api.github.com/users/tsdh/orgs","repos_url":"https://api.github.com/users/tsdh/repos","events_url":"https://api.github.com/users/tsdh/events{/privacy}","received_events_url":"https://api.github.com/users/tsdh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T14:55:22Z","updated_at":"2015-05-27T16:19:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1108","html_url":"https://github.com/clojure-emacs/cider/pull/1108","diff_url":"https://github.com/clojure-emacs/cider/pull/1108.diff","patch_url":"https://github.com/clojure-emacs/cider/pull/1108.patch"},"body":"Emacs supports eldoc also in the minibuffer.  For that, one can add eldoc-mode\r\nto eval-expression-minibuffer-setup-hook.  cider-read-from-minibuffer runs the\r\nfunctions in that hook but doesn't set eldoc-documentation-function for the\r\nminibuffer.  Therefore, one gets an eldoc message telling that eldoc isn't\r\nsupported when cider-read-from-minibuffer is called and eldoc-mode is in\r\neval-expression-minibuffer-setup-hook.\r\n\r\nThis patch sets eldoc-documentation-function locally in the minibuffer before\r\ncider-read-from-minibuffer runs the functions in\r\neval-expression-minibuffer-setup-hook.  This fixes issue #1105."},"comment":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/comments/105983164","html_url":"https://github.com/clojure-emacs/cider/pull/1108#issuecomment-105983164","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1108","id":105983164,"user":{"login":"tsdh","id":103854,"avatar_url":"https://avatars.githubusercontent.com/u/103854?v=3","gravatar_id":"","url":"https://api.github.com/users/tsdh","html_url":"https://github.com/tsdh","followers_url":"https://api.github.com/users/tsdh/followers","following_url":"https://api.github.com/users/tsdh/following{/other_user}","gists_url":"https://api.github.com/users/tsdh/gists{/gist_id}","starred_url":"https://api.github.com/users/tsdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsdh/subscriptions","organizations_url":"https://api.github.com/users/tsdh/orgs","repos_url":"https://api.github.com/users/tsdh/repos","events_url":"https://api.github.com/users/tsdh/events{/privacy}","received_events_url":"https://api.github.com/users/tsdh/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T16:19:35Z","updated_at":"2015-05-27T16:19:35Z","body":"Yes, I'll do so later when I come back home."}}