4

I have emacs set up so that when I type M-x the helm completion buffer pops up. My problem is that helm wont let me select M-x align if I have previously called M-x align-current, because it is only letting me select the completion from the Command History List and not the list of all available commands.

Any idea how I can overcome this problem?

4
  • Do you have M-x mapped to helm-M-x? Mar 23 '17 at 2:21
  • Yes, I do have M-x mapped to helm-M-x.
    – Andrew
    Mar 23 '17 at 2:36
  • have you tried (helm-autoresize-mode t) ? This should resize the helm buffer to fit the completions, it may then also show the list of all available commands (not only the command history). Mar 23 '17 at 13:14
  • I can't reproduce.
    – xuchunyang
    Mar 24 '17 at 4:57
6

You can press C-o to switch to the other list (I also found this behaviour unintuitive when I started using Helm). Alternatively, if you want to always be able to move to the Emacs Command list, evaluate the following snippet:

(setq helm-move-to-line-cycle-in-source nil)

Here's a duplicate as a Github issue: https://github.com/emacs-helm/helm/issues/683

And here's a duplicate from SO: https://stackoverflow.com/questions/27645582/emacs-helm-m-x-how-to-jump-to-the-list-of-historical-command

To read the helm M-x documentation you can press C-c ? after invoking helm.

1
  • 1
    Thank you very much. C-o was exactly what I was looking for. Cheers.
    – Andrew
    Mar 25 '17 at 10:21

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.