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

Symbol’s function definition is void: doom-modeline-set-vcs-modeline #309

Closed
ratsclub opened this issue Oct 17, 2022 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@ratsclub
Copy link

ratsclub commented Oct 17, 2022

I'm currently receiving the error: Symbol’s function definition is void: doom-modeline-set-vcs-modeline when I run SPC g g (magit-status) on any project I have.

nixpkgs: 8ba120420fbdd9bd35b3a5366fa0206d8c99ade3
nix-doom-emacs: b65e204ce9d20b376acc38ec205d08007eccdaef

Other users seem to be facing the same error: #88 (comment)

@ratsclub ratsclub added the bug Something isn't working label Oct 17, 2022
@Kha
Copy link

Kha commented Oct 23, 2022

I think this is a version mismatch between doom-modeline as pinned by doom-emacs and emacs-overlay: the function was removed in seagle0128/doom-modeline@b596440. A simple workaround is to copy that function into e.g. your config.el.

@thiagokokada
Copy link

We should probably pin the correct version of doom-modeline then.

I am trying to get NDE to build with a newer version of doom-emacs, but I hit a few issues that I need to investigate later. See #316.

@hab25
Copy link

hab25 commented Oct 25, 2022

I think this is a version mismatch between doom-modeline as pinned by doom-emacs and emacs-overlay: the function was removed in seagle0128/doom-modeline@b596440. A simple workaround is to copy that function into e.g. your config.el.

If this is indeed the problem, solving it would additionally fix this other issue:

Symbol’s function definition is void: doom-modeline-set-project-modeline,

which happens on emacs initialization, if init.el has:

:ui
doom-dashboard
modeline ;; note the absence of `+light` flag

It happens even in the "most stable" config: no nix-doom-emacs inputs are overridden nor using emacs overlay nor overriding emacsBasePackage.

@thiagokokada
Copy link

With #319 merged this issue should be fixed. Please comment here otherwise and I will reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants