{"action":"opened","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/11333","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/11333/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/11333/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/11333/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/11333","id":360637780,"node_id":"MDU6SXNzdWUzNjA2Mzc3ODA=","number":11333,"title":"In cscope layer functions are defined inside packages.el, they should be inside funcs.el","user":{"login":"gatto73","id":22878089,"node_id":"MDQ6VXNlcjIyODc4MDg5","avatar_url":"https://avatars2.githubusercontent.com/u/22878089?v=4","gravatar_id":"","url":"https://api.github.com/users/gatto73","html_url":"https://github.com/gatto73","followers_url":"https://api.github.com/users/gatto73/followers","following_url":"https://api.github.com/users/gatto73/following{/other_user}","gists_url":"https://api.github.com/users/gatto73/gists{/gist_id}","starred_url":"https://api.github.com/users/gatto73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatto73/subscriptions","organizations_url":"https://api.github.com/users/gatto73/orgs","repos_url":"https://api.github.com/users/gatto73/repos","events_url":"https://api.github.com/users/gatto73/events{/privacy}","received_events_url":"https://api.github.com/users/gatto73/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-16T13:05:56Z","updated_at":"2018-09-16T13:05:56Z","closed_at":null,"author_association":"NONE","body":"#### Description :octocat:\r\n\r\nIn cscope layer the functions `cscope//safe-project-root` and\r\n`cscope/run-pycscope` are defined inside `cscope/init-xscope` in packages.el,\r\nnot inside  funcs.el. The problem that I find is that if I run `find-function`\r\nwith one of the two functions as argument, Spacemacs opens the file\r\n`~/.emacs.d/init.el` instead of the file packages.el where the functions are\r\ndefined.\r\n\r\nI tried to move thet two functions in funcs.el and everything seems working\r\ncorrectly.\r\n\r\n\r\n#### Reproduction guide :beetle:\r\n- Start Emacs\r\n- Open a .py file\r\n- Run `find-function` (`SPC j f`) with argument `cscope/run-pycscope`\r\n\r\n*Observed behaviour:* :eyes: :broken_heart:\r\nSpacemacs open the file `~/.emacs.d/init.el` with point at line 1.\r\n \r\n\r\n*Expected behaviour:* :heart: :smile:\r\nSpacemacs shoud open the file packages.el where the fuction is defined with the\r\npoint at the function definition.\r\n\r\n\r\n\r\n#### System Info :computer:\r\n- OS: gnu/linux\r\n- Emacs: 26.1\r\n- Spacemacs: 0.300.0\r\n- Spacemacs branch: develop (rev. 9865e7731)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n(syntax-checking org helm neotree emacs-lisp auto-completion markdown html csv\r\n                 (c-c++ :variables c-c++-default-mode-for-headers 'c++-mode)\r\n                 (spell-checking :variables spell-checking-enable-by-default nil enable-flyspell-auto-completion nil spell-checking-enable-auto-dictionary nil)\r\n                 (shell :variables shell-default-shell 'shell shell-default-height 30 shell-default-position 'bottom)\r\n                 python racket scheme cscope trac robotframework)\r\n```\r\n- System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LCMS2\r\n\r\n\r\n"}}
{"actor":{"display_login":"gatto73"}}