{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/1457","repository_url":"https://api.github.com/repos/flycheck/flycheck","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/1457/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/1457/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/1457/events","html_url":"https://github.com/flycheck/flycheck/issues/1457","id":320553934,"number":1457,"title":"Variable binding depth exceeds max-specpdl-size","user":{"login":"EndlessDex","id":17400677,"avatar_url":"https://avatars0.githubusercontent.com/u/17400677?v=4","gravatar_id":"","url":"https://api.github.com/users/EndlessDex","html_url":"https://github.com/EndlessDex","followers_url":"https://api.github.com/users/EndlessDex/followers","following_url":"https://api.github.com/users/EndlessDex/following{/other_user}","gists_url":"https://api.github.com/users/EndlessDex/gists{/gist_id}","starred_url":"https://api.github.com/users/EndlessDex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndlessDex/subscriptions","organizations_url":"https://api.github.com/users/EndlessDex/orgs","repos_url":"https://api.github.com/users/EndlessDex/repos","events_url":"https://api.github.com/users/EndlessDex/events{/privacy}","received_events_url":"https://api.github.com/users/EndlessDex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-06T01:19:47Z","updated_at":"2018-05-06T04:31:19Z","closed_at":null,"author_association":"NONE","body":"I'm attempting to set up `Flycheck version: 32snapshot (package: 20180422.2106)` in `GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)` on `Ubuntu 18.04 LTS`.\r\n\r\nWhenever I run flycheck I get `Error while checking syntax automatically: (error \"Variable binding depth exceeds max-specpdl-size\")`. I removed everything else from my config. Now it is just:\r\n\r\n```\r\n(package-initialize)\r\n\r\n(require 'use-package)\r\n\r\n(use-package flycheck\r\n  :ensure t\r\n  :init (global-flycheck-mode))\r\n```\r\nRunning `M-x toggle-debug-on-error` and `M-x flycheck-buffer` on a blank buffer yields this backtrace:\r\n```\r\nDebugger entered--Lisp error: (error \"Variable binding depth exceeds max-specpdl-size\")\r\n  signal(error (\"Variable binding depth exceeds max-specpdl-size\"))\r\n  flycheck-buffer()\r\n  funcall-interactively(flycheck-buffer)\r\n  #<subr call-interactively>(flycheck-buffer record nil)\r\n  apply(#<subr call-interactively> flycheck-buffer (record nil))\r\n  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> flycheck-buffer record nil)\r\n  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (flycheck-buffer record nil))\r\n  call-interactively(flycheck-buffer record nil)\r\n  command-execute(flycheck-buffer record)\r\n  execute-extended-command(nil \"flycheck-buffer\" \"flycheck-bu\")\r\n  funcall-interactively(execute-extended-command nil \"flycheck-buffer\" \"flycheck-bu\")\r\n  #<subr call-interactively>(execute-extended-command nil nil)\r\n  apply(#<subr call-interactively> execute-extended-command (nil nil))\r\n  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> execute-extended-command nil nil)\r\n  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (execute-extended-command nil nil))\r\n  call-interactively(execute-extended-command nil nil)\r\n  command-execute(execute-extended-command)\r\n```"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/386853131","html_url":"https://github.com/flycheck/flycheck/issues/1457#issuecomment-386853131","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/1457","id":386853131,"user":{"login":"EndlessDex","id":17400677,"avatar_url":"https://avatars0.githubusercontent.com/u/17400677?v=4","gravatar_id":"","url":"https://api.github.com/users/EndlessDex","html_url":"https://github.com/EndlessDex","followers_url":"https://api.github.com/users/EndlessDex/followers","following_url":"https://api.github.com/users/EndlessDex/following{/other_user}","gists_url":"https://api.github.com/users/EndlessDex/gists{/gist_id}","starred_url":"https://api.github.com/users/EndlessDex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndlessDex/subscriptions","organizations_url":"https://api.github.com/users/EndlessDex/orgs","repos_url":"https://api.github.com/users/EndlessDex/repos","events_url":"https://api.github.com/users/EndlessDex/events{/privacy}","received_events_url":"https://api.github.com/users/EndlessDex/received_events","type":"User","site_admin":false},"created_at":"2018-05-06T04:31:19Z","updated_at":"2018-05-06T04:31:19Z","author_association":"NONE","body":"Command sequence:\r\n```\r\nemacs -Q\r\nM-x package-initialize\r\nM-x global-flycheck-mode\r\nM-x toggle-debug-on-error\r\nM-x flycheck-buffer\r\n---------------------------------------------------\r\nDebugger entered--Lisp error: (error \"Variable binding depth exceeds max-specpdl-size\")\r\n  signal(error (\"Variable binding depth exceeds max-specpdl-size\"))\r\n  flycheck-buffer()\r\n  funcall-interactively(flycheck-buffer)\r\n  #<subr call-interactively>(flycheck-buffer record nil)\r\n  apply(#<subr call-interactively> flycheck-buffer (record nil))\r\n  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> flycheck-buffer record nil)\r\n  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (flycheck-buffer record nil))\r\n  call-interactively(flycheck-buffer record nil)\r\n  command-execute(flycheck-buffer record)\r\n  execute-extended-command(nil \"flycheck-buffer\" \"flycheck-b\")\r\n  funcall-interactively(execute-extended-command nil \"flycheck-buffer\" \"flycheck-b\")\r\n  #<subr call-interactively>(execute-extended-command nil nil)\r\n  apply(#<subr call-interactively> execute-extended-command (nil nil))\r\n  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> execute-extended-command nil nil)\r\n  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (execute-extended-command nil nil))\r\n  call-interactively(execute-extended-command nil nil)\r\n  command-execute(execute-extended-command)\r\n```\r\n\r\nAlso:\r\n```\r\nemacs -Q\r\nM-x package-initialize\r\nM-x toggle-debug-on-error\r\nM-x global-flycheck-mode\r\n--------------------------------------------\r\nDebugger entered--Lisp error: (error \"Variable binding depth exceeds max-specpdl-size\")\r\n  signal(error (\"Variable binding depth exceeds max-specpdl-size\"))\r\n  flycheck-buffer()\r\n  flycheck-buffer-automatically()\r\n  flycheck-perform-deferred-syntax-check()\r\n```\r\n\r\nI don't know why there is an ido statement in the original version. It shouldn't be active. The second command sequence shows the same issue with no middle-man code."}}
{"actor":{"display_login":"EndlessDex"}}