{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3919","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3919/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3919/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3919/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/3919","id":118295092,"number":3919,"title":"Adding to auto-mode-alist in user-config does not work","user":{"login":"joefiorini","id":3648,"avatar_url":"https://avatars.githubusercontent.com/u/3648?v=3","gravatar_id":"","url":"https://api.github.com/users/joefiorini","html_url":"https://github.com/joefiorini","followers_url":"https://api.github.com/users/joefiorini/followers","following_url":"https://api.github.com/users/joefiorini/following{/other_user}","gists_url":"https://api.github.com/users/joefiorini/gists{/gist_id}","starred_url":"https://api.github.com/users/joefiorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefiorini/subscriptions","organizations_url":"https://api.github.com/users/joefiorini/orgs","repos_url":"https://api.github.com/users/joefiorini/repos","events_url":"https://api.github.com/users/joefiorini/events{/privacy}","received_events_url":"https://api.github.com/users/joefiorini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Dotfile","name":"Dotfile","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Loading","name":"Loading","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/to%20be%20reproduced","name":"to be reproduced","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-22T22:36:33Z","updated_at":"2015-12-07T14:07:12Z","closed_at":"2015-12-07T14:07:12Z","body":"### Description\r\n\r\nUsing `(add-to-list 'auto-mode-alist '(\"\\\\.blah\\\\'\" . conf-mode))` does not apply conf-mode when opening a file ending in extension `.blah`.\r\n\r\n### Reproduction Steps\r\n\r\nMost recently reproduced on a fresh checkout of master, with a brand new `.spacemacs.d/init.el`. Add:\r\n\r\n```emacs\r\n(add-to-list 'auto-mode-alist '(\"\\\\.blah\\\\'\" . conf-mode))\r\n```\r\n\r\nto the `user-config` section of  `.spacemacs.d/init.el`. I then created a file called `diddy.blah` to a test directory.\r\n\r\n#### Expected behavior\r\n\r\nLooking up `major-mode` in `C-h v` shows the value is `conf-mode`\r\n\r\n#### Actual behavior\r\n\r\nValue of `major-mode` is `Fundamental`.\r\n\r\nNote: I ran into this issue trying to set `.js` files to `react-mode` automatically. In troubleshooting I found this seems to be a more general problem and reproduced using the example above on a fresh installation of `master`. On Gitter.im @TheBB could not reproduce this, so I'm curious if this is something with my machine or an issue with Spacemacs."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/162533100","html_url":"https://github.com/syl20bnr/spacemacs/issues/3919#issuecomment-162533100","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3919","id":162533100,"user":{"login":"joefiorini","id":3648,"avatar_url":"https://avatars.githubusercontent.com/u/3648?v=3","gravatar_id":"","url":"https://api.github.com/users/joefiorini","html_url":"https://github.com/joefiorini","followers_url":"https://api.github.com/users/joefiorini/followers","following_url":"https://api.github.com/users/joefiorini/following{/other_user}","gists_url":"https://api.github.com/users/joefiorini/gists{/gist_id}","starred_url":"https://api.github.com/users/joefiorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefiorini/subscriptions","organizations_url":"https://api.github.com/users/joefiorini/orgs","repos_url":"https://api.github.com/users/joefiorini/repos","events_url":"https://api.github.com/users/joefiorini/events{/privacy}","received_events_url":"https://api.github.com/users/joefiorini/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T14:07:12Z","updated_at":"2015-12-07T14:07:12Z","body":"It seems to be working okay for me now after a couple updates. Closing this issue."}}