{"action":"created","issue":{"url":"https://api.github.com/repos/purcell/color-theme-sanityinc-solarized/issues/15","labels_url":"https://api.github.com/repos/purcell/color-theme-sanityinc-solarized/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/purcell/color-theme-sanityinc-solarized/issues/15/comments","events_url":"https://api.github.com/repos/purcell/color-theme-sanityinc-solarized/issues/15/events","html_url":"https://github.com/purcell/color-theme-sanityinc-solarized/issues/15","id":53267734,"number":15,"title":"Certain colors are incorrect for ruby syntax highlighting using enh-ruby-mode.","user":{"login":"stantona","id":675284,"avatar_url":"https://avatars.githubusercontent.com/u/675284?v=3","gravatar_id":"","url":"https://api.github.com/users/stantona","html_url":"https://github.com/stantona","followers_url":"https://api.github.com/users/stantona/followers","following_url":"https://api.github.com/users/stantona/following{/other_user}","gists_url":"https://api.github.com/users/stantona/gists{/gist_id}","starred_url":"https://api.github.com/users/stantona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stantona/subscriptions","organizations_url":"https://api.github.com/users/stantona/orgs","repos_url":"https://api.github.com/users/stantona/repos","events_url":"https://api.github.com/users/stantona/events{/privacy}","received_events_url":"https://api.github.com/users/stantona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-02T18:14:24Z","updated_at":"2015-01-04T15:00:57Z","closed_at":null,"body":"Firstly, I'm not sure if the problem relates to enh-ruby-mode or color-theme-sanityinc-solarized.\r\n\r\n**The Issue**\r\nRuby syntax highlighting with enh-ruby-mode seems to mess up the colors when in dark mode.\r\n\r\nCertain characters such as <, :, = are dark enough against the background to be almost unseen (see if you can find the < below). \r\n![2015-01-02--1420222335_328x49_scrot](https://cloud.githubusercontent.com/assets/675284/5598262/ddbad1e2-9267-11e4-9c20-6de1eb257745.png)\r\n\r\n\r\nThis only affects the dark mode, light mode is fine and what I use all the time as a result. Note that once I uninstall enh-ruby-mode the colors appear normal.\r\n\r\nFrom what I've seen, other color schemes seem to appear normal when using enh-ruby-mode."},"comment":{"url":"https://api.github.com/repos/purcell/color-theme-sanityinc-solarized/issues/comments/68635636","html_url":"https://github.com/purcell/color-theme-sanityinc-solarized/issues/15#issuecomment-68635636","issue_url":"https://api.github.com/repos/purcell/color-theme-sanityinc-solarized/issues/15","id":68635636,"user":{"login":"purcell","id":5636,"avatar_url":"https://avatars.githubusercontent.com/u/5636?v=3","gravatar_id":"","url":"https://api.github.com/users/purcell","html_url":"https://github.com/purcell","followers_url":"https://api.github.com/users/purcell/followers","following_url":"https://api.github.com/users/purcell/following{/other_user}","gists_url":"https://api.github.com/users/purcell/gists{/gist_id}","starred_url":"https://api.github.com/users/purcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purcell/subscriptions","organizations_url":"https://api.github.com/users/purcell/orgs","repos_url":"https://api.github.com/users/purcell/repos","events_url":"https://api.github.com/users/purcell/events{/privacy}","received_events_url":"https://api.github.com/users/purcell/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T15:00:57Z","updated_at":"2015-01-04T15:00:57Z","body":"> what do you mean by 'top-level'?\r\n\r\n@stantona It just means at the outermost execution level of the code in the `.el` file, so instead of being executed when a function is called, it's executed when the file is loaded.\r\n\r\nHere, the `message` call is not top-level:\r\n\r\n```\r\n(defun do-something ()\r\n  (message \"Hello\"))\r\n```\r\n\r\nbut here it is at the top-level:\r\n\r\n```\r\n(message \"Hello\")\r\n```\r\n\r\nWRT to the specific case here, rather than calling `defface` inside the `erm-define-faces` function, \"top-level\" would mean placing the `defface` calls at file scope, so that they execute once, when `enh-ruby-mode.el` is loaded."}}