This is most likely a problem with a plugin (caching options, using LRU, etc?), but I'm not good enough to really troubleshoot it. My complete dotfiles (not very extensive) can be found here

I use the following related plugins (and maybe others, but I'm not sure):

  • flx-ido
  • smex
  • ido-ubiquitous
  • ido-vertical-mode

What seems to be happening is the following:

  1. I press C-x C-m (globally bound to 'smex)
  2. I type lt which finds load-theme
  3. I choose a theme
  4. Everything works
  5. I press C-x C-m
  6. I type ruby
  7. I see absolutely nothing in the list
  8. I type C-g to get out of it
  9. I type C-x C-m
  10. I type ruby
  11. I see a lot of ruby options

I should see a host of ruby-related things, including for instance ruby-mode.

  • 2
    Is ruby-mode loaded? Can you look it up with C-h f ruby-mode? – Marten Sep 23 '14 at 22:10
  • I use those same packages, without an issue. In addition to CQQLs question, does ruby-mode work when doing straight old M-x? Does it consistently fail to show up using smex? – jeroentbt Sep 23 '14 at 22:48
  • Works for me. Have you tried bisecting your configuration? If the problem persists with just smex loaded, file a bug report. – Dmitry Sep 23 '14 at 23:27
  • I edited the question to make it clear that it does "work". – Trevoke Sep 24 '14 at 12:05
  • 1
    There is an SMex issue that sounds remotely similar to your problem: github.com/nonsequitur/smex/issues/37 – user227 Sep 24 '14 at 12:30

Have you changed the value of smex-auto-update? The default is t.

smex-auto-update is a compiled Lisp function in `smex.el'.
(smex-auto-update &optional IDLE-TIME)
Update Smex when Emacs has been idle for IDLE-TIME.
| improve this answer | |
  • It's still set to t. I haven't changed it. – Trevoke Sep 25 '14 at 2:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.