On startup, I get this error and cannot use helm to search for files. M-x obviously still works as does C-x but if I use any commands related to helm, I get this error;
Failed to load deferred package helm-mode: (error Key sequence M-SPC h M starts with non-prefix key M-SPC)
Click to expand
```- OS: gnu/linux (x86_64-pc-linux-gnu)
elisp
elc count: 0
uname -a: Linux nordvind 4.19.12-2-MANJARO #1 SMP PREEMPT Sun Dec 23 19:08:00 UTC 2018 x86_64 GNU/Linux
modules: (:feature eval (evil +everywhere) file-templates (lookup +docsets) snippets spellcheck syntax-checker workspaces :completion company helm :ui doom doom-dashboard doom-modeline doom-quit evil-goggles hl-todo nav-flash treemacs (popup +all +defaults) vc-gutter vi-tilde-fringe window-select :editor multiple-cursors rotate-text :emacs dired ediff electric hideshow imenu vc :lang data emacs-lisp markdown (org +attach +babel +capture +export +present) (sh +fish) :config default)
packages: n/a
exec-path: (/usr/local/bin /usr/local/sbin /usr/bin /opt/android-sdk/tools /opt/android-sdk/tools/bin /opt/flutter/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /usr/lib/emacs/26.1/x86_64-pc-linux-gnu)
Hi. Got biten by the same issue. A quick investigation and googling shows it happens due to the introduction of general.el.
I'm not a Elisp pro nor did I take time to read in-depth about general.el. A quick workaround is to edit your ~/.doom.d/init.el and remove the +bindings part from the default module, as in:
(default +bindings +smartparens)
Another dirtier workaround is to go to ~/.emacs.d/core/core-keybinds.el and alter doom-leader-alt-key and doom-localleader-alt-key to something that do not use M-SPC, e.g. M-s-SPC.
Anyway,
Let's patiently wait for a fix from @hlissner
I can replicate this with a fresh install from develop.
If ivy is an option for you, replacing helm with it seems to avoid the problem altogether for now.
Simply, change the relevant part in your ~/.doom.d/init.el accordingly:
;;; init.el
(doom!
...
:completion
;;helm
ivy
...)
I found that this problem occurs starting from commit 5ad0b749. Hope this information can help.
I have the same problem and have not solved it. It is really annoying.
Sorry about this! As of d337e25, this issue should be resolved. Please update and let me know!
And Merry Christmas!
I'm still having the issue with 94b4cd3ddbbc, but everything works fine with c0c84eb99b3b5360
thanks for your hard work and Merry Christmas!
Happy to help! I was just about to say: I discovered the real issue behind those M-SPC errors and fixed them in c0c84eb. Glad to know it worked!
@hlissner Merry Christmas!
@hlissner Merry Christmas! It seems everything works fine with c0c84eb9.
The problem was solved after the update, thanks for your hard work.
and Merry Christmas! @hlissner
Most helpful comment
Sorry about this! As of d337e25, this issue should be resolved. Please update and let me know!
And Merry Christmas!