{"action":"created","issue":{"url":"https://api.github.com/repos/ralesi/ranger.el/issues/49","labels_url":"https://api.github.com/repos/ralesi/ranger.el/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/ralesi/ranger.el/issues/49/comments","events_url":"https://api.github.com/repos/ralesi/ranger.el/issues/49/events","html_url":"https://github.com/ralesi/ranger.el/issues/49","id":108581731,"number":49,"title":"Question - Can I replace dired with deer?","user":{"login":"synic","id":30906,"avatar_url":"https://avatars.githubusercontent.com/u/30906?v=3","gravatar_id":"","url":"https://api.github.com/users/synic","html_url":"https://github.com/synic","followers_url":"https://api.github.com/users/synic/followers","following_url":"https://api.github.com/users/synic/following{/other_user}","gists_url":"https://api.github.com/users/synic/gists{/gist_id}","starred_url":"https://api.github.com/users/synic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synic/subscriptions","organizations_url":"https://api.github.com/users/synic/orgs","repos_url":"https://api.github.com/users/synic/repos","events_url":"https://api.github.com/users/synic/events{/privacy}","received_events_url":"https://api.github.com/users/synic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-28T03:16:09Z","updated_at":"2015-10-04T18:42:27Z","closed_at":null,"body":"I've been trying my hand at emacs lisp, but unfortunately it's not working quite right.  Maybe you can help?  I'm trying to replace dired with deer as the default directory handler.  I've got the following function:\r\n\r\n```elisp\r\n(defun deer-find-file (&optional entry ignore-history)\r\n  \"Find file in deer buffer. `ENTRY` can be used as a path or filename, else\r\nwill use currently selected file in ranger. `IGNORE-HISTORY` will not update\r\nhistory-ring on change.\"\r\n  (interactive)\r\n  (setq ranger-minimal t)\r\n  (ranger-find-file entry ignore-history)\r\n  )\r\n```\r\n\r\nAnd then, in my config, I have this:\r\n\r\n```elisp\r\n  (setq find-directory-functions '(deer-find-file cvs-dired-noselect dired-noselect))\r\n```\r\n\r\nUnfortunately, when I try to open a directory, it says: \r\n\r\n```\r\neval: Lisp nesting exceeds `max-lisp-eval-depth'\r\n```"},"comment":{"url":"https://api.github.com/repos/ralesi/ranger.el/issues/comments/145372250","html_url":"https://github.com/ralesi/ranger.el/issues/49#issuecomment-145372250","issue_url":"https://api.github.com/repos/ralesi/ranger.el/issues/49","id":145372250,"user":{"login":"synic","id":30906,"avatar_url":"https://avatars.githubusercontent.com/u/30906?v=3","gravatar_id":"","url":"https://api.github.com/users/synic","html_url":"https://github.com/synic","followers_url":"https://api.github.com/users/synic/followers","following_url":"https://api.github.com/users/synic/following{/other_user}","gists_url":"https://api.github.com/users/synic/gists{/gist_id}","starred_url":"https://api.github.com/users/synic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synic/subscriptions","organizations_url":"https://api.github.com/users/synic/orgs","repos_url":"https://api.github.com/users/synic/repos","events_url":"https://api.github.com/users/synic/events{/privacy}","received_events_url":"https://api.github.com/users/synic/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T18:42:26Z","updated_at":"2015-10-04T18:42:26Z","body":"Yay, it works!  Thank you thank you. "}}