Here are the steps to reproduce this issue: 1. emacs -q 2. [M-x package-initialize] 3. [C-x C-f] to an file.sh 4. [M-x sh-mode] to enable sh-mode. 5. [M-: (require 'imenu)] to load imenu. (I don't explicitly load Imenu in my init files. but some packages load it automatically) 6. [M-x company-mode] to enable company-mode 7. in buffer, type fun, then got error: ``` imenu unavailable: "No items suitable for an index found in this buffer"" with args (candidates function) ``` Here is an discussion on GitHub: https://github.com/company-mode/company-mode/issues/386 [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/