{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/1048","repository_url":"https://api.github.com/repos/flycheck/flycheck","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/1048/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/1048/events","html_url":"https://github.com/flycheck/flycheck/issues/1048","id":172340548,"number":1048,"title":"Question","user":{"login":"mambolevis","id":13024208,"avatar_url":"https://avatars.githubusercontent.com/u/13024208?v=3","gravatar_id":"","url":"https://api.github.com/users/mambolevis","html_url":"https://github.com/mambolevis","followers_url":"https://api.github.com/users/mambolevis/followers","following_url":"https://api.github.com/users/mambolevis/following{/other_user}","gists_url":"https://api.github.com/users/mambolevis/gists{/gist_id}","starred_url":"https://api.github.com/users/mambolevis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mambolevis/subscriptions","organizations_url":"https://api.github.com/users/mambolevis/orgs","repos_url":"https://api.github.com/users/mambolevis/repos","events_url":"https://api.github.com/users/mambolevis/events{/privacy}","received_events_url":"https://api.github.com/users/mambolevis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-21T20:47:15Z","updated_at":"2016-08-21T22:16:46Z","closed_at":null,"body":"Hi, \r\n\r\nIn my **init** file I am defining a global constant:\r\n`(defconst lisp-dir (expand-file-name \"user/lisp\" user-emacs-directory))`\r\n\r\nI use that constant in other files `( e.g crossword.el)`, and everything works properly. Nonetheless,\r\nflycheck shows the following message when `(require 'crossword)`\r\n`symbol's value as variable is void: lisp-dir`\r\n\r\nI verify the constant's value using C-h v , and it is not void!\r\n\r\nWhy this message appears and how can I silent it?\r\n\r\nThanks,\r\n\r\nLevis"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/241285787","html_url":"https://github.com/flycheck/flycheck/issues/1048#issuecomment-241285787","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/1048","id":241285787,"user":{"login":"lunaryorn","id":224922,"avatar_url":"https://avatars.githubusercontent.com/u/224922?v=3","gravatar_id":"","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T22:16:46Z","updated_at":"2016-08-21T22:16:46Z","body":"Flycheck does not load your init file when checking files.  You need to move the definition into a common file which you can `require` whenever you use the variable, or you can declare it with `(defvar lisp-dir)` in every file you're using it.\n\nPlease note that it's generally not recommended to use variable names without prefix."}}
{"actor":{"display_login":"lunaryorn"}}