{"action":"created","issue":{"url":"https://api.github.com/repos/kyleam/snakemake-mode/issues/14","repository_url":"https://api.github.com/repos/kyleam/snakemake-mode","labels_url":"https://api.github.com/repos/kyleam/snakemake-mode/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/kyleam/snakemake-mode/issues/14/comments","events_url":"https://api.github.com/repos/kyleam/snakemake-mode/issues/14/events","html_url":"https://github.com/kyleam/snakemake-mode/issues/14","id":150148618,"number":14,"title":"hs-special-modes-alist not working","user":{"login":"endrebak","id":17778898,"avatar_url":"https://avatars.githubusercontent.com/u/17778898?v=3","gravatar_id":"","url":"https://api.github.com/users/endrebak","html_url":"https://github.com/endrebak","followers_url":"https://api.github.com/users/endrebak/followers","following_url":"https://api.github.com/users/endrebak/following{/other_user}","gists_url":"https://api.github.com/users/endrebak/gists{/gist_id}","starred_url":"https://api.github.com/users/endrebak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endrebak/subscriptions","organizations_url":"https://api.github.com/users/endrebak/orgs","repos_url":"https://api.github.com/users/endrebak/repos","events_url":"https://api.github.com/users/endrebak/events{/privacy}","received_events_url":"https://api.github.com/users/endrebak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-21T18:08:33Z","updated_at":"2016-05-11T05:49:37Z","closed_at":null,"body":"I have the following snippet for `hs-special-modes-alist`, but it does not work:\r\n\r\n```\f\r\n;;; HideShow\r\n\r\n(add-to-list 'hs-special-modes-alist '(snakemake-mode \"^rule .*\\\\>\" nil \"#\" nil\r\n                                                      nil))\r\n```\r\n\r\nThe regex works if I try it with `re-search` so I am confused about what is wrong."},"comment":{"url":"https://api.github.com/repos/kyleam/snakemake-mode/issues/comments/218367945","html_url":"https://github.com/kyleam/snakemake-mode/issues/14#issuecomment-218367945","issue_url":"https://api.github.com/repos/kyleam/snakemake-mode/issues/14","id":218367945,"user":{"login":"kyleam","id":1297788,"avatar_url":"https://avatars.githubusercontent.com/u/1297788?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleam","html_url":"https://github.com/kyleam","followers_url":"https://api.github.com/users/kyleam/followers","following_url":"https://api.github.com/users/kyleam/following{/other_user}","gists_url":"https://api.github.com/users/kyleam/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleam/subscriptions","organizations_url":"https://api.github.com/users/kyleam/orgs","repos_url":"https://api.github.com/users/kyleam/repos","events_url":"https://api.github.com/users/kyleam/events{/privacy}","received_events_url":"https://api.github.com/users/kyleam/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T05:49:37Z","updated_at":"2016-05-11T05:49:37Z","body":"Commit 2ddaa5a adds `snakemake-end-of-defun`, which I think you should\r\nbe able to use here.\r\n"}}