{"action":"created","issue":{"url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/issues/84","labels_url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/issues/84/comments","events_url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/issues/84/events","html_url":"https://github.com/DarwinAwardWinner/ido-ubiquitous/issues/84","id":89396897,"number":84,"title":"References and assignments to free variables","user":{"login":"mrkkrp","id":8165792,"avatar_url":"https://avatars.githubusercontent.com/u/8165792?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkkrp","html_url":"https://github.com/mrkkrp","followers_url":"https://api.github.com/users/mrkkrp/followers","following_url":"https://api.github.com/users/mrkkrp/following{/other_user}","gists_url":"https://api.github.com/users/mrkkrp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkkrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkkrp/subscriptions","organizations_url":"https://api.github.com/users/mrkkrp/orgs","repos_url":"https://api.github.com/users/mrkkrp/repos","events_url":"https://api.github.com/users/mrkkrp/events{/privacy}","received_events_url":"https://api.github.com/users/mrkkrp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/labels/warning","name":"warning","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-18T21:00:48Z","updated_at":"2015-06-19T14:10:49Z","closed_at":"2015-06-19T08:27:31Z","body":"I don't know if it's some changes in Emacs trunk or in `ido-ubiquitous` itself, but now anytime I start Emacs I'm presented with contents `*Compile-Log*` buffer. Here it is:\r\n\r\n```\r\nWarning (bytecomp): reference to free variable `ido-cr+-enable-next-call'\r\nWarning (bytecomp): reference to free variable `ido-cr+-replace-completely'\r\nWarning (bytecomp): assignment to free variable `ido-context-switch-command' [2 times]\r\nWarning (bytecomp): reference to free variable `ido-ubiquitous-debug-mode' [12 times]\r\nWarning (bytecomp): assignment to free variable `ido-context-switch-command' [2 times]\r\n```\r\n\r\nI have to switch to the log buffer and *manually hide it every time*. Can you `defvar` these variables or something?\r\n\r\nI've seen [this issue](https://github.com/DarwinAwardWinner/ido-ubiquitous/issues/68), but collection of variables and the messages are a bit different, so I decided to open separate issue.\r\n\r\nP.S. `ido-ubiquitous` is installed from MELPA, Emacs 25.0.50.12 is built from repo."},"comment":{"url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/issues/comments/113526549","html_url":"https://github.com/DarwinAwardWinner/ido-ubiquitous/issues/84#issuecomment-113526549","issue_url":"https://api.github.com/repos/DarwinAwardWinner/ido-ubiquitous/issues/84","id":113526549,"user":{"login":"mrkkrp","id":8165792,"avatar_url":"https://avatars.githubusercontent.com/u/8165792?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkkrp","html_url":"https://github.com/mrkkrp","followers_url":"https://api.github.com/users/mrkkrp/followers","following_url":"https://api.github.com/users/mrkkrp/following{/other_user}","gists_url":"https://api.github.com/users/mrkkrp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkkrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkkrp/subscriptions","organizations_url":"https://api.github.com/users/mrkkrp/orgs","repos_url":"https://api.github.com/users/mrkkrp/repos","events_url":"https://api.github.com/users/mrkkrp/events{/privacy}","received_events_url":"https://api.github.com/users/mrkkrp/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T14:10:48Z","updated_at":"2015-06-19T14:10:48Z","body":"This should be reopened, perhaps, but I don't see \"Comment and reopen\" button this time. Interestingly, if I put this before package initialization:\r\n\r\n```\r\n(defvar ido-context-switch-command)\r\n```\r\n\r\nThe warning is still there. If I add some value:\r\n\r\n```\r\n(defvar ido-context-switch-command nil)\r\n```\r\n\r\nThe message is gone. I don't know if it's safe to autoload the second version of `defvar`. My guess is that `defvar`ed variables without value cannot (should not) be assigned to.\r\n\r\nThere are possibility to add a hook that will be invoked after initialization and hide `*Compile-Log*` window, but I don't think this is correct solution because this way some important messages will be automatically hidden too. What do you think?"}}