{"action":"created","issue":{"url":"https://api.github.com/repos/racer-rust/emacs-racer/issues/27","repository_url":"https://api.github.com/repos/racer-rust/emacs-racer","labels_url":"https://api.github.com/repos/racer-rust/emacs-racer/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/racer-rust/emacs-racer/issues/27/comments","events_url":"https://api.github.com/repos/racer-rust/emacs-racer/issues/27/events","html_url":"https://github.com/racer-rust/emacs-racer/issues/27","id":160602641,"number":27,"title":"Completion doesn't work","user":{"login":"nlamirault","id":29233,"avatar_url":"https://avatars.githubusercontent.com/u/29233?v=3","gravatar_id":"","url":"https://api.github.com/users/nlamirault","html_url":"https://github.com/nlamirault","followers_url":"https://api.github.com/users/nlamirault/followers","following_url":"https://api.github.com/users/nlamirault/following{/other_user}","gists_url":"https://api.github.com/users/nlamirault/gists{/gist_id}","starred_url":"https://api.github.com/users/nlamirault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlamirault/subscriptions","organizations_url":"https://api.github.com/users/nlamirault/orgs","repos_url":"https://api.github.com/users/nlamirault/repos","events_url":"https://api.github.com/users/nlamirault/events{/privacy}","received_events_url":"https://api.github.com/users/nlamirault/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-16T08:13:48Z","updated_at":"2016-08-14T08:45:47Z","closed_at":null,"body":"Hi\r\ni try to configure Emacs for rust : \r\n\r\n```elisp\r\n\r\n(use-package rust-mode\r\n    :mode ((\"\\\\.rs\\\\'\" . rust-mode))\r\n    :config (setq tab-width 4))\r\n\r\n  (use-package racer\r\n    :init (progn\r\n            (setq racer-rust-src-path (getenv \"RUST_SRC_PATH\"))\r\n            (setq racer-cmd (executable-find \"racer\")))\r\n    :config (progn\r\n              (add-hook 'rust-mode-hook #'racer-mode)\r\n              (add-hook 'rust-mode-hook #'company-mode)\r\n              (add-hook 'racer-mode-hook #'eldoc-mode)\r\n              (add-hook 'rust-mode-hook\r\n                        '(lambda ()\r\n                           (local-set-key (kbd \"M-.\") #'racer-find-definition)\r\n                           (local-set-key (kbd \"TAB\") #'company-indent-or-complete-common)))))\r\n```\r\n\r\nI press <kbd>TAB</kbd> after **use std::io::B**, i've got into minubuffer: No completion found\r\n\r\nVariable **racer-rust-src-path** is correctly set.\r\ni try the shell command, it works :\r\n\r\n```bash\r\nM-x shell-command RET racer complete std::io::B\r\nMATCH BufReader,48,11,/home/nlamirault/Apps/rust/src/libstd/io/buffered.rs,Struct,pub struct BufReader<R>\r\nMATCH BufWriter,300,11,/home/nlamirault/Apps/rust/src/libstd/io/buffered.rs,Struct,pub struct BufWriter<W: Write>\r\nMATCH BufRead,1200,10,/home/nlamirault/Apps/rust/src/libstd/io/mod.rs,Trait,pub trait BufRead: Read\r\nMATCH Bytes,1528,11,/home/nlamirault/Apps/rust/src/libstd/io/mod.rs,Struct,pub struct Bytes<R>\r\n```\r\n\r\nAny idea why it doesn't work ?"},"comment":{"url":"https://api.github.com/repos/racer-rust/emacs-racer/issues/comments/239662732","html_url":"https://github.com/racer-rust/emacs-racer/issues/27#issuecomment-239662732","issue_url":"https://api.github.com/repos/racer-rust/emacs-racer/issues/27","id":239662732,"user":{"login":"wmealing","id":8638,"avatar_url":"https://avatars.githubusercontent.com/u/8638?v=3","gravatar_id":"","url":"https://api.github.com/users/wmealing","html_url":"https://github.com/wmealing","followers_url":"https://api.github.com/users/wmealing/followers","following_url":"https://api.github.com/users/wmealing/following{/other_user}","gists_url":"https://api.github.com/users/wmealing/gists{/gist_id}","starred_url":"https://api.github.com/users/wmealing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmealing/subscriptions","organizations_url":"https://api.github.com/users/wmealing/orgs","repos_url":"https://api.github.com/users/wmealing/repos","events_url":"https://api.github.com/users/wmealing/events{/privacy}","received_events_url":"https://api.github.com/users/wmealing/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T08:45:47Z","updated_at":"2016-08-14T08:45:47Z","body":"removed ~/.emacs.d/ restarted emacs, followed instructions as per readme.md and still no completion.."}}
{"actor":{"display_login":"wmealing"}}