{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/574","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/574/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/574/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/574/events","html_url":"https://github.com/flycheck/flycheck/issues/574","id":55127234,"number":574,"title":"Error while checking syntax automatically: (error \"Lisp nesting exceeds `max-lisp-eval-depth'\")","user":{"login":"IvanMalison","id":1246619,"avatar_url":"https://avatars.githubusercontent.com/u/1246619?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanMalison","html_url":"https://github.com/IvanMalison","followers_url":"https://api.github.com/users/IvanMalison/followers","following_url":"https://api.github.com/users/IvanMalison/following{/other_user}","gists_url":"https://api.github.com/users/IvanMalison/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanMalison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanMalison/subscriptions","organizations_url":"https://api.github.com/users/IvanMalison/orgs","repos_url":"https://api.github.com/users/IvanMalison/repos","events_url":"https://api.github.com/users/IvanMalison/events{/privacy}","received_events_url":"https://api.github.com/users/IvanMalison/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flycheck/flycheck/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/flycheck/flycheck/labels/needs-input","name":"needs-input","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-22T08:36:24Z","updated_at":"2015-01-24T01:26:05Z","closed_at":null,"body":"I get this error whenever i try to use flycheck-mode\r\n\r\nI've tried using a very minimal emacs init file that looks like:\r\n``` elisp\r\n(package-initialize)\r\n(setq server-use-tcp t)\r\n(require 'use-package)\r\n(use-package flycheck\r\n  :ensure t\r\n  :config\r\n  (progn\r\n    (setq flycheck-checkers (delq 'emacs-lisp-checkdoc flycheck-checkers))\r\n    (diminish 'flycheck-mode)\r\n    (global-flycheck-mode)))\r\n```\r\n\r\nand i still get the issue"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/71293614","html_url":"https://github.com/flycheck/flycheck/issues/574#issuecomment-71293614","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/574","id":71293614,"user":{"login":"IvanMalison","id":1246619,"avatar_url":"https://avatars.githubusercontent.com/u/1246619?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanMalison","html_url":"https://github.com/IvanMalison","followers_url":"https://api.github.com/users/IvanMalison/followers","following_url":"https://api.github.com/users/IvanMalison/following{/other_user}","gists_url":"https://api.github.com/users/IvanMalison/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanMalison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanMalison/subscriptions","organizations_url":"https://api.github.com/users/IvanMalison/orgs","repos_url":"https://api.github.com/users/IvanMalison/repos","events_url":"https://api.github.com/users/IvanMalison/events{/privacy}","received_events_url":"https://api.github.com/users/IvanMalison/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T01:26:05Z","updated_at":"2015-01-24T01:26:05Z","body":"I was able to get rid of this error by changing the name of the predicate variable in \r\n`flycheck-may-use-checker`, but I wonder if this has unintended consequences. flycheck seems to be working for me now though... \r\n``` elisp\r\n(defun flycheck-may-use-checker (checker)\r\n  \"Whether a generic CHECKER may be used.\r\n\r\nReturn non-nil if CHECKER may be used for the current buffer, and\r\nnil otherwise.\"\r\n  (let ((modes (flycheck-checker-modes checker))\r\n        (the-predicate (flycheck-checker-predicate checker)))\r\n    (and (flycheck-valid-checker-p checker)\r\n         (or (not modes) (memq major-mode modes))\r\n         (funcall the-predicate)\r\n         (not (flycheck-disabled-checker-p checker)))))\r\n```\r\n@lunaryorn any idea why this is working/whether this is an okay fix? I would hope that nothing in the predicate functions cares about the value of the variable predicate..."}}