{"action":"opened","issue":{"url":"https://api.github.com/repos/chachi/cuda-mode/issues/3","labels_url":"https://api.github.com/repos/chachi/cuda-mode/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chachi/cuda-mode/issues/3/comments","events_url":"https://api.github.com/repos/chachi/cuda-mode/issues/3/events","html_url":"https://github.com/chachi/cuda-mode/issues/3","id":90611910,"number":3,"title":"user-error: This buffer cannot use `imenu-default-create-index-function'","user":{"login":"jnareb","id":2706,"avatar_url":"https://avatars.githubusercontent.com/u/2706?v=3","gravatar_id":"","url":"https://api.github.com/users/jnareb","html_url":"https://github.com/jnareb","followers_url":"https://api.github.com/users/jnareb/followers","following_url":"https://api.github.com/users/jnareb/following{/other_user}","gists_url":"https://api.github.com/users/jnareb/gists{/gist_id}","starred_url":"https://api.github.com/users/jnareb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnareb/subscriptions","organizations_url":"https://api.github.com/users/jnareb/orgs","repos_url":"https://api.github.com/users/jnareb/repos","events_url":"https://api.github.com/users/jnareb/events{/privacy}","received_events_url":"https://api.github.com/users/jnareb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T08:40:40Z","updated_at":"2015-06-24T08:40:40Z","closed_at":null,"body":"When trying to run `M-x imenu` with cuda-mode, I get the following error:\r\n\r\n    This buffer cannot use `imenu-default-create-index-function'\r\n\r\nThis means that I cannot use `which-function-mode`, and that going to the definition of function with `M-x imenu` over the use of function doesn't work either. What is strange is that it *does* work in the **c-mode**\r\n\r\ncuda-mode version: 20150416.900 (elpa/melpa)\r\nGNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-05-16 on KAEL\r\n"}}