{"action":"created","issue":{"url":"https://api.github.com/repos/Bruce-Connor/smart-mode-line/issues/117","labels_url":"https://api.github.com/repos/Bruce-Connor/smart-mode-line/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/Bruce-Connor/smart-mode-line/issues/117/comments","events_url":"https://api.github.com/repos/Bruce-Connor/smart-mode-line/issues/117/events","html_url":"https://github.com/Bruce-Connor/smart-mode-line/issues/117","id":59678385,"number":117,"title":"automatic theme doesn't get set","user":{"login":"manuel-uberti","id":8199224,"avatar_url":"https://avatars.githubusercontent.com/u/8199224?v=3","gravatar_id":"","url":"https://api.github.com/users/manuel-uberti","html_url":"https://github.com/manuel-uberti","followers_url":"https://api.github.com/users/manuel-uberti/followers","following_url":"https://api.github.com/users/manuel-uberti/following{/other_user}","gists_url":"https://api.github.com/users/manuel-uberti/gists{/gist_id}","starred_url":"https://api.github.com/users/manuel-uberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuel-uberti/subscriptions","organizations_url":"https://api.github.com/users/manuel-uberti/orgs","repos_url":"https://api.github.com/users/manuel-uberti/repos","events_url":"https://api.github.com/users/manuel-uberti/events{/privacy}","received_events_url":"https://api.github.com/users/manuel-uberti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-03-03T17:48:59Z","updated_at":"2015-03-07T14:56:31Z","closed_at":null,"body":"I am using latest version of ```smart-mode-line``` (```20150303.633```) on Emacs trunk (commit: ```0c4f73a```)\r\nThis how it is setup in my config:\r\n```\r\n(use-package smart-mode-line\r\n  :ensure t\r\n  :init\r\n  (progn\r\n    ;; Hide some modes\r\n    (require 'rich-minority)\r\n    (setq rm-blacklist\r\n\t  (format \"^ \\\\(%s\\\\)$\"\r\n\t\t  (mapconcat #'identity\r\n\t\t\t     '(\"FlyC.*\"\r\n\t\t\t       \"Projectile.*\"\r\n\t\t\t       \"PgLn\"\r\n\t\t\t       \"company\"\r\n\t\t\t       \"Undo-Tree\"\r\n\t\t\t       \"Wrap\"\r\n\t\t\t       \"hhat\"\r\n                               \"SliNav\"\r\n                               \"hl-s\")\r\n\t\t\t     \"\\\\|\")))\r\n    (sml/setup)\r\n    (sml/apply-theme 'automatic)))\r\n```\r\nEvery time I restart Emacs the theme is set to ```dark```.\r\nIt works fine if I change ```'automatic``` with any other theme. Also, ```automatic``` theme works fine if I use ```(sml/apply-theme)``` interactively."},"comment":{"url":"https://api.github.com/repos/Bruce-Connor/smart-mode-line/issues/comments/77692435","html_url":"https://github.com/Bruce-Connor/smart-mode-line/issues/117#issuecomment-77692435","issue_url":"https://api.github.com/repos/Bruce-Connor/smart-mode-line/issues/117","id":77692435,"user":{"login":"Bruce-Connor","id":453029,"avatar_url":"https://avatars.githubusercontent.com/u/453029?v=3","gravatar_id":"","url":"https://api.github.com/users/Bruce-Connor","html_url":"https://github.com/Bruce-Connor","followers_url":"https://api.github.com/users/Bruce-Connor/followers","following_url":"https://api.github.com/users/Bruce-Connor/following{/other_user}","gists_url":"https://api.github.com/users/Bruce-Connor/gists{/gist_id}","starred_url":"https://api.github.com/users/Bruce-Connor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bruce-Connor/subscriptions","organizations_url":"https://api.github.com/users/Bruce-Connor/orgs","repos_url":"https://api.github.com/users/Bruce-Connor/repos","events_url":"https://api.github.com/users/Bruce-Connor/events{/privacy}","received_events_url":"https://api.github.com/users/Bruce-Connor/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T14:56:30Z","updated_at":"2015-03-07T14:56:30Z","body":"If you still feel like debugging, I can push a new version with debug information. That should tell us why automatic is giving you a dark theme."}}