Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm-M-x error #1114

Closed
srustamo opened this issue Jul 27, 2015 · 8 comments
Closed

helm-M-x error #1114

srustamo opened this issue Jul 27, 2015 · 8 comments

Comments

@srustamo
Copy link

Calling helm-M-x fails. Debugger output below. What's wrong?

GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, Carbon Version 157 AppKit 1265.21) of 2015-05-01 on srmbp.local

Debugger entered--Lisp error: (wrong-type-argument stringp nil) intern(nil) helm-M-x-read-extended-command() byte-code("�\301 D\207" [current-prefix-arg helm-M-x-read-extended-command] 2) #<subr call-interactively>(helm-M-x record nil) ad-Advice-call-interactively(#<subr call-interactively> helm-M-x record nil) apply(ad-Advice-call-interactively #<subr call-interactively> (helm-M-x record nil)) call-interactively(helm-M-x record nil) command-execute(helm-M-x record) execute-extended-command(nil "helm-M-x") #<subr call-interactively>(execute-extended-command nil nil) ad-Advice-call-interactively(#<subr call-interactively> execute-extended-command nil nil) apply(ad-Advice-call-interactively #<subr call-interactively> (execute-extended-command nil nil)) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command)

@thierryvolpiatto
Copy link
Member

srustamo notifications@github.com writes:

Calling helm-M-x fails. Debugger output below. What's wrong?

Please start from ./emacs-helm.sh and see if you can reproduce.

It is not reproductible here (Ubuntu and Windows7).

Looks like something is modified in your emacs, how do you call
`helm-M-x' ?

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

@srustamo
Copy link
Author

I tried to call it both by (global-set-key (kbd "M-x") 'helm-M-x) and interactively, using ido. Also disabled all other completion packages, and just run M-x helm-M-x. All methods produce the above error.

Incidentally, I have this in my config (global-set-key "\C-x\C-m" 'execute-extended-command) , and running this command brings up helm buffer, if (helm-mode 1).

@michael-heerdegen
Copy link
Contributor

Please also start from ./emacs-helm.sh and see if you can reproduce.

@srustamo
Copy link
Author

I installed Helm using package manger. It installed Helm to /Users/s3/.emacs.d/elpa/helm-20150724.256. Inside this dir I run ./emacs-helm.sh and get the following error:
byte-code: Cannot open load file: no such file or directory, helm

@michael-heerdegen
Copy link
Contributor

srustamo notifications@github.com writes:

I installed Helm using package manger. It installed Helm to
/Users/s3/.emacs.d/elpa/helm-20150724.256. Inside this dir I run ./emacs.sh and get
the following error:
byte-code: Cannot open load file: no such file or directory, helm

Indeed! The current Melpa package doesn't include helm.el, but we
require it in helm.sh. Thierry, why is that?

thierryvolpiatto added a commit that referenced this issue Jul 27, 2015
* emacs-helm.sh: Call package-initialize.
@thierryvolpiatto
Copy link
Member

Michael Heerdegen notifications@github.com writes:

srustamo notifications@github.com writes:

I installed Helm using package manger. It installed Helm to
/Users/s3/.emacs.d/elpa/helm-20150724.256. Inside this dir I run ./emacs.sh and get
the following error:
byte-code: Cannot open load file: no such file or directory, helm

Indeed! The current Melpa package doesn't include helm.el, but we
require it in helm.sh. Thierry, why is that?

helm.el is in helm-core now.
I have commited a fix, didn't test though, but should work.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

thierryvolpiatto added a commit that referenced this issue Jul 27, 2015
* helm-command.el (helm-M-x-read-extended-command): Do it, just to be safe.
@srustamo
Copy link
Author

Yeah, helm-M-x works with this minimal helm config. Let me see what could be causing this error in my config.
Please chime-in if you have any ideas.

@srustamo
Copy link
Author

Ah, actually, the latest helm from elpa does not give this error, now that I checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants